CVE-2012-2122
MEDIUM 5.1EPSS 96.5%
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.
- CVSS v2.0
- 5.1 MEDIUM
AV:N/AC:H/Au:N/C:P/I:P/A:P - EPSS
- 96.50% chance of exploitation in the next 30 days, 100th percentile
- Nuclei
- medium · CWE-287
- Published
- 2012-06-26
- Updated
- 2024-08-06
Proof-of-concept exploits (6)
- http://www.exploit-db.com/exploits/19092
- cyberharsh/Oracle-mysql-CVE-2012-21221★ · 2020-06-24
- subinyy/docker_CVE_2012_21220★ · 2025-04-27
- yunkihong-dev/Vulhub0★ · 2025-09-12
- zhangkaibin0921/CVE-2012-21220★ · 2023-12-01
- K3ysTr0K3R/CVE-2012-2122