PHP 4.3.10/4.4.0/4.4.1/4.4.2 on Windows mysql_connect memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.6 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Type
Name
Version
License
Website
- Product: https://www.php.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 6.6
VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Patch: php.net
Timeline
01/04/2006 🔍01/05/2006 🔍
01/05/2006 🔍
01/05/2006 🔍
01/06/2006 🔍
01/06/2006 🔍
01/06/2006 🔍
01/06/2006 🔍
04/11/2006 🔍
09/05/2019 🔍
Sources
Product: php.orgAdvisory: 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
Entry
Created: 01/06/2006 11:35Updated: 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.
No comments yet. Languages: en.
Please log in to comment.