Command Injection in ZoneMinder Video Server functions.php
ZoneMinder Video Server versions 1.24.0, 1.25.0, and earlier are vulnerable to command injection in includes/functions.php. Specifically, the packageControl function's runState parameter and the setDeviceStatusX10 function's key and command parameters do not properly sanitize input, allowing remote attackers to inject and execute arbitrary shell commands on the server.
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 remote attackers to execute arbitrary commands with the privileges of the web server process, potentially leading to full system compromise, data exfiltration, or further lateral movement within the network.
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, restrict access to the vulnerable functions via network controls (e.g., firewall rules), disable affected features, and monitor for suspicious activity. Apply input validation and sanitization as a temporary workaround.
Patch, then assume compromise.
Upgrade ZoneMinder to a version later than 1.25.0 where this vulnerability is patched. Ensure that all user-supplied input is properly sanitized and validated before being passed to system-level commands.
1 exploit validated by Mallory's analysis.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.