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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2015-03-30T10:00:00

Updated: 2024-08-06T05:10:16.498Z

Reserved: 2015-03-19T00:00:00

Link: CVE-2015-2348

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2015-03-30T10:59:14.710

Modified: 2023-11-07T02:25:14.463

Link: CVE-2015-2348

cve-icon Redhat

Severity : Moderate

Publid Date: 2015-03-02T00:00:00Z

Links: CVE-2015-2348 - Bugzilla