CVE-2006-7243

Published: 18 January 2011

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.

Priority

Medium

Status

Package Release Status
php5
Launchpad, Ubuntu, Debian
Upstream
Released (5.3.4)
Patches:
Upstream: http://svn.php.net/viewvc?view=revision&revision=305507
Upstream: http://svn.php.net/viewvc?view=revision&revision=305412

Notes

AuthorNote
sbeattie
upstream only prepared a fix for the 5.3 tree. Backporting
the fix to 5.2.x requires modifying php APIs.

References

Bugs