PHP before 5.4.41, 5.5.x before 5.5.25, and 5.6.x before 5.6.9 truncates a pathname upon encountering a \x00 character in certain situations, which allows remote attackers to bypass intended extension restrictions and access files or directories with unexpected names via a crafted argument to (1) set_include_path, (2) tempnam, (3) rmdir, or (4) readlink. NOTE: this vulnerability exists because of an incomplete fix for CVE-2006-7243.
CPE | Name | Operator | Version |
---|---|---|---|
mac_os_x | le | 10.10.4 | |
php | eq | 5.5.0 alpha1 | |
php | eq | 5.6.0 alpha5 | |
php | eq | 5.6.5 | |
php | eq | 5.5.0 alpha3 | |
php | eq | 5.5.19 | |
php | eq | 5.5.0 beta3 | |
php | eq | 5.5.0 | |
php | eq | 5.6.0 beta2 | |
php | le | 5.4.40 |
lists.apple.com/archives/security-announce/2015/Aug/msg00001.html
php.net/ChangeLog-5.php
rhn.redhat.com/errata/RHSA-2015-1135.html
rhn.redhat.com/errata/RHSA-2015-1186.html
rhn.redhat.com/errata/RHSA-2015-1187.html
rhn.redhat.com/errata/RHSA-2015-1219.html
www.debian.org/security/2015/dsa-3280
www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
www.securityfocus.com/bid/74904
www.securitytracker.com/id/1032431
bugs.php.net/bug.php?id=69418
lists.fedoraproject.org/pipermail/package-announce/2015-May/158616.html
lists.fedoraproject.org/pipermail/package-announce/2015-May/158915.html
lists.fedoraproject.org/pipermail/package-announce/2015-May/159031.html
security.gentoo.org/glsa/201606-10
support.apple.com/kb/HT205031