Sun MySQL up to 5.0.20 Packet sql_parse.cc COM_TABLE_DUMP 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.8$0-$5k0.00

A vulnerability classified as critical has been found in Sun MySQL up to 5.0.20 (Database Software). Affected is the function COM_TABLE_DUMP of the file sql_parse.cc of the component Packet Handler. 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. CVE summarizes:

The check_connection function in sql_parse.cc in MySQL 4.0.x up to 4.0.26, 4.1.x up to 4.1.18, and 5.0.x up to 5.0.20 allows remote attackers to read portions of memory via a username without a trailing null byte, which causes a buffer over-read.

The weakness was released 05/03/2006 by Stefano Di Paola with isec (Website). The advisory is shared for download at dev.mysql.com. This vulnerability is traded as CVE-2006-1516 since 03/30/2006. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Technical details and a public exploit are known.

After even before and not, there has been an exploit disclosed. The exploit is shared for download at exploit-db.com. It is declared as functional. 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 $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 17697 (MySQL < 4.0.27 / 4.1.19 / 5.0.21 Multiple Vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Databases and running in the context r. The commercial vulnerability scanner Qualys is able to test this issue with plugin 117705 (CentOS Security Update for MySQL (CESA-2006:0544)).

Upgrading eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at dev.mysql.com. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published 2 months after the disclosure of the vulnerability. Attack attempts may be identified with Snort ID 16020.

The vulnerability is also documented in the databases at X-Force (26236), Tenable (17697) and Exploit-DB (1742). Entries connected to this vulnerability are available at 2065, 2197, 2195 and 30061.

Productinfo

Type

Vendor

Name

Version

License

Support

  • end of life

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 6.8

VulDB Base Score: 7.3
VulDB Temp Score: 6.8
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: 🔍

Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Functional
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 17697
Nessus Name: MySQL < 4.0.27 / 4.1.19 / 5.0.21 Multiple Vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

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

Patch: dev.mysql.com

Snort ID: 16020

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 +1 days 🔍
05/05/2006 +0 days 🔍
06/01/2006 +27 days 🔍
06/23/2006 +22 days 🔍
11/18/2011 +1974 days 🔍
04/29/2019 +2719 days 🔍

Sourcesinfo

Vendor: oracle.com

Advisory: dev.mysql.com
Researcher: Stefano Di Paola
Organization: isec
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2006-1516 (🔍)
OVAL: 🔍

X-Force: 26236 - MySQL login packet information disclosure, Medium Risk
SecurityTracker: 1016017
SecurityFocus: 17780 - MySQL Remote Information Disclosure and Buffer Overflow Vulnerabilities
Secunia: 20762 - SUSE update for mysql, Less Critical
OSVDB: 25226 - MySQL Malformed Login Packet Remote Memory Disclosure
Vupen: ADV-2006-1633

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

Entryinfo

Created: 05/05/2006 17:40
Updated: 04/29/2019 16:01
Changes: 05/05/2006 17:40 (105), 04/29/2019 16:01 (1)
Complete: 🔍
Cache ID: 18:616

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!