CVE-2012-2122
Last modified
CVE-2012-2122 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 96.19% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Oracle | Mysql | 5.1.51 |
| Oracle | Mysql | 5.1.52 |
| Oracle | Mysql | 5.1.53 |
| Oracle | Mysql | 5.1.54 |
| Oracle | Mysql | 5.1.55 |
| Oracle | Mysql | 5.1.56 |
| Oracle | Mysql | 5.1.57 |
| Oracle | Mysql | 5.1.58 |
| Oracle | Mysql | 5.1.59 |
| Oracle | Mysql | 5.1.60 |
| Oracle | Mysql | 5.1.61 |
| Oracle | Mysql | 5.5.10 |
| Oracle | Mysql | 5.5.11 |
| Oracle | Mysql | 5.5.12 |
| Oracle | Mysql | 5.5.13 |
| Oracle | Mysql | 5.5.14 |
| Oracle | Mysql | 5.5.15 |
| Oracle | Mysql | 5.5.16 |
| Oracle | Mysql | 5.5.17 |
| Oracle | Mysql | 5.5.18 |
| Oracle | Mysql | 5.5.19 |
| Oracle | Mysql | 5.5.20 |
| Oracle | Mysql | 5.5.21 |
| Oracle | Mysql | 5.6.2 |
| Oracle | Mysql | 5.6.3 |
| Oracle | Mysql | 5.6.4 |
| Oracle | Mysql | 5.6.5 |
| Mariadb | Mariadb | 5.1.41 |
| Mariadb | Mariadb | 5.1.42 |
| Mariadb | Mariadb | 5.1.44 |
| Mariadb | Mariadb | 5.1.47 |
| Mariadb | Mariadb | 5.1.49 |
| Mariadb | Mariadb | 5.1.50 |
| Mariadb | Mariadb | 5.1.51 |
| Mariadb | Mariadb | 5.1.53 |
| Mariadb | Mariadb | 5.1.55 |
| Mariadb | Mariadb | 5.1.60 |
| Mariadb | Mariadb | 5.1.61 |
| Mariadb | Mariadb | 5.2.0 |
| Mariadb | Mariadb | 5.2.1 |
| Mariadb | Mariadb | 5.2.2 |
| Mariadb | Mariadb | 5.2.3 |
| Mariadb | Mariadb | 5.2.4 |
| Mariadb | Mariadb | 5.2.5 |
| Mariadb | Mariadb | 5.2.6 |
| Mariadb | Mariadb | 5.2.7 |
| Mariadb | Mariadb | 5.2.8 |
| Mariadb | Mariadb | 5.2.9 |
| Mariadb | Mariadb | 5.2.10 |
| Mariadb | Mariadb | 5.2.11 |
Showing 50 of 60 affected configurations. See NVD for the full list.
References
- http://secunia.com/advisories/49417Vendor Advisory
- http://secunia.com/advisories/49417Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2012-2122?
How severe is CVE-2012-2122?
How do I fix CVE-2012-2122?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2012
- CVE-2012-2116Cross-site request forgery (CSRF) vulnerability in the Comme…
- CVE-2012-2117Cross-site scripting (XSS) vulnerability in the Gigya - Soci…
- CVE-2012-2118Format string vulnerability in the LogVHdrMessageVerb functi…
- CVE-2012-2119Buffer overflow in the macvtap device driver in the Linux ke…
- CVE-2012-2120latex2man in texlive-extra-utils 2011.20120322, and possibly…
- CVE-2012-2121The KVM implementation in the Linux kernel before 3.3.4 does…
- CVE-2012-2123The cap_bprm_set_creds function in security/commoncap.c in t…
- CVE-2012-2124functions/imap_general.php in SquirrelMail, as used in Red H…
- CVE-2012-2125RubyGems before 1.8.23 can redirect HTTPS connections to HTT…
- CVE-2012-2126RubyGems before 1.8.23 does not verify an SSL certificate, w…
- CVE-2012-2127fs/proc/root.c in the procfs implementation in the Linux ker…
- CVE-2012-2128Cross-site request forgery (CSRF) vulnerability in doku.php …
Are you affected by CVE-2012-2122?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
