MySQL up to 5.0.20 sql_base.cc open_table 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.
5.7$0-$5k0.00

Summaryinfo

A vulnerability has been found in MySQL and classified as critical. This impacts the function open_table of the file sql_base.cc. This manipulation causes memory corruption. This vulnerability is handled as CVE-2006-1518. Additionally, an exploit exists. The affected component should be upgraded.

Detailsinfo

A vulnerability classified as critical was found in MySQL (Database Software). Affected by this vulnerability is the function open_table of the file sql_base.cc. 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. The summary by CVE is:

Buffer overflow in the open_table function in sql_base.cc in MySQL 5.0.x up to 5.0.20 might allow remote attackers to execute arbitrary code via crafted COM_TABLE_DUMP packets with invalid length values.

The bug was discovered 05/03/2006. The weakness was released 05/05/2006 by Stefano Di Paola with isec as confirmed advisory (CERT.org). The advisory is shared at kb.cert.org. This vulnerability is known as CVE-2006-1518 since 03/30/2006. The exploitation appears to be easy. The attack can be launched remotely. A single authentication is necessary for exploitation. Technical details and also a public exploit are known.

A public exploit has been developed in ANSI C. It is possible to download the exploit at securityfocus.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 2 days. During that time the estimated underground price was around $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 21492 (FreeBSD : mysql50-server -- COM_TABLE_DUMP arbitrary code execution (a8d8713e-dc83-11da-a22b-000c6ec775d9)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 165149 (SUSE Security Update for MySQL (SUSE-SA:2006:036)).

Upgrading eliminates this vulnerability. A possible mitigation has been published 1 days after the disclosure of the vulnerability. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 4620.

The vulnerability is also documented in the databases at X-Force (26232), Exploit-DB (1741), Tenable (21492), SecurityFocus (BID 17780†) and OSVDB (25227†). Entries connected to this vulnerability are available at VDB-2196, VDB-2197, VDB-2195 and VDB-30060. If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.3
VulDB Meta Temp Score: 5.7

VulDB Base Score: 6.3
VulDB Temp Score: 5.7
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
Programming Language: 🔍
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 21492
Nessus Name: FreeBSD : mysql50-server -- COM_TABLE_DUMP arbitrary code execution (a8d8713e-dc83-11da-a22b-000c6ec775d9)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 56788
OpenVAS Name: Debian Security Advisory DSA 1071-1 (mysql)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
TippingPoint: 🔍
PaloAlto IPS: 🔍
Fortigate IPS: 🔍

Timelineinfo

03/30/2006 🔍
05/02/2006 +33 days 🔍
05/02/2006 +0 days 🔍
05/02/2006 +0 days 🔍
05/03/2006 +1 days 🔍
05/03/2006 +0 days 🔍
05/05/2006 +2 days 🔍
05/05/2006 +0 days 🔍
05/06/2006 +1 days 🔍
05/07/2006 +1 days 🔍
05/13/2006 +6 days 🔍
03/12/2015 +3225 days 🔍
03/02/2025 +3643 days 🔍

Sourcesinfo

Advisory: kb.cert.org
Researcher: Stefano Di Paola
Organization: isec
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2006-1518 (🔍)
GCVE (CVE): GCVE-0-2006-1518
GCVE (VulDB): GCVE-100-30061
CERT: 🔍
X-Force: 26232
SecurityFocus: 17780 - MySQL Remote Information Disclosure and Buffer Overflow Vulnerabilities
Secunia: 19929 - MySQL Information Disclosure and Buffer Overflow Vulnerabilities, Less Critical
OSVDB: 25227 - CVE-2006-1518 - MySQL - Buffer Overflow Issue
SecurityTracker: 1016016
Vulnerability Center: 11342 - MYSQL Arbitrary Code Execution via Buffer Overflow in sql_base.cc, Medium
Vupen: ADV-2006-1633

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

Entryinfo

Created: 03/12/2015 12:19
Updated: 03/02/2025 13:25
Changes: 03/12/2015 12:19 (95), 06/17/2019 14:39 (6), 01/20/2025 06:47 (17), 03/02/2025 13:25 (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.

Do you want to use VulDB in your project?

Use the official API to access entries easily!