CVE-2012-2122

published 26 Jun 2012 · updated 6 Aug 2024

sql/password.c in Oracle MySQL 5.1.x before 5.1.63, 5.5.x before 5.5.24, and 5.6.x before 5.6.6, and MariaDB 5.1.x before 5.1.62, 5.2.x…

7.0HighEPSS 97%3 public exploits

3 public exploits exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 97%. No fixed version is recorded.

sql/password.c in Oracle MySQL 5.1.x before 5.1.63, 5.5.x before 5.5.24, and 5.6.x before 5.6.6, and MariaDB 5.1.x before 5.1.62, 5.2.x before 5.2.12, 5.3.x before 5.3.6, and 5.5.x before 5.5.23, when running in certain environments with certain implementations of the memcmp function, allows remote attackers to bypass authentication by repeatedly authenticating with the same incorrect password, which eventually causes a token comparison to succeed due to an improperly-checked return value.

Exploit evidence

3 public sources

exploitdb

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2012-2122 severity on Zeptric[![CVE-2012-2122](https://zeptric.io/badge/cve/CVE-2012-2122.svg)](https://zeptric.io/cve/CVE-2012-2122)