Description
includes/functions.php in ZoneMinder Video Server 1.24.0, 1.25.0, and earlier allows remote attackers to execute arbitrary commands via shell metacharacters in the (1) runState parameter in the packageControl function; or (2) key or (3) command parameter in the setDeviceStatusX10 function.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | zoneminder | 1.25.0-4 | — |
| Debian 13 | zoneminder | 1.25.0-4 | — |
| Debian 12 | zoneminder | 1.25.0-4 | — |
| Debian 6.0 | zoneminder | 1.24.2-8+squeeze1 | DSA-2640-1 |
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
-
ZoneMinder Video Server packageControl Command Execution
exploit/unix/webapp/zoneminder_packagecontrol_exec
Exploit-DB 1
- ZoneMinder Video Server - packageControl Command Execution (Metasploit) EDB-24310 · remote · Jan 24, 2013 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- DSA-2640-1 zoneminder - several issues Debian Security (DSA / DLA) · Mar 9, 2026
References
- http://itsecuritysolutions.org/2013-01-22-ZoneMinder-Video-Server-arbitrary-command-execution-vulnerability/
- [oss-security] 20130128 Re: CVE Request: zoneminder: arbitrary command execution vulnerability mailing-list
- http://www.zoneminder.com/forums/viewtopic.php?f=29&t=20771
- DSA-2640 vendor-advisory
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=698910
- 24310 exploit
- 89529 vdb-entry