Skip to main content
← All vulnerabilities
CVE-2012-2122

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 befo

Published
Last modified
published
Not listed in CISA KEV
1 on Exploit-DB, 1 Metasploit module, 5 proofs of concept on GitHub, 1 Nuclei template

Summary

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.

Timeline

  1. Public exploit on Exploit-DB

    EDB-19092

  2. CVE published
  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • n/a n/a

    Version range not reported

References 19

bugs.mysql.com

securityfocus.com

Exploit-DB

secunia.com

security.gentoo.org

lists.opensuse.org

community.rapid7.com

securitytracker.com

seclists.org

kb.askmonty.org

GitHub · rapid7/metasploit-framework

GitHub · projectdiscovery/nuclei-templates

GitHub · Avinza/CVE-2012-2122-scanner

GitHub · CyberCTF/vulhub-mysql-cve-2012-2122

GitHub · cyberharsh/Oracle-mysql-CVE-2012-2122

GitHub · netw0rk7/CVE-2012-2122-Home-Lab

GitHub · zhangkaibin0921/CVE-2012-2122