CVE-2023-26036 ZoneMinder contains Local File Inclusion vulnerability

High 8.1 Published Updated

Attackers can execute arbitrary local PHP files via path traversal in ZoneMinder, leading to remote code execution.

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-26036?

CVE-2023-26036 is a high-severity path traversal 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 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.

Weakness: CWE-426

Which versions are affected by CVE-2023-26036?

It affects 1 product.

Products include Zoneminder Zoneminder.

How do I fix CVE-2023-26036?

Apply the vendor's patch.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2023-26036 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-26036 exists.

All Zoneminder Zoneminder vulnerabilities

Sources

Also known as DEBIAN-CVE-2023-26036, GHSA-h5m9-6jjc-cgmw, UBUNTU-CVE-2023-26036.

Is CVE-2023-26036 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free