Executive Summary

Summary
Title Multiple MySQL vulnerabilities
Informations
Name DSA-212 First vendor Publication 2002-12-17
Vendor Debian Last vendor Modification 2002-12-17
Severity (Vendor) N/A Revision 1

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:L/Au:N/C:P/I:P/A:P)
Cvss Base Score 7.5 Attack Range Network
Cvss Impact Score 6.4 Attack Complexity Low
Cvss Expoit Score 10 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

While performing an audit of MySQL e-matters found several problems:

* signed/unsigned problem in COM_TABLE_DUMP Two sizes were taken as signed integers from a request and then cast to unsigned integers without checking for negative numbers. Since the resulting numbers where used for a memcpy() operation this could lead to memory corruption.

* Password length handling in COM_CHANGE_USER When re-authenticating to a different user MySQL did not perform all checks that are performed on initial authentication. This created two problems: * it allowed for single-character password brute forcing (as was fixed in February 2000 for initial login) which could be used by a normal user to gain root privileges to the database * it was possible to overflow the password buffer and force the server to execute arbitrary code

* read_rows() overflow in libmysqlclient When processing the rows returned by a SQL server there was no check for overly large rows or terminating NUL characters. This can be used to exploit SQL clients if they connect to a compromised MySQL server.

* read_one_row() overflow in libmysqlclient When processing a row as returned by a SQL server the returned field sizes were not verified. This can be used to exploit SQL clients if they connect to a compromised MySQL server.

For Debian GNU/Linux 3.0/woody this has been fixed in version 3.23.49-8.2 and version 3.22.32-6.3 for Debian GNU/Linux 2.2/potato.

We recommend that you upgrade your mysql packages as soon as possible.

Original Source

Url : http://www.debian.org/security/2002/dsa-212

CWE : Common Weakness Enumeration

% Id Name

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 47
Application 8
Application 7

OpenVAS Exploits

Date Description
2008-01-17 Name : Debian Security Advisory DSA 212-1 (mysql)
File : nvt/deb_212_1.nasl

Open Source Vulnerability Database (OSVDB)

Id Description
8889 MySQL COM_TABLE_DUMP Package Negative Integer DoS

MySQL contains a flaw that may allow a remote denial of service. The issue is triggered when a specially crafted packet is sent containing negative values that are not validated occurs, and will result in loss of availability for the service.
8888 MySQL COM_CHANGE_USER Command Long Repsonse Overflow

A remote overflow exists in MySQL. The MySQL fails to validate the password variable in the COM_CHANGE_USER command resulting in a stack overflow. With a specially crafted request, an attacker can cause overwrite the saved instruction pointer resulting in a loss of integrity.
8887 MySQL COM_CHANGE_USER Command One Character Password Brute Force

MySQL 4.0.5a contains a flaw in the COM_CHANGE_USER function that may lead to an unauthorized password exposure. It is possible to gain access to another user's credentials, such as root, by brute-force guessing only the first character of the target's password.
8886 MySQL libmysqlclient Library read_one_row Overflow

8885 MySQL libmysqlclient Library read_rows Overflow

Nessus® Vulnerability Scanner

Date Description
2004-09-29 Name : The remote Debian host is missing a security-related update.
File : debian_DSA-212.nasl - Type : ACT_GATHER_INFO
2004-07-31 Name : The remote Mandrake Linux host is missing one or more security updates.
File : mandrake_MDKSA-2002-087.nasl - Type : ACT_GATHER_INFO
2004-07-06 Name : The remote Red Hat host is missing one or more security updates.
File : redhat-RHSA-2002-289.nasl - Type : ACT_GATHER_INFO
2002-12-12 Name : The remote database server could be disabled remotely.
File : mysql_multiple_flaws.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
Date Informations
2014-02-17 11:29:42
  • Multiple Updates