Zenoss Core
cpe:2.3:a:zenoss:zenoss_core:*:*:*:*:*:*:*
- ~3.0
- ~3.2
- ~4.1.70
A command injection vulnerability has been identified in Zenoss Core versions 3.x through 4.1.70-1482. The issue arises in the showDaemonXMLConfig endpoint, where the daemon parameter is passed directly to a Popen() call in the ZenossInfo.py file without proper input validation. This flaw allows authenticated users to execute arbitrary commands on the server as the zenoss user.
Exploitation of this vulnerability allows for arbitrary command execution on the server, under the context of the 'zenoss' user.
To reproduce this vulnerability, an authenticated user can send a POST request to the /zport/About/showDaemonXMLConfig endpoint. The request must include the daemon parameter, which can be crafted to execute commands on the server. For example, including 'uname -a&' as the daemon parameter will execute the 'uname -a' command and return the output.
Users are advised to update to Zenoss version 4.1.70-1485, where this vulnerability has been patched.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.