CVE-2024-43361

ZoneMinder: bypass detaintPath function

Published Nov 17, 2026 CVSS 3.1 · 6.5 Medium EPSS n/a KEV · Not listed
Description
ZoneMinder is a free, open source closed-circuit television software application. Prior to 1.38.4, detaintPath() in web/includes/functions.php can be bypassed with a PHP stream-wrapper path when sanitizing modal.php input. A remote unauthenticated attacker can submit such a path through the affected input and potentially read unauthorized local files through local file inclusion. This issue is fixed in version 1.38.4.

Analysis

AI-generated

Technical impact

A path sanitization flaw in ZoneMinder’s detaintPath() function can be bypassed using PHP stream wrappers injected through the modal.php input, allowing a remote unauthenticated attacker to read arbitrary local files. This flaw is a classic absolute path traversal issue (CWE‑22), which can lead to disclosure of sensitive configuration or system data, potentially impacting the confidentiality of the installation.

Affected Systems

ZoneMinder versions deployed before 1.38.4 are affected, regardless of the operating environment. The issue exists in the web/includes/functions.php file and is triggered when input is passed to modal.php. Installing any release from 1.38.4 onward removes the vulnerability.

Risk and Exploitability

The CVSS score of 6.5 indicates a moderate severity, and the EPSS score is not available, suggesting no data on exploitation frequency. The flaw is not listed in CISA’s KEV catalog. The vulnerability is exploitable remotely through the web interface without authentication, and the attacker can supply a crafted PHP stream path to read files from the server. Its impact is mainly confidentiality exposure of local files; there is no known impact on integrity or availability.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ZoneMinder to version 1.38.4 or later.
  • If an upgrade is not immediately feasible, configure the web server or PHP to disallow the use of stream wrappers in the media input processing path, for example by setting allow_url_include to Off and validating all path inputs through an allowedlist whitelist.
  • Apply any additional input validation or sanitization measures to the modal.php endpoint, ensuring that all path parameters are strictly bounded to expected directories.

Generated by OpenCVE AI on November 17, 2026 at 20:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description ZoneMinder is a free, open source closed-circuit television software application. Prior to 1.38.4, detaintPath() in web/includes/functions.php can be bypassed with a PHP stream-wrapper path when sanitizing modal.php input. A remote unauthenticated attacker can submit such a path through the affected input and potentially read unauthorized local files through local file inclusion. This issue is fixed in version 1.38.4.
Title ZoneMinder: bypass detaintPath function
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L'}

Subscriptions

No data.

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 17, 2026, 7:31 PM
Reserved
Aug 9, 2024, 2:23 PM
Status
Deferred
Published
Nov 17, 2026, 7:17 PM
Modified
Nov 17, 2026, 8:17 PM