Skip to content
OpenAdvisories
Unscored CVE-2006-7243 EUVD-2006-7220GHSA-qxh9-g3ww-hcvc

PHP before 5.3.4 accepts the \0 character in a pathname, which might allow context-dependent attackers to bypass intended access restrictio…

Published Jan 18, 2011 · Updated Aug 7, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
RHEL 6 php +26 5.3.3-26.el6 RHSA-2013:1615
RHEL 5 php +18 5.1.6-44.el5_10 RHSA-2014:0311
RHEL 5 php53 +20 5.3.3-21.el5 RHSA-2013:1307
ReleasePackageFixed inAdvisory
SLES 11 SP2 php53 5.3.17-47.1 SUSE-SU-2016:1638-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed php5 5.6.28-1.1 openSUSE-SU-2024:10344-1
openSUSE Tumbleweed php7 7.0.14-1.4 openSUSE-SU-2024:10290-1
openSUSE Tumbleweed php8 8.0.11-1.1 openSUSE-SU-2024:11169-1

Advisories 7

References