CVE-2015-2348

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…

published March 30, 2015

CVSS
—
EPSS
8%
Percentile
94.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.08262 · 94.9th percentile
Published
2015-03-30T10:00Z
EPSS history
Timeline
  • 30 MAR 10:00Z
    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…
    cvelistv5