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
 

Debian Affected

Updated:  September 15, 2003

Status

Affected

Vendor Statement

We have not received a statement from the vendor.

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 Affected

Updated:  September 15, 2003

Status

Affected

Vendor Statement

We have not received a statement from the vendor.

Vendor Information

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

Addendum

Please see the change logs at:

OpenPKG Affected

Updated:  September 15, 2003

Status

Affected

Vendor Statement

We have not received a statement from the vendor.

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
Temporal
Environmental

References

Acknowledgements

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

Sponsored by CISA.