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.