PHP up to 5.4.36/5.5.20/5.6.4 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.
4.6$0-$5k0.00

Summaryinfo

A vulnerability identified as problematic has been detected in PHP up to 5.4.36/5.5.20/5.6.4. Affected by this vulnerability is the function unserialize. This manipulation causes use after free. The identification of this vulnerability is CVE-2015-0231. Furthermore, there is an exploit available. You should upgrade the affected component.

Detailsinfo

A vulnerability classified as problematic was found in PHP up to 5.4.36/5.5.20/5.6.4 (Programming Language Software). Affected by this vulnerability is the function unserialize. The manipulation with an unknown input leads to a use after free vulnerability. The CWE definition for the vulnerability is CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. As an impact it is known to affect availability.

The weakness was shared 01/24/2015 by Stefan Esser as confirmed advisory (Website). It is possible to read the advisory at php.net. This vulnerability is known as CVE-2015-0231 since 11/18/2014. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details and also a public exploit are known.

A public exploit has been developed by SEC Consult and been published 2 years after the advisory. It is possible to download the exploit at exploit-db.com. It is declared as proof-of-concept. We expect the 0-day to have been worth approximately $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 82025 (PHP 5.4.x < 5.4.39 Multiple Vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CGI abuses and running in the context r. The commercial vulnerability scanner Qualys is able to test this issue with plugin 185106 (HP-UX Apache Web Server Suite Remote Denial of Service Vulnerability (HPSBUX03337)).

Upgrading to version 5.4.37, 5.5.21 or 5.6.5 eliminates this vulnerability. A possible mitigation has been published 2 months after the disclosure of the vulnerability. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 19329.

The vulnerability is also documented in the databases at X-Force (100569), Exploit-DB (40414), Tenable (82025), SecurityFocus (BID 72539†) and SecurityTracker (ID 1031627†). The entries VDB-3695, VDB-5786, VDB-5794 and VDB-9021 are related to this item. 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: 4.6

VulDB Base Score: 5.3
VulDB Temp Score: 4.6
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: 🔍
Access: Public
Status: Proof-of-Concept
Author: SEC Consult
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 82025
Nessus Name: PHP 5.4.x < 5.4.39 Multiple Vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 14611
OpenVAS Name: Amazon Linux Local Check: alas-2015-508
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Upgrade: PHP 5.4.37/5.5.21/5.6.5
Patch: github.com
TippingPoint: 🔍

McAfee IPS: 🔍
McAfee IPS Version: 🔍

Fortigate IPS: 🔍

Timelineinfo

11/18/2014 🔍
01/24/2015 +67 days 🔍
01/24/2015 +0 days 🔍
01/27/2015 +3 days 🔍
01/29/2015 +2 days 🔍
02/08/2015 +10 days 🔍
03/18/2015 +38 days 🔍
03/23/2015 +5 days 🔍
07/20/2015 +118 days 🔍
03/01/2016 +226 days 🔍
09/22/2016 +204 days 🔍
09/22/2016 +0 days 🔍
03/07/2022 +1993 days 🔍

Sourcesinfo

Product: php.org

Advisory: 69207
Researcher: Stefan Esser
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2015-0231 (🔍)
GCVE (CVE): GCVE-0-2015-0231
GCVE (VulDB): GCVE-100-68959

OVAL: 🔍

X-Force: 100569 - PHP process_nested_data code execution, High Risk
SecurityFocus: 72539 - PHP CVE-2015-0231 Incomplete Fix Use After Free Remote Code Execution Vulnerability
SecurityTracker: 1031627
Vulnerability Center: 56888 - PHP Remote Code Execution via a Crafted Unserialize Call, High

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 01/29/2015 16:13
Updated: 03/07/2022 23:36
Changes: 01/29/2015 16:13 (74), 08/25/2018 09:15 (24), 03/07/2022 23:11 (5), 03/07/2022 23:24 (1), 03/07/2022 23:36 (1)
Complete: 🔍
Cache ID: 216:0BC: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!