CVE-2023-26039 ZoneMinder vulnerable to OS Command injection in daemonControl() API
Authenticated users can execute arbitrary shell commands via the daemonControl API in ZoneMinder, allowing full system compromise.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-26039?
CVE-2023-26039 is a high-severity command injection vulnerability in Zoneminder Zoneminder, published on 25 Feb 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
ZoneMinder is a free, open source Closed-circuit television software application for Linux which supports IP, USB and Analog cameras. Versions prior to 1.36.33 and 1.37.33 contain an OS Command Injection via daemonControl() in (/web/api/app/Controller/HostController.php). Any authenticated user can construct an api command to execute any shell command as the web user. This issue is patched in versions 1.36.33 and 1.37.33.
Weakness: CWE-78
Which versions are affected by CVE-2023-26039?
It affects 1 product.
Products include Zoneminder Zoneminder.
How do I fix CVE-2023-26039?
Upgrade to a fixed version.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2023-26039 being exploited?
There is no known exploitation of CVE-2023-26039 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Zoneminder Zoneminder
Sources
Also known as DEBIAN-CVE-2023-26039, GHSA-44q8-h2pw-cc9g, UBUNTU-CVE-2023-26039.