Description
Zenoss Core 3.x contains a command injection vulnerability in the showDaemonXMLConfig endpoint. The daemon parameter is passed directly to a Popen() call in ZenossInfo.py without proper sanitation, allowing authenticated users to execute arbitrary commands on the server as the zenoss user.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Zenoss | Zenoss Core | 3.0 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Zenoss 3 showDaemonXMLConfig Command Execution
exploit/linux/http/zenoss_showdaemonxmlconfig_exec
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- https://www.exploit-db.com/exploits/20205 exploit
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/zenoss_showdaemonxmlconfig_exec.rb exploit
- https://www.exploit-db.com/exploits/37571 exploit
- http://web.archive.org/web/20221203180334/https://itsecuritysolutions.org/2012-07-30-zenoss-3.2.1-multiple-security-vulnerabilities/ technical-description exploit
- https://sourceforge.net/projects/zenoss/ product
- https://www.vulncheck.com/advisories/zenoss-command-execution third-party-advisory