{"id":"CVE-2024-43361","summary":"ZoneMinder: bypass detaintPath function","details":"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.","aliases":["GHSA-wgqf-6fjf-7gxw"],"modified":"2026-11-17T21:00:07.010335101Z","published":"2026-11-17T19:00:11.465Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/43xxx/CVE-2024-43361.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/43xxx/CVE-2024-43361.json"},{"type":"FIX","url":"https://github.com/ZoneMinder/zoneminder/commit/6c98ed5f12fc8849b4ee30e691866f7c8883d458"},{"type":"FIX","url":"https://github.com/ZoneMinder/zoneminder/commit/c5f24a1d1fb42a047a51ecf71cc39bc3e33f61ba"},{"type":"FIX","url":"https://github.com/ZoneMinder/zoneminder/pull/4991"},{"type":"WEB","url":"https://github.com/ZoneMinder/zoneminder/releases/tag/1.38.4"},{"type":"ADVISORY","url":"https://github.com/ZoneMinder/zoneminder/security/advisories/GHSA-wgqf-6fjf-7gxw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-43361"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/zoneminder/zoneminder","events":[{"introduced":"0"},{"fixed":"b2192aa427fcdeec797d1b4d0605e6d7f2661b12"},{"fixed":"6c98ed5f12fc8849b4ee30e691866f7c8883d458"},{"fixed":"c5f24a1d1fb42a047a51ecf71cc39bc3e33f61ba"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"1.38.4"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"6c98ed5f12fc8849b4ee30e691866f7c8883d458"}]},{"range":[{"fixed":"c5f24a1d1fb42a047a51ecf71cc39bc3e33f61ba"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_TAG","original_tag":"1.38.4","range":[{"fixed":"b2192aa427fcdeec797d1b4d0605e6d7f2661b12"}]}]}}],"versions":["1.38.3","1.38.1","1.38.0","1.36.0","1.34.0","1.32.3","v1.26.3","v1.26.2","v1.26.1","v1.26.0","v1.25"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-43361.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L"}]}