CVE-2014-9767
Vulnerability Summary
Timeline
Description
Directory traversal vulnerability in the ZipArchive::extractTo function in ext/zip/php_zip.c in PHP before 5.4.45, 5.5.x before 5.5.29, and 5.6.x before 5.6.13 and ext/zip/ext_zip.cpp in HHVM before 3.12.1 allows remote attackers to create arbitrary empty directories via a crafted ZIP archive.
CVSS Metrics
- v3.0•MEDIUM•Score: 4.3CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
- v2.0•MEDIUM•Score: 4.3AV:N/AC:M/Au:N/C:N/I:P/A:N
EPSS Trends
Current EPSS score: 0.49%• Percentile: 66%
Techniques & Countermeasures
- CWE-22•Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
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.
Affected Systems
- hiphop_virtual_machine_for_php_project•hiphop_virtual_machine_for_php
≤ 3.12
- Unknown•PHP
≤ 5.4.45 | 5.5.0 | 5.5.1 | 5.5.2 | 5.5.3 | 5.5.4 | 5.5.5 | 5.5.6 | 5.5.7 | 5.5.8 | 5.5.9 | 5.5.10 | 5.5.11 | 5.5.12 | 5.5.13 | 5.5.14 | 5.5.18 | 5.5.19 | 5.5.20 | 5.5.21 | 5.5.22 | 5.5.23 | 5.5.24 | 5.5.25 | 5.5.26 | 5.5.27 | 5.5.28 | 5.6.0 | 5.6.1 | 5.6.2 | 5.6.3 | 5.6.4 | 5.6.5 | 5.6.6 | 5.6.7 | 5.6.8 | 5.6.9 | 5.6.10 | 5.6.11 | 5.6.12
References (14)
- http://www.ubuntu.com/usn/USN-2952-1
- http://www.securitytracker.com/id/1035311
- https://bugs.php.net/bug.php?id=67996
- https://github.com/facebook/hhvm/commit/65c95a01541dd2fbc9c978ac53bed235b5376686
- http://www.openwall.com/lists/oss-security/2016/03/16/20
- http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00058.html
- http://rhn.redhat.com/errata/RHSA-2016-2750.html
- http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00056.html
- http://www.ubuntu.com/usn/USN-2952-2
- http://php.net/ChangeLog-5.php
- http://www.securityfocus.com/bid/76652
- http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00057.html
- https://bugs.php.net/bug.php?id=70350
- http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00052.html