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.

Project Subscriptions

Vendors Products
Mac Os X Subscribe
Opensuse Subscribe
Opensuse Subscribe
Enterprise Linux Subscribe
Enterprise Linux Desktop Subscribe
Enterprise Linux Hpc Node Subscribe
Enterprise Linux Hpc Node Eus Subscribe
Enterprise Linux Server Subscribe
Enterprise Linux Server Eus Subscribe
Enterprise Linux Workstation Subscribe
Rhel Software Collections Subscribe
Advisories
Source ID Title
Debian DLA Debian DLA DLA-444-1 php5 security update
EUVD EUVD EUVD-2015-2441 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.
Ubuntu USN Ubuntu USN USN-2572-1 PHP vulnerabilities
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

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

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

Link: CVE-2015-2348

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

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

Modified: 2025-04-12T10:46:40.837

Link: CVE-2015-2348

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2015-2348 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses