CVE Vulnerabilities


Untrusted Search Path

Published: Feb 25, 2023 | Modified: Mar 07, 2023
CVSS 3.x
CVSS 2.x

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 a Local File Inclusion (Untrusted Search Path) vulnerability via /web/index.php. By controlling $view, any local file ending in .php can be executed. This is supposed to be mitigated by calling detaintPath, however dentaintPath does not properly sandbox the path. This can be exploited by constructing paths like …/./, which get replaced by ../. This issue is patched in versions 1.36.33 and 1.37.33.


The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product’s direct control.

Affected Software

Name Vendor Start Version End Version
Zoneminder Zoneminder * 1.36.33 (excluding)
Zoneminder Zoneminder 1.37.00 (including) 1.37.33 (excluding)
Zoneminder Ubuntu kinetic *
Zoneminder Ubuntu lunar *
Zoneminder Ubuntu trusty *
Zoneminder Ubuntu upstream *
Zoneminder Ubuntu xenial *

Extended Description

This might allow attackers to execute their own programs, access unauthorized data files, or modify configuration in unexpected ways. If the product uses a search path to locate critical resources such as programs, then an attacker could modify that search path to point to a malicious program, which the targeted product would then execute. The problem extends to any type of critical resource that the product trusts. Some of the most common variants of untrusted search path are:

Potential Mitigations