Skip to content

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 upon encountering a \x00 character, which...

MediumCVSS 5.0 EPSS 8.3%
Published
Updated
Exploit status
No public exploit known

Description

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.

Affected products

ProductAffected versionsFixed in
redhat enterprise linux desktop = 7.0 No fix listed
redhat enterprise linux hpc node = 7.0 No fix listed
redhat enterprise linux hpc node eus = 7.1 No fix listed
redhat enterprise linux server = 7.0 No fix listed
redhat enterprise linux server eus = 7.1 No fix listed
redhat enterprise linux workstation = 7.0 No fix listed
apple mac os x <= 10.10.5 No fix listed
opensuse = 13.1 No fix listed
opensuse = 13.2 No fix listed
PHP <= 5.4.38 No fix listed
PHP = 5.5.0 No fix listed
PHP = 5.5.0-alpha1 No fix listed
PHP = 5.5.0-alpha2 No fix listed
PHP = 5.5.0-alpha3 No fix listed
PHP = 5.5.0-alpha4 No fix listed
PHP = 5.5.0-alpha5 No fix listed
PHP = 5.5.0-alpha6 No fix listed
PHP = 5.5.0-beta1 No fix listed
PHP = 5.5.0-beta2 No fix listed
PHP = 5.5.0-beta3 No fix listed
PHP = 5.5.0-beta4 No fix listed
PHP = 5.5.0-rc1 No fix listed
PHP = 5.5.0-rc2 No fix listed
PHP = 5.5.1 No fix listed
PHP = 5.5.2 No fix listed
Show 35 more
ProductAffected versionsFixed in
PHP = 5.5.3 No fix listed
PHP = 5.5.4 No fix listed
PHP = 5.5.5 No fix listed
PHP = 5.5.6 No fix listed
PHP = 5.5.7 No fix listed
PHP = 5.5.8 No fix listed
PHP = 5.5.9 No fix listed
PHP = 5.5.10 No fix listed
PHP = 5.5.11 No fix listed
PHP = 5.5.12 No fix listed
PHP = 5.5.13 No fix listed
PHP = 5.5.14 No fix listed
PHP = 5.5.15 No fix listed
PHP = 5.5.16 No fix listed
PHP = 5.5.17 No fix listed
PHP = 5.5.18 No fix listed
PHP = 5.5.19 No fix listed
PHP = 5.5.20 No fix listed
PHP = 5.5.21 No fix listed
PHP = 5.5.22 No fix listed
PHP = 5.6.0-alpha1 No fix listed
PHP = 5.6.0-alpha2 No fix listed
PHP = 5.6.0-alpha3 No fix listed
PHP = 5.6.0-alpha4 No fix listed
PHP = 5.6.0-alpha5 No fix listed
PHP = 5.6.0-beta1 No fix listed
PHP = 5.6.0-beta2 No fix listed
PHP = 5.6.0-beta3 No fix listed
PHP = 5.6.0-beta4 No fix listed
PHP = 5.6.1 No fix listed
PHP = 5.6.2 No fix listed
PHP = 5.6.3 No fix listed
PHP = 5.6.4 No fix listed
PHP = 5.6.5 No fix listed
PHP = 5.6.6 No fix listed

References