PHP 4.3.10/4.4.0/4.4.1/4.4.2 on Windows mysql_connect 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.
6.6$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as problematic, has been found in PHP 4.3.10/4.4.0/4.4.1/4.4.2 on Windows. Affected by this vulnerability is the function mysql_connect. Performing a manipulation results in memory corruption. This vulnerability is reported as CVE-2006-0097. The attack is possible to be carried out remotely. Moreover, an exploit is present. It is advisable to upgrade the affected component.

Detailsinfo

A vulnerability, which was classified as critical, was found in PHP 4.3.10/4.4.0/4.4.1/4.4.2 on Windows (Programming Language Software). This affects the function mysql_connect. The manipulation with an unknown input leads to a memory corruption vulnerability. CWE is classifying the issue as 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. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

Stack-based buffer overflow in the create_named_pipe function in libmysql.c in PHP 4.3.10 and 4.4.x before 4.4.3 for Windows allows attackers to execute arbitrary code via a long (1) arg_host or (2) arg_unix_socket argument, as demonstrated by a long named pipe variable in the host argument to the mysql_connect function.

The weakness was disclosed 01/05/2006 by mercenary (Website). It is possible to read the advisory at lists.grok.org.uk. This vulnerability is uniquely identified as CVE-2006-0097 since 01/06/2006. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details and a public exploit are known.

After before and not just, there has been an exploit disclosed. The exploit is shared for download at exploit-db.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 1 days. During that time the estimated underground price was around $5k-$25k.

Upgrading eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at php.net. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the databases at X-Force (23990), Exploit-DB (1406), SecurityFocus (BID 16145†), OSVDB (22232†) and Secunia (SA18275†). Statistical analysis made it clear that VulDB provides the best quality 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.6

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

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: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Patch: php.net

Timelineinfo

01/04/2006 🔍
01/05/2006 +1 days 🔍
01/05/2006 +0 days 🔍
01/05/2006 +0 days 🔍
01/06/2006 +0 days 🔍
01/06/2006 +0 days 🔍
01/06/2006 +0 days 🔍
01/06/2006 +0 days 🔍
04/11/2006 +95 days 🔍
09/05/2019 +4895 days 🔍

Sourcesinfo

Product: php.org

Advisory: lists.grok.org.uk
Researcher: mercenary
Status: Not defined
Confirmation: 🔍

CVE: CVE-2006-0097 (🔍)
GCVE (CVE): GCVE-0-2006-0097
GCVE (VulDB): GCVE-100-1947
X-Force: 23990
SecurityFocus: 16145 - PHP MySQL_Connect Remote Buffer Overflow Vulnerability
Secunia: 18275 - PHP "mysql_connect" Buffer Overflow Vulnerability, Less Critical
OSVDB: 22232 - PHP Pipe Variable mysql_connect() Function Overflow
Vulnerability Center: 11034 - PHP mysql_connect Buffer Overflow Allows Arbitrary Code Execution, Medium
Vupen: ADV-2006-0046

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

Entryinfo

Created: 01/06/2006 11:35
Updated: 09/05/2019 13:33
Changes: 01/06/2006 11:35 (69), 09/05/2019 13:33 (11)
Complete: 🔍
Cache ID: 216::103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!