PHP up to 5.6.26/7.0.11 CURLFile ext/curl/curl_file.c use after free
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.4 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Type
Name
Version
- 5.6.0
- 5.6.1
- 5.6.2
- 5.6.3
- 5.6.4
- 5.6.5
- 5.6.6
- 5.6.7
- 5.6.8
- 5.6.9
- 5.6.10
- 5.6.11
- 5.6.12
- 5.6.13
- 5.6.14
- 5.6.15
- 5.6.16
- 5.6.17
- 5.6.18
- 5.6.19
- 5.6.20
- 5.6.21
- 5.6.22
- 5.6.23
- 5.6.24
- 5.6.25
- 5.6.26
- 7.0.0
- 7.0.1
- 7.0.2
- 7.0.3
- 7.0.4
- 7.0.5
- 7.0.6
- 7.0.7
- 7.0.8
- 7.0.9
- 7.0.10
- 7.0.11
License
Website
- Product: https://www.php.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.5VulDB 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: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Use after freeCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: PHP 5.6.27/7.0.12
Patch: 0e6fe3a4c96be2d3e88389a5776f878021b4c59f
Timeline
10/14/2016 🔍11/01/2016 🔍
12/12/2016 🔍
12/12/2016 🔍
12/13/2016 🔍
01/04/2017 🔍
01/04/2017 🔍
01/05/2017 🔍
10/27/2022 🔍
Sources
Product: php.orgAdvisory: 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: 🔍
Entry
Created: 01/05/2017 12:57Updated: 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.
No comments yet. Languages: en.
Please log in to comment.