Description
PHP before 5.3.4 accepts the \0 character in a pathname, which might allow context-dependent attackers to bypass intended access restrictions by placing a safe file extension after this character, as demonstrated by .php\0.jpg at the end of the argument to the file_exists function.
References (26)
Core 26
Core References
Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/44951
Patch x_refsource_confirm
http://svn.php.net/viewvc?view=revision&revision=305412
Patch mailing-list
x_refsource_mlist
http://openwall.com/lists/oss-security/2010/11/18/5
Mailing List vendor-advisory
x_refsource_hp
http://marc.info/?l=bugtraq&m=133469208622507&w=2
Vendor Advisory x_refsource_confirm
http://www.php.net/ChangeLog-5.php
Vendor Advisory x_refsource_confirm
http://www.php.net/archive/2010.php#id2010-12-10-1
Release Notes x_refsource_confirm
http://www.php.net/releases/5_3_4.php
Mailing List, Third Party Advisory vendor-advisory
x_refsource_fedora
http://lists.fedoraproject.org/pipermail/package-announce/2015-May/158915.html
Mailing List mailing-list
x_refsource_mlist
http://openwall.com/lists/oss-security/2010/12/09/11
Patch x_refsource_confirm
http://svn.php.net/viewvc?view=revision&revision=305507
Various Sources x_refsource_misc
http://www.madirish.net/?article=436
Third Party Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/55078
Patch mailing-list
x_refsource_mlist
http://openwall.com/lists/oss-security/2010/12/09/10
Mailing List vendor-advisory
x_refsource_apple
http://lists.apple.com/archives/security-announce/2011/Mar/msg00006.html
Exploit, Patch x_refsource_confirm
http://bugs.php.net/39863
Patch mailing-list
x_refsource_mlist
http://openwall.com/lists/oss-security/2010/11/18/4
Vendor Advisory vendor-advisory
x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2013-1307.html
Vendor Advisory vendor-advisory
x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDVSA-2010:254
Vendor Advisory vendor-advisory
x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2013-1615.html
Mailing List vendor-advisory
x_refsource_hp
http://marc.info/?l=bugtraq&m=132871655717248&w=2
Third Party Advisory, VDB Entry vdb-entry
signature
x_refsource_oval
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A12569
Patch mailing-list
x_refsource_mlist
http://openwall.com/lists/oss-security/2010/12/09/9
Vendor Advisory vendor-advisory
x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2014-0311.html
Mailing List, Third Party Advisory vendor-advisory
x_refsource_fedora
http://lists.fedoraproject.org/pipermail/package-announce/2015-May/158616.html
Mailing List, Third Party Advisory vendor-advisory
x_refsource_fedora
http://lists.fedoraproject.org/pipermail/package-announce/2015-May/159031.html
Vendor Advisory x_refsource_confirm
http://support.apple.com/kb/HT4581
Scores
EPSS
0.0229
EPSS Percentile
84.9%
Details
CWE
CWE-20
Status
published
Products (45)
php/php
1.0
php/php
2.0
php/php
2.0b10
php/php
3.0
php/php
3.0.1
php/php
3.0.2
php/php
3.0.3
php/php
3.0.4
php/php
3.0.5
php/php
3.0.6
... and 35 more
Published
Jan 18, 2011
Tracked Since
Feb 18, 2026