MySQL Authentication Bypass Vulnerability

BID:10654

Info

MySQL Authentication Bypass Vulnerability

Bugtraq ID: 10654
Class: Access Validation Error
CVE:
Remote: Yes
Local: No
Published: Jul 05 2004 12:00AM
Updated: Jul 05 2004 12:00AM
Credit: Discovery is credited to Chris Anley.
Vulnerable: MySQL AB MySQL 5.0 .0-alpha
MySQL AB MySQL 5.0 .0-0
MySQL AB MySQL 4.1.2 -alpha
MySQL AB MySQL 4.1.0.0-alpha
MySQL AB MySQL 4.1.0-0
Not Vulnerable: MySQL AB MySQL 4.1.3 -beta
MySQL AB MySQL 4.1.3 -0

Discussion

MySQL Authentication Bypass Vulnerability

MySQL is prone to a vulnerability that may permit remote clients to bypass authentication.

This is due to a logic error in the server when handling client-supplied length values for password strings.

Successful exploitation will yield unauthorized access to the database.

This issue is known to exist in MySQL 4.1 releases prior to 4.1.3 and MySQL 5.0.

Exploit / POC

MySQL Authentication Bypass Vulnerability

The researchers who discovered this vulnerability have developed working exploit code that is not publicly available or known to be circulating in the wild.

A proof of concept exploit has been provided by Eli Kara <[email protected]>.

A diff file designed for patching the MySQL 5.0.0 alpha source has been provided by [email protected]. Once patched the malicious client will be able to authenticate to the vulnerable server by providing no password and a valid username.

Solution / Fix

MySQL Authentication Bypass Vulnerability

Solution:
This issue has been addressed in MySQL 4.1.3 releases. Recent builds of 5.0 reportedly also address this issue, but users are advised to contact the vendor for further details.


MySQL AB MySQL 4.1.0.0-alpha

MySQL AB MySQL 4.1.0-0

MySQL AB MySQL 4.1.2 -alpha

References

MySQL Authentication Bypass Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report