PHP 5.3.29/5.4.38/5.5.22/5.6.6 unserialize 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.
6.4$0-$5k0.00

Summaryinfo

A vulnerability marked as critical has been reported in PHP 5.3.29/5.4.38/5.5.22/5.6.6. This impacts the function unserialize. Performing a manipulation results in use after free. This vulnerability is reported as CVE-2015-2787. No exploit exists. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability, which was classified as critical, was found in PHP 5.3.29/5.4.38/5.5.22/5.6.6 (Programming Language Software). This affects the function unserialize. The manipulation with an unknown input leads to a use after free vulnerability. CWE is classifying the issue as CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. This is going to have an impact on confidentiality, integrity, and availability.

The weakness was disclosed 03/20/2015 as confirmed mailinglist post (Full-Disclosure). It is possible to read the advisory at seclists.org. This vulnerability is uniquely identified as CVE-2015-2787 since 03/29/2015. 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 vulnerability scanner Nessus provides a plugin with the ID 86270 (Mac OS X < 10.11 Multiple Vulnerabilities (GHOST)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family MacOS X Local Security Checks and running in the context c. 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.6.7 eliminates this vulnerability. A possible mitigation has been published 7 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (101822), Tenable (86270) and SecurityFocus (BID 73431†). Further details are available at packetstormsecurity.com. The entries VDB-9015, VDB-67396, VDB-67398 and VDB-67420 are pretty similar. 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: 7.3
VulDB Meta Temp Score: 6.4

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

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: Unproven

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 86270
Nessus Name: Mac OS X < 10.11 Multiple Vulnerabilities (GHOST)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 80056
OpenVAS Name: Oracle Linux Local Check: ELSA-2015-1218
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.6.7

Timelineinfo

03/20/2015 🔍
03/27/2015 +7 days 🔍
03/29/2015 +2 days 🔍
03/30/2015 +1 days 🔍
09/30/2015 +184 days 🔍
10/05/2015 +5 days 🔍
04/16/2022 +2385 days 🔍

Sourcesinfo

Product: php.org

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

CVE: CVE-2015-2787 (🔍)
GCVE (CVE): GCVE-0-2015-2787
GCVE (VulDB): GCVE-100-74127
X-Force: 101822 - PHP unserialize() code execution
SecurityFocus: 73431
SecurityTracker: 1032485

Misc.: 🔍
See also: 🔍

Entryinfo

Created: 03/27/2015 10:29
Updated: 04/16/2022 09:07
Changes: 03/27/2015 10:29 (53), 03/25/2018 10:48 (18), 04/16/2022 09:05 (5), 04/16/2022 09:07 (1)
Complete: 🔍
Cache ID: 216:CCC:103

Be aware that VulDB is the high quality 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!