Vulnerability Details : CVE-2017-1000472
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".
Vulnerability category: Directory traversal
Exploit prediction scoring system (EPSS) score for CVE-2017-1000472
Probability of exploitation activity in the next 30 days: 0.28%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 64 % EPSS Score History EPSS FAQ
CVSS scores for CVE-2017-1000472
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source |
---|---|---|---|---|---|
5.8
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:P/A:P |
8.6
|
4.9
|
NIST |
6.5
|
MEDIUM | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
2.8
|
3.6
|
NIST |
CWE ids for CVE-2017-1000472
-
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.Assigned by: nvd@nist.gov (Primary)
References for CVE-2017-1000472
-
https://github.com/pocoproject/poco/issues/1968
Zip Decompress Parent Path Injection · Issue #1968 · pocoproject/poco · GitHubExploit;Issue Tracking;Patch
-
https://lists.debian.org/debian-lts-announce/2018/01/msg00013.html
[SECURITY] [DLA 1239-1] poco security update
-
https://www.debian.org/security/2018/dsa-4083
Debian -- Security Information -- DSA-4083-1 pocoThird Party Advisory
Products affected by CVE-2017-1000472
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:a:pocoproject:poco:*:*:*:*:*:*:*:*