CVE-2017-1000472 Path traversal in n/a

Medium 6.5 Published Updated

Attackers can exploit a path traversal flaw in POCO C++ Libraries to create or overwrite arbitrary files via crafted ZIP archives, potentially leading to code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2017-1000472?

CVE-2017-1000472 is a medium-severity path traversal vulnerability in Debian Debian Linux, published on 3 Jan 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

The ZipCommon::isValidPath() function in Zip/src/ZipCommon.cpp in POCO C++ Libraries before 1.8 does not properly restrict the filename value in the ZIP header, which allows attackers to conduct absolute path traversal attacks during the ZIP decompression, and possibly create or overwrite arbitrary files, via a crafted ZIP file, related to a "file path injection vulnerability".

Weakness: CWE-22

Which versions are affected by CVE-2017-1000472?

It affects 2 products.

Products include Debian Debian Linux, Pocoproject Poco.

How do I fix CVE-2017-1000472?

Upgrade to a fixed version.

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

Is CVE-2017-1000472 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-1000472, DSA-4083-1, GHSA-46gc-5p3g-hwvg, UBUNTU-CVE-2017-1000472.

Is CVE-2017-1000472 in your software?

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

Check your SBOMs for free