PHP up to 5.6.6 basic_functions.c move_uploaded_file second access control

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.1$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as critical, has been found in PHP. This issue affects the function move_uploaded_file of the file ext/standard/basic_functions.c. This manipulation of the argument second causes access control. This vulnerability is handled as CVE-2015-2348. There is not any exploit available. It is advisable to upgrade the affected component.

Detailsinfo

A vulnerability has been found in PHP (Programming Language Software) and classified as critical. Affected by this vulnerability is the function move_uploaded_file of the file ext/standard/basic_functions.c. The manipulation of the argument second with an unknown input leads to a access control vulnerability. The CWE definition for the vulnerability is CWE-264. As an impact it is known to affect integrity. The summary by CVE is:

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.

The weakness was released 03/30/2015 (Website). It is possible to read the advisory at lists.opensuse.org. This vulnerability is known as CVE-2015-2348 since 03/19/2015. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1068 according to MITRE ATT&CK.

The vulnerability scanner Nessus provides a plugin with the ID 82653 (openSUSE Security Update : php5 (openSUSE-2015-295)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 11630 (PHP Versions Prior to 5.6.7/5.5.23/5.4.39 Multiple Vulnerabilities).

Upgrading to version 5.4.39 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.php.net. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published 3 days after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (82653), SecurityFocus (BID 73434†), SecurityTracker (ID 1032484†) and Vulnerability Center (SBV-56909†). Entries connected to this vulnerability are available at VDB-74065, VDB-74070, VDB-74127 and VDB-74575. Be aware that VulDB is the high quality source for vulnerability data.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.3
VulDB Meta Temp Score: 5.1

VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Access control
CWE: CWE-264
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 82653
Nessus Name: openSUSE Security Update : php5 (openSUSE-2015-295)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 80056
OpenVAS Name: Oracle Linux Local Check: ELSA-2015-1135
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Upgrade: PHP 5.4.39
Patch: 1291d6bbee93b6109eb07e8f7916ff1b7fcc13e1

Timelineinfo

03/19/2015 🔍
03/30/2015 +10 days 🔍
03/30/2015 +0 days 🔍
03/30/2015 +0 days 🔍
04/01/2015 +2 days 🔍
04/02/2015 +0 days 🔍
04/09/2015 +7 days 🔍
06/04/2015 +56 days 🔍
07/20/2015 +45 days 🔍
03/01/2016 +226 days 🔍
05/02/2022 +2252 days 🔍

Sourcesinfo

Product: php.org

Advisory: USN-2572-1
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2015-2348 (🔍)
GCVE (CVE): GCVE-0-2015-2348
GCVE (VulDB): GCVE-100-74551
SecurityFocus: 73434 - PHP NULL Character CVE-2015-2348 Incomplete Fix Security Bypass Vulnerability
SecurityTracker: 1032484
Vulnerability Center: 56909 - PHP before 5.4.39, 5.5.x before 5.5.23, and 5.6.x before 5.6.7 Remote Security Bypass via a Crafted Second Argument, Medium

See also: 🔍

Entryinfo

Created: 04/01/2015 15:07
Updated: 05/02/2022 11:31
Changes: 04/01/2015 15:07 (71), 08/25/2018 09:22 (13), 05/02/2022 11:24 (4), 05/02/2022 11:31 (1)
Complete: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!