The moveuploadedfile implementation in ext/standard/basic_functions.c in PHP before 5.4.39, 5.5.x before 5.5.23, and 5.6.x before 5.6.7 truncates a pathname upon encountering a \x00 character, which allows remote attackers to bypass intended extension restrictions and create files with unexpected names via a crafted second argument. NOTE: this vulnerability exists because of an incomplete fix for CVE-2006-7243.
{ "availability": "No subscription required", "ubuntu_priority": "low", "binaries": [ { "binary_version": "5.5.9+dfsg-1ubuntu4.9", "binary_name": "libapache2-mod-php5" }, { "binary_version": "5.5.9+dfsg-1ubuntu4.9", "binary_name": "libapache2-mod-php5filter" }, { "binary_version": "5.5.9+dfsg-1ubuntu4.9", "binary_name": "libphp5-embed" }, { "binary_version": "5.5.9+dfsg-1ubuntu4.9", "binary_name": "php-pear" }, { "binary_version": "5.5.9+dfsg-1ubuntu4.9", "binary_name": "php5" }, { "binary_version": "5.5.9+dfsg-1ubuntu4.9", "binary_name": "php5-cgi" }, { "binary_version": "5.5.9+dfsg-1ubuntu4.9", "binary_name": "php5-cli" }, { "binary_version": "5.5.9+dfsg-1ubuntu4.9", "binary_name": "php5-common" }, { "binary_version": "5.5.9+dfsg-1ubuntu4.9", "binary_name": "php5-curl" }, { "binary_version": "5.5.9+dfsg-1ubuntu4.9", "binary_name": "php5-dbg" }, { "binary_version": "5.5.9+dfsg-1ubuntu4.9", "binary_name": "php5-dev" }, { "binary_version": "5.5.9+dfsg-1ubuntu4.9", "binary_name": "php5-enchant" }, { "binary_version": "5.5.9+dfsg-1ubuntu4.9", "binary_name": "php5-fpm" }, { "binary_version": "5.5.9+dfsg-1ubuntu4.9", "binary_name": "php5-gd" }, { "binary_version": "5.5.9+dfsg-1ubuntu4.9", "binary_name": "php5-gmp" }, { "binary_version": "5.5.9+dfsg-1ubuntu4.9", "binary_name": "php5-intl" }, { "binary_version": "5.5.9+dfsg-1ubuntu4.9", "binary_name": "php5-ldap" }, { "binary_version": "5.5.9+dfsg-1ubuntu4.9", "binary_name": "php5-mysql" }, { "binary_version": "5.5.9+dfsg-1ubuntu4.9", "binary_name": "php5-mysqlnd" }, { "binary_version": "5.5.9+dfsg-1ubuntu4.9", "binary_name": "php5-odbc" }, { "binary_version": "5.5.9+dfsg-1ubuntu4.9", "binary_name": "php5-pgsql" }, { "binary_version": "5.5.9+dfsg-1ubuntu4.9", "binary_name": "php5-pspell" }, { "binary_version": "5.5.9+dfsg-1ubuntu4.9", "binary_name": "php5-readline" }, { "binary_version": "5.5.9+dfsg-1ubuntu4.9", "binary_name": "php5-recode" }, { "binary_version": "5.5.9+dfsg-1ubuntu4.9", "binary_name": "php5-snmp" }, { "binary_version": "5.5.9+dfsg-1ubuntu4.9", "binary_name": "php5-sqlite" }, { "binary_version": "5.5.9+dfsg-1ubuntu4.9", "binary_name": "php5-sybase" }, { "binary_version": "5.5.9+dfsg-1ubuntu4.9", "binary_name": "php5-tidy" }, { "binary_version": "5.5.9+dfsg-1ubuntu4.9", "binary_name": "php5-xmlrpc" }, { "binary_version": "5.5.9+dfsg-1ubuntu4.9", "binary_name": "php5-xsl" } ] }