PHP up to 7.0.11 Serialization ext/spl/spl_observer.c memory corruption

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.
8.4$0-$5k0.09

Summaryinfo

A vulnerability described as critical has been identified in PHP up to 7.0.11. This impacts an unknown function of the file ext/spl/spl_observer.c of the component Serialization. Executing a manipulation can lead to memory corruption. This vulnerability is registered as CVE-2016-7480. It is possible to launch the attack remotely. No exploit is available. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability has been found in PHP up to 7.0.11 (Programming Language Software) and classified as critical. This vulnerability affects an unknown code block of the file ext/spl/spl_observer.c of the component Serialization. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

The SplObjectStorage unserialize implementation in ext/spl/spl_observer.c in PHP before 7.0.12 does not verify that a key is an object, which allows remote attackers to execute arbitrary code or cause a denial of service (uninitialized memory access) via crafted serialized data.

The bug was discovered 12/27/2016. The weakness was published 01/11/2017 with Check Point (Website). The advisory is available at blog.checkpoint.com. This vulnerability was named CVE-2016-7480 since 09/09/2016. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Technical details are known, but there is no available exploit.

The vulnerability was handled as a non-public zero-day exploit for at least 15 days. During that time the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 96806 (Amazon Linux AMI : php70 (ALAS-2017-788)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Amazon Linux Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 11755 (PHP Multiple Remote Code Execution Vulnerabilities).

Upgrading to version 7.0.12 eliminates this vulnerability. A possible mitigation has been published 3 weeks after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (96806) and SecurityFocus (BID 95152†). Similar entries are available at VDB-95041, VDB-95169, VDB-95195 and VDB-101538. If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.5
VulDB 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: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 96806
Nessus Name: Amazon Linux AMI : php70 (ALAS-2017-788)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 850584
OpenVAS Name: SuSE Update for php7 openSUSE-SU-2017:0588-1 (php7)
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 7.0.12
Patch: github.com

Timelineinfo

09/09/2016 🔍
12/27/2016 +109 days 🔍
12/27/2016 +0 days 🔍
01/11/2017 +15 days 🔍
01/11/2017 +0 days 🔍
01/11/2017 +0 days 🔍
01/26/2017 +15 days 🔍
01/27/2017 +1 days 🔍
10/28/2022 +2100 days 🔍

Sourcesinfo

Product: php.org

Advisory: 73257
Organization: Check Point
Status: Not defined
Confirmation: 🔍

CVE: CVE-2016-7480 (🔍)
GCVE (CVE): GCVE-0-2016-7480
GCVE (VulDB): GCVE-100-95170
SecurityFocus: 95152 - PHP CVE-2016-7480 Remote Code Execution Vulnerability
OSVDB: - CVE-2016-7480 - PHP - Code Execution Issue

See also: 🔍

Entryinfo

Created: 01/11/2017 15:04
Updated: 10/28/2022 11:15
Changes: 01/11/2017 15:04 (77), 07/19/2020 12:43 (8), 10/28/2022 11:15 (5)
Complete: 🔍
Cache ID: 216:B60:103

If you want to get best quality of vulnerability data, you may have to visit 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!