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.
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.
Link | Tags |
---|---|
http://www.ubuntu.com/usn/USN-2952-1 | vendor advisory |
http://www.securitytracker.com/id/1035311 | vdb entry |
https://bugs.php.net/bug.php?id=67996 | exploit |
https://github.com/facebook/hhvm/commit/65c95a01541dd2fbc9c978ac53bed235b5376686 | |
http://www.openwall.com/lists/oss-security/2016/03/16/20 | mailing list |
http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00058.html | vendor advisory |
http://rhn.redhat.com/errata/RHSA-2016-2750.html | vendor advisory |
http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00056.html | vendor advisory |
http://www.ubuntu.com/usn/USN-2952-2 | vendor advisory |
http://php.net/ChangeLog-5.php | |
http://www.securityfocus.com/bid/76652 | vdb entry |
http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00057.html | vendor advisory |
https://bugs.php.net/bug.php?id=70350 | exploit |
http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00052.html | vendor advisory |