CVE-2015-2348Null Byte Interaction Error (Poison Null Byte) in Apple MAC OS X

Severity
5.0MEDIUMNVD
EPSS
7.2%
top 8.35%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedMar 30
Latest updateMay 14

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.

CVSS vector

AV:N/AC:L/C:N/I:P/A:NExploitability: 10.0 | Impact: 2.9

Affected Packages8 packages

Ubuntuphp5/php5< 5.5.9+dfsg-1ubuntu4.9
NVDphp/php5.4.38+30
NVDapple/mac_os_x10.10.5
NVDopensuse/opensuse13.1, 13.2+1

Also affects: Enterprise Linux 7.1

🔴Vulnerability Details

3
GHSA
GHSA-x58x-2jp5-xfv7: The move_uploaded_file implementation in ext/standard/basic_functions2022-05-14
OSV
CVE-2015-2348: The move_uploaded_file implementation in ext/standard/basic_functions2015-03-30
CVEList
CVE-2015-2348: The move_uploaded_file implementation in ext/standard/basic_functions2015-03-30

📋Vendor Advisories

3
Ubuntu
PHP vulnerabilities2015-04-20
Red Hat
php: move_uploaded_file() NUL byte injection in file name2015-03-02
Apple
CVE-2015-2348: OS X El Capitan v10.11

💬Community

3
Bugzilla
CVE-2015-4025 php: CVE-2006-7243 regressions in 5.4+2015-05-20
Bugzilla
CVE-2015-2348 php: restrictions bypass in move_uploaded_file implementation (incomplete fix for CVE-2006-7243) [fedora-all]2015-03-31
Bugzilla
CVE-2015-2348 php: move_uploaded_file() NUL byte injection in file name2015-03-31
CVE-2015-2348 — Apple MAC OS X vulnerability | cvebase