Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
CriticalPublic exploit

OS Command Injection in ZoneMinder v1.36.34 web/views/image.php

IdentifiersCVE-2025-65791CWE-78· Improper Neutralization of Special…

ZoneMinder v1.36.34 contains an OS command injection vulnerability in the web interface component at web/views/image.php. The vulnerable code path passes attacker-controlled, unsanitized input directly into PHP’s exec() call without sufficient validation or shell escaping, allowing shell metacharacters (e.g., ;, |, backticks, $(...)) to alter the intended command line and execute arbitrary operating system commands. The issue is remotely reachable over HTTP and is described as exploitable without authentication or user interaction, resulting in command execution in the security context of the web server process (commonly www-data).

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation enables remote execution of arbitrary OS commands on the ZoneMinder host with the privileges of the web application/web server user. This can lead to compromise of confidentiality, integrity, and availability (consistent with CVSS v3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), including data theft, installation of backdoors, modification/destruction of surveillance data, and potential full host takeover if chained with local privilege escalation or if the service runs with elevated privileges.

Mitigation

If you can’t patch tonight, do this now.

Restrict network access to the ZoneMinder web interface to trusted IPs/management networks; deploy WAF rules to detect/block command-injection patterns; monitor and audit web access logs for requests to /web/views/image.php containing shell metacharacters; isolate the ZoneMinder server from sensitive segments; run the service with minimal privileges and consider containerization/sandboxing to reduce blast radius; where feasible, disable dangerous PHP functions (e.g., exec(), shell_exec(), system()) if not required by the deployment.

Remediation

Patch, then assume compromise.

No official vendor patch information is available in the provided content/CVE data. Remediation would require updating to a vendor-fixed release once available and/or applying a code-level fix in web/views/image.php to avoid invoking a shell with attacker-controlled input (e.g., remove exec() usage for this path, strictly validate/whitelist inputs, and ensure proper escaping/parameterization where command execution is unavoidable).
PUBLIC EXPLOITS

Exploits

No valid public exploits. Mallory filtered out 1 candidate as fakes, detection scripts, or README-only repos.

VALID 0 / 1 TOTALView more in app

All candidate exploits were filtered out by Mallory's validation.

EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
ZoneminderZoneminderapplication

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity3

Community discussion across Reddit, Mastodon, and other social sources.