CVE-2015-2348

Publication date 30 March 2015

Last updated 24 July 2024


Ubuntu priority

The move_uploaded_file 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.

Read the notes from the security team

Status

Package Ubuntu Release Status
php5 14.10 utopic
Fixed 5.5.12+dfsg-2ubuntu4.4
14.04 LTS trusty
Fixed 5.5.9+dfsg-1ubuntu4.9
12.04 LTS precise
Not affected
10.04 LTS lucid
Not affected

Notes


mdeslaur

fixed in lucid's php5-CVE-2006-7243.patch, and is fixed in precise also. Seems to be a regression in 5.4+

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
php5

References

Related Ubuntu Security Notices (USN)

Other references