PHP up to 4.4.2 zend_hash.c unset Remote Code Execution

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

Summaryinfo

A vulnerability identified as very critical has been detected in PHP up to 4.4.2. This impacts the function unset of the file zend_hash.c. The manipulation leads to Remote Code Execution. This vulnerability is traded as CVE-2006-3017. Furthermore, there is an exploit available. You should upgrade the affected component.

Detailsinfo

A vulnerability, which was classified as very critical, has been found in PHP up to 4.4.2 (Programming Language Software). This issue affects the function unset of the file zend_hash.c. The manipulation with an unknown input leads to a remote code execution vulnerability. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

zend_hash_del_key_or_index in zend_hash.c in PHP before 4.4.3 and 5.x before 5.1.3 can cause zend_hash_del to delete the wrong element, which prevents a variable from being unset even when the PHP unset function is called, which might cause the variable s value to be used in security-relevant operations.

The bug was discovered 08/29/2006. The weakness was shared 05/01/2006 by Stefan Esser (Website). The advisory is shared at issues.rpath.com. The identification of this vulnerability is CVE-2006-3017 since 06/14/2006. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details as well as a public exploit are known. The price for an exploit might be around USD at the moment (estimation calculated on 06/23/2019).

The exploit is available at securityfocus.com. It is declared as proof-of-concept. We expect the 0-day to have been worth approximately $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 22310 (PmWiki < 2.1.21 Global Variables Overwriting), 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 117691 (CentOS Security Update for PHP (CESA-2006:0568)).

Upgrading to version 4.4.3 eliminates this vulnerability.

The vulnerability is also documented in the databases at X-Force (27396), Tenable (22310), SecurityFocus (BID 17843†), OSVDB (25255†) and Secunia (SA19927†). The entries VDB-2185, VDB-2200, VDB-2199 and VDB-2202 are related to this item. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

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

VulDB Base Score: 9.8
VulDB Temp Score: 8.8
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Remote Code Execution
CWE: Unknown
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 22310
Nessus Name: PmWiki < 2.1.21 Global Variables Overwriting
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 57567
OpenVAS Name: Debian Security Advisory DSA 1206-1 (php4)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: PHP 4.4.3

Timelineinfo

05/01/2006 🔍
05/04/2006 +3 days 🔍
05/04/2006 +0 days 🔍
05/04/2006 +0 days 🔍
06/14/2006 +40 days 🔍
06/14/2006 +0 days 🔍
06/14/2006 +0 days 🔍
06/15/2006 +1 days 🔍
07/24/2006 +39 days 🔍
08/29/2006 +36 days 🔍
09/06/2006 +8 days 🔍
03/12/2015 +3109 days 🔍
06/23/2019 +1564 days 🔍

Sourcesinfo

Product: php.org

Advisory: issues.rpath.com
Researcher: Stefan Esser
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2006-3017 (🔍)
GCVE (CVE): GCVE-0-2006-3017
GCVE (VulDB): GCVE-100-30809

OVAL: 🔍

X-Force: 27396
SecurityFocus: 17843 - PHP Multiple Unspecified Vulnerabilities
Secunia: 19927 - PHP Multiple Vulnerabilities, Moderately Critical
OSVDB: 25255 - PHP unset() Function Variable Persistence
SecurityTracker: 1016306
Vulnerability Center: 12337 - PHP zend_hash.c Function Allows to Prevent Variable Unsetting, Critical

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

Entryinfo

Created: 03/12/2015 14:25
Updated: 06/23/2019 08:12
Changes: 03/12/2015 14:25 (88), 06/23/2019 08:12 (2)
Complete: 🔍
Cache ID: 216::103

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!