CVE-2006-7243

php: paths with NULL character were considered valid

Published Jan 18, 2011 CVSS 2.0 · 5.0 Medium EPSS 5.4% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-307-1 php5 security update
Debian DLA Debian DLA DLA-444-1 php5 security update
EUVD EUVD EUVD-2006-7220 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.
Ubuntu USN Ubuntu USN USN-1126-1 PHP vulnerabilities
References
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 7, 2024, 8:57 PM
Reserved
Dec 9, 2010, 12:00 AM
Status
Modified
Published
Jan 18, 2011, 8:00 PM
Modified
Jun 16, 2026, 10:34 PM
Severity
Moderate
Public date
Dec 18, 2006, 12:00 AM