CVE-2015-2348
Summary
| CVE | CVE-2015-2348 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2015-03-30 10:59:14 UTC |
| Updated | 2026-05-06 22:30:45 UTC |
| 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. |
Risk And Classification
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
LowAuthentication
NoneConfidentiality
NoneIntegrity
PartialAvailability
NoneAV:N/AC:L/Au:N/C:N/I:P/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Apple | Mac Os X | All | All | All | All |
| Operating System | Opensuse | Opensuse | 13.1 | All | All | All |
| Operating System | Opensuse | Opensuse | 13.2 | All | All | All |
| Application | Php | Php | 5.5.0 | All | All | All |
| Application | Php | Php | 5.5.0 | alpha1 | All | All |
| Application | Php | Php | 5.5.0 | alpha2 | All | All |
| Application | Php | Php | 5.5.0 | alpha3 | All | All |
| Application | Php | Php | 5.5.0 | alpha4 | All | All |
| Application | Php | Php | 5.5.0 | alpha5 | All | All |
| Application | Php | Php | 5.5.0 | alpha6 | All | All |
| Application | Php | Php | 5.5.0 | beta1 | All | All |
| Application | Php | Php | 5.5.0 | beta2 | All | All |
| Application | Php | Php | 5.5.0 | beta3 | All | All |
| Application | Php | Php | 5.5.0 | beta4 | All | All |
| Application | Php | Php | 5.5.0 | rc1 | All | All |
| Application | Php | Php | 5.5.0 | rc2 | All | All |
| Application | Php | Php | 5.5.1 | All | All | All |
| Application | Php | Php | 5.5.10 | All | All | All |
| Application | Php | Php | 5.5.11 | All | All | All |
| Application | Php | Php | 5.5.12 | All | All | All |
| Application | Php | Php | 5.5.13 | All | All | All |
| Application | Php | Php | 5.5.14 | All | All | All |
| Application | Php | Php | 5.5.15 | All | All | All |
| Application | Php | Php | 5.5.16 | All | All | All |
| Application | Php | Php | 5.5.17 | All | All | All |
| Application | Php | Php | 5.5.18 | All | All | All |
| Application | Php | Php | 5.5.19 | All | All | All |
| Application | Php | Php | 5.5.2 | All | All | All |
| Application | Php | Php | 5.5.20 | All | All | All |
| Application | Php | Php | 5.5.21 | All | All | All |
| Application | Php | Php | 5.5.22 | All | All | All |
| Application | Php | Php | 5.5.3 | All | All | All |
| Application | Php | Php | 5.5.4 | All | All | All |
| Application | Php | Php | 5.5.5 | All | All | All |
| Application | Php | Php | 5.5.6 | All | All | All |
| Application | Php | Php | 5.5.7 | All | All | All |
| Application | Php | Php | 5.5.8 | All | All | All |
| Application | Php | Php | 5.5.9 | All | All | All |
| Application | Php | Php | 5.6.0 | alpha1 | All | All |
| Application | Php | Php | 5.6.0 | alpha2 | All | All |
| Application | Php | Php | 5.6.0 | alpha3 | All | All |
| Application | Php | Php | 5.6.0 | alpha4 | All | All |
| Application | Php | Php | 5.6.0 | alpha5 | All | All |
| Application | Php | Php | 5.6.0 | beta1 | All | All |
| Application | Php | Php | 5.6.0 | beta2 | All | All |
| Application | Php | Php | 5.6.0 | beta3 | All | All |
| Application | Php | Php | 5.6.0 | beta4 | All | All |
| Application | Php | Php | 5.6.1 | All | All | All |
| Application | Php | Php | 5.6.2 | All | All | All |
| Application | Php | Php | 5.6.3 | All | All | All |
| Application | Php | Php | 5.6.4 | All | All | All |
| Application | Php | Php | 5.6.5 | All | All | All |
| Application | Php | Php | 5.6.6 | All | All | All |
| Application | Php | Php | All | All | All | All |
| Operating System | Redhat | Enterprise Linux Desktop | 7.0 | All | All | All |
| Operating System | Redhat | Enterprise Linux Hpc Node | 7.0 | All | All | All |
| Operating System | Redhat | Enterprise Linux Hpc Node Eus | 7.1 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server | 7.0 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server Eus | 7.1 | All | All | All |
| Operating System | Redhat | Enterprise Linux Workstation | 7.0 | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| PHP: Multiple vulnerabilities (GLSA 201606-10) — Gentoo security | af854a3a-2127-422b-91ae-364da2661108 | security.gentoo.org | |
| Red Hat Customer Portal | af854a3a-2127-422b-91ae-364da2661108 | rhn.redhat.com | |
| APPLE-SA-2015-09-30-3 OS X El Capitan 10.11 | af854a3a-2127-422b-91ae-364da2661108 | lists.apple.com | |
| Red Hat Customer Portal | af854a3a-2127-422b-91ae-364da2661108 | rhn.redhat.com | |
| '[security bulletin] HPSBMU03380 rev.1 - HP System Management Homepage (SMH) on Linux and Windows, Mu' - MARC | af854a3a-2127-422b-91ae-364da2661108 | marc.info | |
| PHP :: Sec Bug #69207 :: move_uploaded_file allows nulls in path | af854a3a-2127-422b-91ae-364da2661108 | bugs.php.net | Exploit |
| [security-announce] SUSE-SU-2015:0868-1: important: Security update for | af854a3a-2127-422b-91ae-364da2661108 | lists.opensuse.org | |
| Oracle Solaris Third Party Bulletin - July 2015 | af854a3a-2127-422b-91ae-364da2661108 | www.oracle.com | |
| Oracle Linux Bulletin - January 2016 | af854a3a-2127-422b-91ae-364da2661108 | www.oracle.com | |
| '[security bulletin] HPSBMU03409 rev.1 - HP Matrix Operating Environment, Multiple Vulnerabilities' - MARC | af854a3a-2127-422b-91ae-364da2661108 | marc.info | |
| PHP NULL Character CVE-2015-2348 Incomplete Fix Security Bypass Vulnerability | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | |
| 208.43.231.11 Git - php-src.git/commit | af854a3a-2127-422b-91ae-364da2661108 | git.php.net | |
| About the security content of OS X El Capitan v10.11 - Apple Support | af854a3a-2127-422b-91ae-364da2661108 | support.apple.com | |
| PHP move_uploaded_file() May Let Remote Users Bypass Filename-Based Access Controls - SecurityTracker | af854a3a-2127-422b-91ae-364da2661108 | www.securitytracker.com | |
| openSUSE-SU-2015:0684-1: moderate: Security update for php5 | af854a3a-2127-422b-91ae-364da2661108 | lists.opensuse.org | |
| PHP: PHP 5 ChangeLog | af854a3a-2127-422b-91ae-364da2661108 | php.net | |
| USN-2572-1: PHP vulnerabilities | Ubuntu | af854a3a-2127-422b-91ae-364da2661108 | www.ubuntu.com | |
| Red Hat Customer Portal | af854a3a-2127-422b-91ae-364da2661108 | rhn.redhat.com | |
| 208.43.231.11 Git - php-src.git/commit | MITRE | git.php.net | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.