← Back to search

CVE-2026-30971

8.8 HIGHpublic exploit available

Published 2026-10-16 · Updated 2026-10-16

AI risk analysis

Summary
ZoneMinder allows authenticated users with monitor-create or monitor-edit permissions to inject shell metacharacters into the Device field, which are later interpolated into shell commands via Perl qx() or PHP escapeshellcmd bypasses, leading to remote code execution as the web server user.
Exploitability
Exploitation requires valid low-privilege credentials and the ability to create or edit a local monitor with a malicious Device Path containing shell metacharacters; no complex exploitation techniques are needed beyond standard shell injection.
Blast radius
Successful exploitation grants full control of the web server process, enabling data theft, lateral movement, or further compromise of the surveillance infrastructure and connected systems.
Detection
Look for unexpected subprocess spawns of zmdc.pl or perl scripts with Device Path arguments containing shell metacharacters (e.g., semicolons, pipes, backticks) in web server or application logs; also monitor for anomalous process creation events involving the web server user executing shell commands.
Prioritized remediation
Upgrade to ZoneMinder 1.39.2, 1.38.2, or 1.36.40 (or later patch releases) to apply the vendor-provided fix that detaints arguments before shell invocation.
rceshell-injectionwebappsurveillanceics

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

ZoneMinder is a free, open source closed-circuit television software application. Prior to 1.39.2, 1.38.2, and 1.36.40, ZoneMinder interpolates an unvalidated monitor Device field into shell commands in PHP and Perl control paths when an authenticated user with monitor-create or monitor-edit permission saves a Local monitor whose Device Path contains shell metacharacters and the monitor control or startup path runs. In this attack mechanism, the stored Device value reaches Perl qx() and backtick execution before zmdc.pl argument detainting, while separate PHP command paths use bypassable escapeshellcmd defenses. The attacker can execute arbitrary commands as the web server user. This vulnerability is fixed in 1.39.2, 1.38.2, and 1.36.40.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CWE-78

Public exploit & PoC references

References

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.