Command Injection in SolarView Compact network_test.php
CVE-2022-40881 is a command injection vulnerability in SolarView Compact version 6.00, specifically in the network_test.php component. The vulnerability arises from improper sanitization of user-supplied input, allowing attackers to inject and execute arbitrary OS commands via the web interface. This flaw enables remote attackers to gain unauthorized control over the device, which is used for photovoltaic power generation monitoring.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows attackers to execute arbitrary commands on the underlying operating system, leading to information theft, data modification, system destruction, or installation of malicious software. The vulnerability has been actively exploited in the wild, with over 18,000 unique attack attempts detected in July 2023, posing a significant risk to industrial control systems.
If you can’t patch tonight, do this now.
If immediate patching is not possible, restrict network access to the device, monitor for suspicious activity, and deploy intrusion prevention signatures such as FortiGuard's 'SolarView.Compact.Command.Injection' to detect and block exploitation attempts.
Patch, then assume compromise.
Upgrade SolarView Compact to version 7.21 or later, where the vendor has addressed the input sanitization flaw. Apply the official patch from Contec immediately to mitigate the risk of exploitation.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.