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.
Metrics
Affected Vendors & Products
References
History
No history.

Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2024-08-06T05:10:16.498Z
Reserved: 2015-03-19T00:00:00
Link: CVE-2015-2348

No data.

Status : Deferred
Published: 2015-03-30T10:59:14.710
Modified: 2025-04-12T10:46:40.837
Link: CVE-2015-2348
