Unscored severity · published Mar 30, 2015
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…
–
CVSS
8.3%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)8.3% · higher than 95% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PH
PHP · PHP
through 5.4.38; 5.5.0; 5.5.0; 5.5.0; 5.5.0; 5.5.0; +34 more · source: NVD
EL
Enterprise Linux Desktop · Redhat
7.0 · source: NVD
EL
Enterprise Linux Hpc Node · Redhat
7.0 · source: NVD
EL
Enterprise Linux Hpc Node Eus · Redhat
7.1 · source: NVD
EL
Enterprise Linux Server · Redhat
7.0 · source: NVD
EL
Enterprise Linux Server Eus · Redhat
7.1 · source: NVD
EL
Enterprise Linux Workstation · Redhat
7.0 · source: NVD
MO
Mac OS X · Apple
through 10.10.5 · source: NVD
OP
Opensuse · Opensuse
13.1; 13.2 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2015-2348
CVE.org
https://www.cve.org/CVERecord?id=CVE-2015-2348
git.php.net
http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=1291d6bbee93b6109eb07e8f7916ff1b7fcc13e1
lists.apple.com
http://lists.apple.com/archives/security-announce/2015/Sep/msg00008.html
lists.opensuse.org
http://lists.opensuse.org/opensuse-security-announce/2015-05/msg00005.html
lists.opensuse.org
http://lists.opensuse.org/opensuse-updates/2015-04/msg00015.html
marc.info
http://marc.info/?l=bugtraq&m=143748090628601&w=2
marc.info
http://marc.info/?l=bugtraq&m=144050155601375&w=2
More from PHP
9.8
CVE-2026-109618
RCE via OOM corruption
9.8
CVE-2024-4577
Argument Injection in PHP-CGI
9.8
CVE-2019-11043
Underflow in PHP-FPM can lead to RCE
9.8
CVE-2016-10033
The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra parameters to the mail command and consequently execute…
9.8
CVE-2012-1823
PHP-CGI Query String Parameter Vulnerability
