PHP up to 5.6.24/7.0.9 var_unserializer.c deserialization

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

Summaryinfo

A vulnerability has been found in PHP up to 5.6.24/7.0.9 and classified as problematic. The affected element is an unknown function of the file ext/standard/var_unserializer.c. The manipulation leads to deserialization. This vulnerability is listed as CVE-2016-7124. The attack may be initiated remotely. There is no available exploit. The affected component should be upgraded.

Detailsinfo

A vulnerability was found in PHP up to 5.6.24/7.0.9 (Programming Language Software). It has been rated as critical. This issue affects an unknown part of the file ext/standard/var_unserializer.c. The manipulation with an unknown input leads to a deserialization vulnerability. Using CWE to declare the problem leads to CWE-502. The product deserializes untrusted data without sufficiently verifying that the resulting data will be valid. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

ext/standard/var_unserializer.c in PHP before 5.6.25 and 7.x before 7.0.10 mishandles certain invalid objects, which allows remote attackers to cause a denial of service or possibly have unspecified other impact via crafted serialized data that leads to a (1) __destruct call or (2) magic method call.

The weakness was presented 09/12/2016 by Taoguang Chen (Website). The advisory is shared at openwall.com. The identification of this vulnerability is CVE-2016-7124 since 09/02/2016. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details are known, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 900012 , which helps to determine the existence of the flaw in a target environment. The commercial vulnerability scanner Qualys is able to test this issue with plugin 169168 (SUSE Enterprise Linux Security Update for php53 (SUSE-SU-2016:2328-1)).

Upgrading to version 5.6.25 or 7.0.10 eliminates this vulnerability.

The vulnerability is also documented in the databases at Tenable (900012) and SecurityFocus (BID 92756†). See VDB-3695, VDB-5786, VDB-5794 and VDB-9021 for similar entries. If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 9.8
VulDB Meta Temp Score: 9.6

VulDB Base Score: 9.8
VulDB Temp Score: 9.4
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: Deserialization
CWE: CWE-502 / CWE-20
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: 900012
Nessus File: 🔍

OpenVAS ID: 54857
OpenVAS Name: Ubuntu Update for php7.0 USN-3095-1
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍
Upgrade: PHP 5.6.25/7.0.10
Patch: github.com

Timelineinfo

09/02/2016 🔍
09/02/2016 +0 days 🔍
09/11/2016 +9 days 🔍
09/12/2016 +1 days 🔍
09/12/2016 +0 days 🔍
09/15/2022 +2194 days 🔍

Sourcesinfo

Product: php.org

Advisory: 72663
Researcher: Taoguang Chen
Status: Not defined
Confirmation: 🔍

CVE: CVE-2016-7124 (🔍)
GCVE (CVE): GCVE-0-2016-7124
GCVE (VulDB): GCVE-100-91493

OVAL: 🔍

SecurityFocus: 92756 - PHP '__wakeup()' Function Remote Code Execution Vulnerability
SecurityTracker: 1036680

See also: 🔍

Entryinfo

Created: 09/12/2016 17:53
Updated: 09/15/2022 18:22
Changes: 09/12/2016 17:53 (60), 04/15/2019 16:35 (13), 09/15/2022 18:15 (6), 09/15/2022 18:22 (1)
Complete: 🔍
Cache ID: 216::103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

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!