CVE-2006-7243 json
PHP before 5.3.4 accepts the \0 character in a pathname, which might allow context-dependent attackers to bypass intended access restrictio…
published 2011-01-18 15 y ago modified 2026-06-16 4 mo ago also EUVD-2006-7220
- cvss
- 5.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.4%
- EPSS 5.4% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- php RHEL 5 5.1.6-44.el5_10
- php-gd RHEL 5 5.1.6-44.el5_10
- php-cli RHEL 5 5.1.6-44.el5_10
- php-dba RHEL 5 5.1.6-44.el5_10
- php-pdo RHEL 5 5.1.6-44.el5_10
- php-xml RHEL 5 5.1.6-44.el5_10
- php-imap RHEL 5 5.1.6-44.el5_10
- php-ldap RHEL 5 5.1.6-44.el5_10
red hat advisories RHSA-2014:0311RHSA-2013:1615RHSA-2013:1307
- php53 SLES 11 SP2-LTSS 5.3.17-47.1
suse advisories SUSE-SU-2016:1638-1
- php7 openSUSE Tumbleweed 7.0.14-1.4
- php5 openSUSE Tumbleweed 5.6.28-1.1
- php8 openSUSE Tumbleweed 8.0.11-1.1
opensuse advisories openSUSE-SU-2024:10290-1openSUSE-SU-2024:10344-1openSUSE-SU-2024:11169-1
- svn.php.net/viewvc?view=revision&revision=305412 patch
- openwall.com/lists/oss-security/2010/11/18/5 patch
- svn.php.net/viewvc?view=revision&revision=305507 patch
- openwall.com/lists/oss-security/2010/12/09/10 patch
- bugs.php.net/39863 patch
- openwall.com/lists/oss-security/2010/11/18/4 patch
- openwall.com/lists/oss-security/2010/12/09/9 patch
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2006-7243 updated cvss 4.0
php: paths with NULL character were considered valid
-
Red Hat Enterprise Linux 4 phpaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux (v. 5 server) php53 5.3.3-21.el5, php 5.1.6-44.el5_10, php53-gd 5.3.3-21.el5, php-gd 5.1.6-44.el5_10, php53-cli 5.3.3-21.el5, php53-dba 5.3.3-21.el5, +32 morefixed: vendor fix RHSA-2014:0311
-
Red Hat Enterprise Linux Desktop Optional (v. 6) php 5.3.3-26.el6, php-gd 5.3.3-26.el6, php-cli 5.3.3-26.el6, php-dba 5.3.3-26.el6, php-fpm 5.3.3-26.el6, php-pdo 5.3.3-26.el6, +20 morefixed: vendor fix RHSA-2013:1615
-
Red Hat Enterprise Linux Desktop Workstation (v. 5 client) php53 5.3.3-21.el5, php 5.1.6-44.el5_10, php53-gd 5.3.3-21.el5, php-gd 5.1.6-44.el5_10, php53-cli 5.3.3-21.el5, php53-dba 5.3.3-21.el5, +32 morefixed: vendor fix RHSA-2014:0311
-
Red Hat Enterprise Linux HPC Node (v. 6) php 5.3.3-26.el6, php-cli 5.3.3-26.el6, php-common 5.3.3-26.el6 Red Hat Enterprise Linux HPC Node Optional (v. 6) php 5.3.3-26.el6, php-gd 5.3.3-26.el6, php-dba 5.3.3-26.el6, php-fpm 5.3.3-26.el6, php-pdo 5.3.3-26.el6, php-xml 5.3.3-26.el6, +18 more Red Hat Enterprise Linux Server (v. 6) php 5.3.3-26.el6, php-gd 5.3.3-26.el6, php-cli 5.3.3-26.el6, php-pdo 5.3.3-26.el6, php-xml 5.3.3-26.el6, php-ldap 5.3.3-26.el6, +6 more Red Hat Enterprise Linux Server Optional (v. 6) php 5.3.3-26.el6, php-dba 5.3.3-26.el6, php-fpm 5.3.3-26.el6, php-zts 5.3.3-26.el6, php-imap 5.3.3-26.el6, php-intl 5.3.3-26.el6, +9 more Red Hat Enterprise Linux Workstation (v. 6) php 5.3.3-26.el6, php-gd 5.3.3-26.el6, php-cli 5.3.3-26.el6, php-pdo 5.3.3-26.el6, php-xml 5.3.3-26.el6, php-ldap 5.3.3-26.el6, +6 more Red Hat Enterprise Linux Workstation Optional (v. 6) php 5.3.3-26.el6, php-dba 5.3.3-26.el6, php-fpm 5.3.3-26.el6, php-zts 5.3.3-26.el6, php-imap 5.3.3-26.el6, php-intl 5.3.3-26.el6, +9 morefixed: vendor fix RHSA-2013:1615
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
5.36% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- bugs.php.net http://bugs.php.net/39863 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
- Technology feeds
References
-
svn.php.net
/viewvc?view=revision&revision=305412
patch
-
openwall.com
/lists/oss-security/2010/11/18/5
mailing-list, patch
-
svn.php.net
/viewvc?view=revision&revision=305507
patch
-
openwall.com
/lists/oss-security/2010/12/09/10
mailing-list, patch
-
bugs.php.net
/39863
exploit, patch
-
openwall.com
/lists/oss-security/2010/11/18/4
mailing-list, patch
-
openwall.com
/lists/oss-security/2010/12/09/9
mailing-list, patch
-
marc.info
/?l=bugtraq&m=133469208622507&w=2
vendor-advisory
-
lists.apple.com
/archives/security-announce/2011/Mar/msg00006.html
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2013-1307.html
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2010:254
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2013-1615.html
vendor-advisory
-
marc.info
/?l=bugtraq&m=132871655717248&w=2
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2014-0311.html
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2015-May/158915.html
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2015-May/158616.html
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2015-May/159031.html
vendor-advisory
-
securityfocus.com
/bid/44951
vdb-entry
-
openwall.com
/lists/oss-security/2010/12/09/11
mailing-list
- php.net /releases/5_3_4.php
- madirish.net /?article=436
-
secunia.com
/advisories/55078
third-party-advisory
- php.net /ChangeLog-5.php
- php.net /archive/2010.php#id2010-12-10-1
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A12569
vdb-entry, signature
- support.apple.com /kb/HT4581
Sources
- CVE List CVE-2006-7243
- NVD CVE-2006-7243
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.