What’s Vulnerable › Vulnerabilities
CVE-2006-7243
- Severity: medium (CVSS 5.0 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 5.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2011-01-18 · updated 2026-06-16
- Weakness: CWE-20
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
- PHP: through 5.3.3; 1.0, 2.0, 2.0b10, 3.0, 3.0.1, 3.0.2 (+100)
References
- http://bugs.php.net/39863
- http://lists.apple.com/archives/security-announce/2011/Mar/msg00006.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-May/158616.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-May/158915.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-May/159031.html
- http://marc.info/?l=bugtraq&m=132871655717248&w=2
- http://marc.info/?l=bugtraq&m=133469208622507&w=2
- http://openwall.com/lists/oss-security/2010/11/18/4
- http://openwall.com/lists/oss-security/2010/11/18/5
- http://openwall.com/lists/oss-security/2010/12/09/10
- http://openwall.com/lists/oss-security/2010/12/09/11
- http://openwall.com/lists/oss-security/2010/12/09/9
Get alerted when CVE-2006-7243 or the next vulnerability affects your stack