RETIRED: MySQL and MariaDB 'sql/password.c' Authentication Bypass Vulnerability

BID:53922

Info

RETIRED: MySQL and MariaDB 'sql/password.c' Authentication Bypass Vulnerability

Bugtraq ID: 53922
Class: Design Error
CVE: CVE-2012-2122
Remote: Yes
Local: No
Published: Jun 11 2012 12:00AM
Updated: Jun 17 2012 12:01AM
Credit: Sergei Golubchik
Vulnerable: MySQL AB MySQL 5.5.22
MySQL AB MySQL 5.1.61
MySQL AB MySQL 5.1.60
MySQL AB MySQL 5.1.52
MySQL AB MySQL 5.1.51
MySQL AB MySQL 5.1.50
MySQL AB MySQL 5.1.49
MySQL AB MySQL 5.1.48
MySQL AB MySQL 5.1.47
MySQL AB MySQL 5.1.46
MySQL AB MySQL 5.1.45
MySQL AB MySQL 5.1.44
MySQL AB MySQL 5.1.43
MySQL AB MySQL 5.1.42
MySQL AB MySQL 5.1.42
MySQL AB MySQL 5.1.41
MySQL AB MySQL 5.1.39
MySQL AB MySQL 5.1.38
MySQL AB MySQL 5.1.37
MySQL AB MySQL 5.1.36
MySQL AB MySQL 5.1.35
MySQL AB MySQL 5.1.34
MySQL AB MySQL 5.1.33
MySQL AB MySQL 5.1.32
MySQL AB MySQL 5.1.31
MySQL AB MySQL 5.1.30
MySQL AB MySQL 5.1.26
MySQL AB MySQL 5.1.23
MySQL AB MySQL 5.1.22
MySQL AB MySQL 5.1.21
MySQL AB MySQL 5.1.20
MySQL AB MySQL 5.1.18
MySQL AB MySQL 5.1.17
MySQL AB MySQL 5.1.16
MySQL AB MySQL 5.1.15
MySQL AB MySQL 5.1.14
MySQL AB MySQL 5.1.13
MySQL AB MySQL 5.1.12
MySQL AB MySQL 5.1.11
MySQL AB MySQL 5.1.10
MySQL AB MySQL 5.1.6
MySQL AB MySQL 5.1.5
MySQL AB MySQL 5.1.4
MySQL AB MySQL 5.1.3
MySQL AB MySQL 5.1.2
MySQL AB MySQL 5.1.1 8
MySQL AB MySQL 5.1.5A
MySQL AB MySQL 5.1.46 Sp1
MySQL AB MySQL 5.1.43 Sp1
MySQL AB MySQL 5.1.40 Sp1
MySQL AB MySQL 5.1.40
MySQL AB MySQL 5.1.37 Sp1
MySQL AB MySQL 5.1.34 Sp1
MySQL AB MySQL 5.1.32-Bzr
MySQL AB MySQL 5.1.31 Sp1
MySQL AB MySQL 5.1.29
MySQL AB MySQL 5.1.28
MySQL AB MySQL 5.1.27
MySQL AB MySQL 5.1.25
MySQL AB MySQL 5.1.24
MySQL AB MySQL 5.1.23A
MySQL AB MySQL 5.1.23 Bk
MySQL AB MySQL 5.1.23 A
MySQL AB MySQL 5.1.19
MySQL AB MySQL 5.1
Not Vulnerable:

Discussion

RETIRED: MySQL and MariaDB 'sql/password.c' Authentication Bypass Vulnerability

MySQL and MariaDB are prone to an authentication-bypass vulnerability.

Attackers can exploit this issue to gain unauthorized access to the affected application.

Note: This BID is being retired as a duplicate of BID 53911 (Oracle MySQL CVE-2012-2122 User Login Security Bypass Vulnerability).

Exploit / POC

RETIRED: MySQL and MariaDB 'sql/password.c' Authentication Bypass Vulnerability

Attackers can exploit this issue using a browser or readily available tools.

Solution / Fix

RETIRED: MySQL and MariaDB 'sql/password.c' Authentication Bypass Vulnerability

Solution:
Updates are available. Please see the references for more information.

References

RETIRED: MySQL and MariaDB 'sql/password.c' 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