search menu icon-carat-right cmu-wordmark

CERT Coordination Center

MySQL fails to validate length of password field

Vulnerability Note VU#516492

Original Release Date: 2003-09-15 | Last Revised: 2003-09-15

Overview

A vulnerability in MySQL could permit a malicious user to execute arbitrary code on the system.

Description

MySQL is a database system. MySQL contains a buffer overflow vulnerability in the processing of the password field of the MySQL database, specifically "SET PASSWORD". A malicious user who has the permissions to execute the "ALTER TABLE" command on tables in the "mysql" database may be able to exploit this vulnerability. MySQL3 versions 3.0.57 and earlier and MySQL4 versions 4.0.14 and earlier are reported to be vulnerable.

An exploit has been posted publicly

Impact

Exploitation of this vulnerability could allow the malicious user to execute arbitrary code with the privileges of the mysqld process, by default user "mysql".

Solution

This issue is resolved in MySQL versions 3.23.58 and 4.0.15. Upgrade or apply a patch as recommended by your vendor.

Vendor Information

516492
 
Affected   Unknown   Unaffected

Debian

Updated:  September 15, 2003

Status

  Vulnerable

Vendor Statement

No statement is currently available from the vendor regarding this vulnerability.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

Please see, http://www.debian.org/security/2003/dsa-381

If you have feedback, comments, or additional information about this vulnerability, please send us email.

MySQL

Updated:  September 15, 2003

Status

  Vulnerable

Vendor Statement

No statement is currently available from the vendor regarding this vulnerability.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

Please see the change logs at:

OpenPKG

Updated:  September 15, 2003

Status

  Vulnerable

Vendor Statement

No statement is currently available from the vendor regarding this vulnerability.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

Please see, http://www.openpkg.org/security/OpenPKG-SA-2003.038-mysql.html

If you have feedback, comments, or additional information about this vulnerability, please send us email.


CVSS Metrics

Group Score Vector
Base N/A N/A
Temporal N/A N/A
Environmental N/A

References

Credit

Thanks to Jedi/Sector One for reporting this vulnerability.

This document was written by Jason A Rafail.

Other Information

CVE IDs: CVE-2003-0780
Severity Metric: 1.69
Date Public: 2003-09-10
Date First Published: 2003-09-15
Date Last Updated: 2003-09-15 17:48 UTC
Document Revision: 5

Sponsored by the Department of Homeland Security Office of Cybersecurity and Communications.