MySQL Authentication Protocol Token Comparison Casting Failure Password Bypass

High Nessus Plugin ID 61393


The remote database server can be accessed without a valid password.


A flaw in the MySQL server allows remote users to authenticate without a valid password due to a failure when casting a randomly generated token and comparing it to an expected value.


Upgrade to MySQL 5.1.63 / 5.5.24 or later.

See Also

Plugin Details

Severity: High

ID: 61393

File Name: mysql_auth_bypass.nasl

Version: 1.11

Type: remote

Family: Databases

Published: 2012/08/02

Modified: 2018/11/15

Dependencies: 11153

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 7.5

Temporal Score: 6.2

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:F/RL:OF/RC:C

Vulnerability Information

CPE: cpe:/a:mysql:mysql, cpe:/a:oracle:mysql

Excluded KB Items: global_settings/supplied_logins_only

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2012/05/07

Vulnerability Publication Date: 2012/05/07

Exploitable With


Reference Information

CVE: CVE-2012-2122

BID: 53911

EDB-ID: 19092