PHP up to 5.6.26/7.0.11 CURLFile ext/curl/curl_file.c use after free

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.
8.4$0-$5k0.00

Summaryinfo

A vulnerability was found in PHP up to 5.6.26/7.0.11 and classified as critical. The impacted element is an unknown function of the file ext/curl/curl_file.c of the component CURLFile. Such manipulation leads to use after free. This vulnerability is documented as CVE-2016-9137. The attack can be executed remotely. There is not any exploit available. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability was found in PHP up to 5.6.26/7.0.11 (Programming Language Software) and classified as critical. Affected by this issue is an unknown code of the file ext/curl/curl_file.c of the component CURLFile. The manipulation with an unknown input leads to a use after free vulnerability. Using CWE to declare the problem leads to CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. Impacted is confidentiality, integrity, and availability. CVE summarizes:

Use-after-free vulnerability in the CURLFile implementation in ext/curl/curl_file.c in PHP before 5.6.27 and 7.x before 7.0.12 allows remote attackers to cause a denial of service or possibly have unspecified other impact via crafted serialized data that is mishandled during __wakeup processing.

The bug was discovered 12/12/2016. The weakness was released 01/04/2017 (Website). The advisory is shared for download at git.php.net. This vulnerability is handled as CVE-2016-9137 since 11/01/2016. The attack may be launched remotely. No form of authentication is required for exploitation. There are known technical details, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 95755 (openSUSE Security Update : php5 (openSUSE-2016-1449)), 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 169400 (SUSE Enterprise Linux Security Update for php7 (SUSE-SU-2016:2941-1)).

Upgrading to version 5.6.27 or 7.0.12 eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (95755) and SecurityFocus (BID 93577†). Entries connected to this vulnerability are available at VDB-95040, VDB-95039 and VDB-95037. Once again VulDB remains the best 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: 8.5
VulDB Meta Temp Score: 8.4

VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 9.8
NVD Vector: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Use after free
CWE: CWE-416 / CWE-119
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: 95755
Nessus Name: openSUSE Security Update : php5 (openSUSE-2016-1449)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 870016
OpenVAS Name: SuSE Update for php5 openSUSE-SU-2016:2866-1 (php5)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: PHP 5.6.27/7.0.12
Patch: 0e6fe3a4c96be2d3e88389a5776f878021b4c59f

Timelineinfo

10/14/2016 🔍
11/01/2016 +18 days 🔍
12/12/2016 +41 days 🔍
12/12/2016 +0 days 🔍
12/13/2016 +1 days 🔍
01/04/2017 +22 days 🔍
01/04/2017 +0 days 🔍
01/05/2017 +1 days 🔍
10/27/2022 +2121 days 🔍

Sourcesinfo

Product: php.org

Advisory: 73147
Status: Not defined
Confirmation: 🔍

CVE: CVE-2016-9137 (🔍)
GCVE (CVE): GCVE-0-2016-9137
GCVE (VulDB): GCVE-100-95036
SecurityFocus: 93577 - PHP 'unserialize()' Function Use After Free Remote Code Execution Vulnerability
OSVDB: - CVE-2016-9137 - PHP - Use-After-Free Issue

See also: 🔍

Entryinfo

Created: 01/05/2017 12:57
Updated: 10/27/2022 15:43
Changes: 01/05/2017 12:57 (73), 07/14/2020 17:21 (8), 10/27/2022 15:43 (6)
Complete: 🔍
Cache ID: 216:0CC:103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!