CVE-2006-7243

Summary

CVECVE-2006-7243
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2011-01-18 20:00:10 UTC
Updated2026-04-29 01:13:23 UTC
DescriptionPHP 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.

Risk And Classification

Primary CVSS: v2.0 5 from [email protected]

AV:N/AC:L/Au:N/C:N/I:P/A:N

Problem Types: CWE-20 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
None
Integrity
Partial
Availability
None

AV:N/AC:L/Au:N/C:N/I:P/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Php Php 1.0 All All All
Application Php Php 2.0 All All All
Application Php Php 2.0b10 All All All
Application Php Php 3.0 All All All
Application Php Php 3.0.1 All All All
Application Php Php 3.0.10 All All All
Application Php Php 3.0.11 All All All
Application Php Php 3.0.12 All All All
Application Php Php 3.0.13 All All All
Application Php Php 3.0.14 All All All
Application Php Php 3.0.15 All All All
Application Php Php 3.0.16 All All All
Application Php Php 3.0.17 All All All
Application Php Php 3.0.18 All All All
Application Php Php 3.0.2 All All All
Application Php Php 3.0.3 All All All
Application Php Php 3.0.4 All All All
Application Php Php 3.0.5 All All All
Application Php Php 3.0.6 All All All
Application Php Php 3.0.7 All All All
Application Php Php 3.0.8 All All All
Application Php Php 3.0.9 All All All
Application Php Php 4.0 All All All
Application Php Php 4.0 beta1 All All
Application Php Php 4.0 beta2 All All
Application Php Php 4.0 beta3 All All
Application Php Php 4.0 beta4 All All
Application Php Php 4.0 beta_4_patch1 All All
Application Php Php 4.0.0 All All All
Application Php Php 4.0.1 All All All
Application Php Php 4.0.2 All All All
Application Php Php 4.0.3 All All All
Application Php Php 4.0.4 All All All
Application Php Php 4.0.5 All All All
Application Php Php 4.0.6 All All All
Application Php Php 4.0.7 All All All
Application Php Php 4.1.0 All All All
Application Php Php 4.1.1 All All All
Application Php Php 4.1.2 All All All
Application Php Php 4.2.0 All All All
Application Php Php 4.2.1 All All All
Application Php Php 4.2.2 All All All
Application Php Php 4.2.3 All All All
Application Php Php 4.3.0 All All All
Application Php Php 4.3.1 All All All
Application Php Php 4.3.10 All All All
Application Php Php 4.3.11 All All All
Application Php Php 4.3.2 All All All
Application Php Php 4.3.3 All All All
Application Php Php 4.3.4 All All All
Application Php Php 4.3.5 All All All
Application Php Php 4.3.6 All All All
Application Php Php 4.3.7 All All All
Application Php Php 4.3.8 All All All
Application Php Php 4.3.9 All All All
Application Php Php 4.4.0 All All All
Application Php Php 4.4.1 All All All
Application Php Php 4.4.2 All All All
Application Php Php 4.4.3 All All All
Application Php Php 4.4.4 All All All
Application Php Php 4.4.5 All All All
Application Php Php 4.4.6 All All All
Application Php Php 4.4.7 All All All
Application Php Php 4.4.8 All All All
Application Php Php 4.4.9 All All All
Application Php Php 5.0.0 All All All
Application Php Php 5.0.0 beta1 All All
Application Php Php 5.0.0 beta2 All All
Application Php Php 5.0.0 beta3 All All
Application Php Php 5.0.0 beta4 All All
Application Php Php 5.0.0 rc1 All All
Application Php Php 5.0.0 rc2 All All
Application Php Php 5.0.0 rc3 All All
Application Php Php 5.0.1 All All All
Application Php Php 5.0.2 All All All
Application Php Php 5.0.3 All All All
Application Php Php 5.0.4 All All All
Application Php Php 5.0.5 All All All
Application Php Php 5.1.0 All All All
Application Php Php 5.1.1 All All All
Application Php Php 5.1.2 All All All
Application Php Php 5.1.3 All All All
Application Php Php 5.1.4 All All All
Application Php Php 5.1.5 All All All
Application Php Php 5.1.6 All All All
Application Php Php 5.2.0 All All All
Application Php Php 5.2.1 All All All
Application Php Php 5.2.10 All All All
Application Php Php 5.2.11 All All All
Application Php Php 5.2.12 All All All
Application Php Php 5.2.13 All All All
Application Php Php 5.2.14 All All All
Application Php Php 5.2.15 All All All
Application Php Php 5.2.16 All All All
Application Php Php 5.2.17 All All All
Application Php Php 5.2.2 All All All
Application Php Php 5.2.3 All All All
Application Php Php 5.2.4 All All All
Application Php Php 5.2.4 All windows All
Application Php Php 5.2.5 All All All
Application Php Php 5.2.6 All All All
Application Php Php 5.2.7 All All All
Application Php Php 5.2.8 All All All
Application Php Php 5.2.9 All All All
Application Php Php 5.3.0 All All All
Application Php Php 5.3.1 All All All
Application Php Php 5.3.2 All All All
Application Php Php All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
[SECURITY] Fedora 20 Update: php-5.5.25-1.fc20 af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
oss-security - Re: NULL byte poisoning fix in php 5.3.4+ af854a3a-2127-422b-91ae-364da2661108 openwall.com Patch
PHP NULL Character Security Bypass Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
APPLE-SA-2011-03-21-1 Mac OS X v10.6.7 and Security Update 2011-001 af854a3a-2127-422b-91ae-364da2661108 lists.apple.com
[SECURITY] Fedora 21 Update: php-5.6.9-1.fc21 af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
MadIrish.net PHP Null Byte Poisoning af854a3a-2127-422b-91ae-364da2661108 www.madirish.net
PHP: News Archive - 2010 af854a3a-2127-422b-91ae-364da2661108 www.php.net
oss-security - Re: Re: NULL byte poisoning fix in php 5.3.4+ af854a3a-2127-422b-91ae-364da2661108 openwall.com Patch
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
PHP: PHP 5 ChangeLog af854a3a-2127-422b-91ae-364da2661108 www.php.net
PHP: Revision 305507 af854a3a-2127-422b-91ae-364da2661108 svn.php.net Patch
PHP: Revision 305412 af854a3a-2127-422b-91ae-364da2661108 svn.php.net Patch
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
PHP: PHP 5.3.4 Release Announcement af854a3a-2127-422b-91ae-364da2661108 www.php.net
About the security content of Mac OS X v10.6.7 and Security Update 2011-001 af854a3a-2127-422b-91ae-364da2661108 support.apple.com
oss-security - Re: Re: NULL byte poisoning fix in php 5.3.4+ af854a3a-2127-422b-91ae-364da2661108 openwall.com Patch
Support / Security / Advisories / / MDVSA-2010:254 | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
oss-security - NULL byte poisoning fix in php 5.3.4+ af854a3a-2127-422b-91ae-364da2661108 openwall.com Patch
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
About Secunia Research | Flexera af854a3a-2127-422b-91ae-364da2661108 secunia.com
PHP :: Request #39863 :: file_exists() silently truncates after a null byte af854a3a-2127-422b-91ae-364da2661108 bugs.php.net Exploit, Patch
'[security bulletin] HPSBUX02741 SSRT100728 rev.1 - HP-UX Apache Running Tomcat Servlet Engine, Remot' - MARC af854a3a-2127-422b-91ae-364da2661108 marc.info
Repository / Oval Repository af854a3a-2127-422b-91ae-364da2661108 oval.cisecurity.org
oss-security - Re: Re: NULL byte poisoning fix in php 5.3.4+ af854a3a-2127-422b-91ae-364da2661108 openwall.com
'[security bulletin] HPSBOV02763 SSRT100826 rev.1 - HP Secure Web Server (SWS) for OpenVMS running PH' - MARC af854a3a-2127-422b-91ae-364da2661108 marc.info
[SECURITY] Fedora 22 Update: php-5.6.9-1.fc22 af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report