Information disclosure - CVE-2017-5595
Published: February 6, 2017 / Updated: August 3, 2020
Vulnerability details
The vulnerability allows a local authenticated user to gain access to sensitive information.
A file disclosure and inclusion vulnerability exists in web/views/file.php in ZoneMinder 1.x through v1.30.0 because of unfiltered user-input being passed to readfile(), which allows an authenticated attacker to read local system files (e.g., /etc/passwd) in the context of the web server user (www-data). The attack vector is a .. (dot dot) in the path parameter within a zm/index.php?view=file&path= request.
Affected software
zoneminder (Alpine package)
zoneminder
IBM Tivoli Storage Manager
Fedora
How to mitigate CVE-2017-5595
zoneminder (Alpine package) - update to 1.30.2-r0
zoneminder - addressed in versions 1.28.1-8.fc24, 1.28.1-8.fc25