PHP up to 7.0.5 ext/spl/spl_dllist.c offsetSet index double free
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 9.4 | $0-$5k | 0.00 |
Summary
A vulnerability identified as critical has been detected in PHP up to 7.0.5. The impacted element is the function SplDoublyLinkedList::offsetSet of the file ext/spl/spl_dllist.c. Performing a manipulation of the argument index results in double free.
This vulnerability was named CVE-2016-3132. The attack may be initiated remotely. There is no available exploit.
You should upgrade the affected component.
Details
A vulnerability classified as very critical has been found in PHP up to 7.0.5 (Programming Language Software). This affects the function SplDoublyLinkedList::offsetSet of the file ext/spl/spl_dllist.c. The manipulation of the argument index with an unknown input leads to a double free vulnerability. CWE is classifying the issue as CWE-415. The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:
Double free vulnerability in the SplDoublyLinkedList::offsetSet function in ext/spl/spl_dllist.c in PHP 7.x before 7.0.6 allows remote attackers to execute arbitrary code via a crafted index.
The weakness was presented 08/07/2016 (Website). It is possible to read the advisory at github.com. This vulnerability is uniquely identified as CVE-2016-3132 since 03/13/2016. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details of the vulnerability are known, but there is no available exploit. The pricing for an exploit might be around USD $0-$5k at the moment (estimation calculated on 09/12/2022).
The vulnerability scanner Nessus provides a plugin with the ID 91320 (Ubuntu 12.04 LTS / 14.04 LTS / 15.10 / 16.04 LTS : php5, php7.0 vulnerabilities (USN-2984-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Ubuntu Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 196483 (Ubuntu Security Notification for Php5, Php7.0 Vulnerabilities (USN-2984-1)).
Upgrading to version 7.0.6 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 (91320) and SecurityFocus (BID 92356†). See VDB-83075, VDB-83181 and VDB-87586 for similar entries. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Type
Name
Version
License
Website
- Product: https://www.php.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 9.8VulDB Meta Temp Score: 9.4
VulDB Base Score: 9.8
VulDB Temp Score: 9.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
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: Double freeCWE: CWE-415 / 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: 91320
Nessus Name: Ubuntu 12.04 LTS / 14.04 LTS / 15.10 / 16.04 LTS : php5, php7.0 vulnerabilities (USN-2984-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 63997
OpenVAS Name: Ubuntu Update for php7.0 USN-2984-1
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: PHP 7.0.6
Patch: github.com
Timeline
03/13/2016 🔍05/24/2016 🔍
05/25/2016 🔍
08/07/2016 🔍
08/07/2016 🔍
08/07/2016 🔍
08/08/2016 🔍
09/12/2022 🔍
Sources
Product: php.orgAdvisory: USN-2984-1
Status: Not defined
Confirmation: 🔍
CVE: CVE-2016-3132 (🔍)
GCVE (CVE): GCVE-0-2016-3132
GCVE (VulDB): GCVE-100-90603
SecurityFocus: 92356 - PHP CVE-2016-3132 Double Free Memory Corruption Vulnerability
See also: 🔍
Entry
Created: 08/08/2016 15:18Updated: 09/12/2022 15:34
Changes: 08/08/2016 15:18 (50), 03/21/2019 20:45 (20), 09/12/2022 15:28 (3), 09/12/2022 15:34 (1)
Complete: 🔍
Cache ID: 216::103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.