Back
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…
Medium5.0EPSS 8.3%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
- EPSS (exploitation in 30 days)
- 8.3% · top 5.1% of all CVEs (4 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.0.
Weakness
Affected products
n/a
- affected n/a
References (18)
- HPSBMU03409 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=1291d6bbee93b6109eb07e8f7916ff1b7fcc13e1 (opens in a new tab)x_refsource_CONFIRMx_transferred
- APPLE-SA-2015-09-30-3 (opens in a new tab)vendor-advisoryx_refsource_APPLEx_transferred
- HPSBMU03380 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://php.net/ChangeLog-5.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- SUSE-SU-2015:0868 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- https://support.apple.com/HT205267 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://bugs.php.net/bug.php?id=69207 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 1032484 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- 73434 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- USN-2572-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- RHSA-2015:1135 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2015:1053 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- openSUSE-SU-2015:0684 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- GLSA-201606-10 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- RHSA-2015:1066 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2015-2348)Record last updated .