Vulnerability in Apple Mac OS X
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 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.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.083, 95.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Apple Mac OS X
- PHP — versions 5.5.0, 5.5.1, 5.5.2
- openSUSE — versions 13.1, 13.2
- Red Hat Enterprise Linux Desktop — versions 7.0
- Red Hat Enterprise Linux Hpc Node — versions 7.0
- Red Hat Enterprise Linux Hpc Node Eus — versions 7.1
- Red Hat Enterprise Linux Server — versions 7.0
- Red Hat Enterprise Linux Server Eus — versions 7.1
- Red Hat Enterprise Linux Workstation — versions 7.0
Weakness classification (CWE)
References
- HPSBMU03409 (vendor-advisory)
- git.php.net/
- APPLE-SA-2015-09-30-3 (vendor-advisory)
- HPSBMU03380 (vendor-advisory)
- www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html
- php.net/ChangeLog-5.php
- SUSE-SU-2015:0868 (vendor-advisory)
- support.apple.com/HT205267
- bugs.php.net/bug.php (Exploit)