Solarview Compact Vulnerability Unveiled The Hunt For Cve 2022 29303
The 'send test mail' console on SolarView Compact's web server does not validate input values, allowing an attacker to inject and execute arbitrary commands with the web server's privileges. The text also describes using Shodan and Nuclei to find vulnerable devices.
Published on systemweakness.com
In the world of cybersecurity, surprises are around every corner. Today, we’re diving into the quirky world of SolarView Compact and its unexpected command injection vulnerability, CVE-2022–29303.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the web server passes user-supplied input from the test mail form directly to a system shell without validation or sanitisation.
Impact
An attacker could execute arbitrary commands on the device with the privileges of the web server.
What the attacker needed
Device exposed to the internet; network access to the device
The fix
The text says organisations should patch their systems immediately, but does not describe the fix itself.
How it was found
- Use a Shodan query to find SolarView Compact instances.
- Filter the identified IPs with a Nuclei template to find vulnerable ones.
- Use publicly available exploits to test the vulnerable devices.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
SolarView Compact is a tool for managing solar panels. Its web page for sending a test email did not check what users typed, so someone could type a system command instead of an email address and the server would run it. This is called command injection.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.