CVE-2006-7243
MEDIUM
5.0
CVSS 2.0
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.
Affected products and versions
- PHP — Up to and including 5.3.3
- PHP versions 1.0, 2.0, 2.0b10, 3.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.0.6, 3.0.7, 3.0.8, 3.0.9, 3.0.10, 3.0.11, 3.0.12, 3.0.13, 3.0.14, 3.0.15, 3.0.16, 3.0.17, 3.0.18, 4.0, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.5, 4.0.6, 4.0.7, 4.0beta1, 4.0beta2, 4.0beta3, 4.0beta4, 4.0beta_4_patch1, 4.1.0, 4.1.1, 4.1.2, 4.2.0, 4.2.1, 4.2.2, 4.2.3, 4.3.0, 4.3.1, 4.3.2, 4.3.3, 4.3.4, 4.3.5, 4.3.6, 4.3.7, 4.3.8, 4.3.9, 4.3.10, 4.3.11, 4.4.0, 4.4.1, 4.4.2, 4.4.3, 4.4.4, 4.4.5, 4.4.6, 4.4.7, 4.4.8, 4.4.9, 5.0.0, 5.0.0beta1, 5.0.0beta2, 5.0.0beta3, 5.0.0beta4, 5.0.0rc1, 5.0.0rc2, 5.0.0rc3, 5.0.1, 5.0.2, 5.0.3, 5.0.4, 5.0.5, 5.1.0, 5.1.1, 5.1.2, 5.1.3, 5.1.4, 5.1.5, 5.1.6, 5.2.0, 5.2.1, 5.2.2, 5.2.3, 5.2.4, 5.2.5, 5.2.6, 5.2.7, 5.2.8, 5.2.9, 5.2.10, 5.2.11, 5.2.12, 5.2.13, 5.2.14, 5.2.15, 5.2.16, 5.2.17, 5.3.0, 5.3.1, 5.3.2
References
- bugs.php.net http://bugs.php.net/39863 Exploit, Patch
- lists.apple.com http://lists.apple.com/archives/security-announce/2011/Mar/msg00006.html
- lists.fedoraproject.org http://lists.fedoraproject.org/pipermail/package-announce/2015-May/158616.html
- lists.fedoraproject.org http://lists.fedoraproject.org/pipermail/package-announce/2015-May/158915.html
- lists.fedoraproject.org http://lists.fedoraproject.org/pipermail/package-announce/2015-May/159031.html
- marc.info http://marc.info/?l=bugtraq&m=132871655717248&w=2
- marc.info http://marc.info/?l=bugtraq&m=133469208622507&w=2
- openwall.com http://openwall.com/lists/oss-security/2010/11/18/4 Patch
- openwall.com http://openwall.com/lists/oss-security/2010/11/18/5 Patch
- openwall.com http://openwall.com/lists/oss-security/2010/12/09/10 Patch
- openwall.com http://openwall.com/lists/oss-security/2010/12/09/11
- openwall.com http://openwall.com/lists/oss-security/2010/12/09/9 Patch
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2013-1307.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2013-1615.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2014-0311.html
- secunia.com http://secunia.com/advisories/55078
- support.apple.com http://support.apple.com/kb/HT4581
- svn.php.net http://svn.php.net/viewvc?view=revision&revision=305412 Patch
- svn.php.net http://svn.php.net/viewvc?view=revision&revision=305507 Patch
- www.madirish.net http://www.madirish.net/?article=436
- www.mandriva.com http://www.mandriva.com/security/advisories?name=MDVSA-2010:254
- www.php.net http://www.php.net/ChangeLog-5.php
- www.php.net http://www.php.net/archive/2010.php#id2010-12-10-1
- www.php.net http://www.php.net/releases/5_3_4.php
- www.securityfocus.com http://www.securityfocus.com/bid/44951
- oval.cisecurity.org https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A12569
- nvd.nist.gov Official NVD record