CVE-2017-5595 Path traversal in n/a

Medium 5.5 Published Updated

Authenticated attackers can read arbitrary local files via path traversal in ZoneMinder, exposing sensitive system data.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2017-5595?

CVE-2017-5595 is a medium-severity path traversal vulnerability in Zoneminder Zoneminder, published on 6 Feb 2017. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-200

Which versions are affected by CVE-2017-5595?

It affects 1 product.

Products include Zoneminder Zoneminder.

How do I fix CVE-2017-5595?

Apply the vendor's patch.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2017-5595 being exploited?

There is no known exploitation of CVE-2017-5595 in the wild and no public exploit code.

All Zoneminder Zoneminder vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-5595, DLA-1145-1, GHSA-88gp-83c5-44hg, UBUNTU-CVE-2017-5595.

Is CVE-2017-5595 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free