CVE-2024-58386
mediumZoneMinder versions 1.37.0 before 1.38.0 contain a path traversal vulnerability in the files view that allows authenticated users to read arbitrary files.
ZoneMinder versions 1.37.0 before 1.38.0 contain a path traversal vulnerability in the files view that allows authenticated users to read arbitrary files. The path parameter is not properly validated before being passed to output_file, enabling attackers with Events view permission to access sensitive files like configuration files containing database credentials.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/ZoneMinder/zoneminder disclosure@vulncheck.com
- https://github.com/ZoneMinder/zoneminder/blob/1.37.64/web/skins/classic/views/files.php#L2... disclosure@vulncheck.com
- https://github.com/ZoneMinder/zoneminder/commit/071d968bc8ecd5c4f56a87cbe0c3063bc35dbc5d disclosure@vulncheck.com
- https://github.com/ZoneMinder/zoneminder/commit/3b379e99c0c1e539334ad4186c15ad0dc6c238b9 disclosure@vulncheck.com
- https://github.com/ZoneMinder/zoneminder/issues/4472 disclosure@vulncheck.com
- https://github.com/ZoneMinder/zoneminder/releases/tag/1.38.0 disclosure@vulncheck.com
- https://github.com/ZoneMinder/zoneminder/security/advisories/GHSA-8fw2-wh82-vv4h disclosure@vulncheck.com
- https://www.vulncheck.com/advisories/zoneminder-1.37-x-path-traversal-via-files-view disclosure@vulncheck.com
