5.1
MEDIUM
CVE-2012-2122
Oracle MySQL/MariaDB SQL Heap-Based Buffer Overflow Authentication Bypass
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.

INFO

Published Date :

June 26, 2012, 6:55 p.m.

Last Modified :

Nov. 21, 2024, 1:38 a.m.

Remotely Exploitable :

Yes !

Impact Score :

6.4

Exploitability Score :

4.9
Public PoC/Exploit Available at Github

CVE-2012-2122 has a 29 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2012-2122 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Oracle mysql
1 Mariadb mariadb

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

"Walkthrough for Metasploitable-2"

Updated: 1 month, 1 week ago
0 stars 0 fork 0 watcher
Born at : Feb. 5, 2025, 6:48 p.m. This repo has been linked 5 different CVEs too.

基于Docker-Compose的预构建漏洞环境设计源码 Docker-Compose 漏洞环境 Java Python Shell 该项目是一套基于Docker-Compose的预构建漏洞环境设计源码,涵盖了1684个文件,其中包括405个PNG图像文件、319个Markdown文档、218个YAML配置文件、68个Java源文件、67个Python脚本、62个Shell脚本、53个XML文件、34个PHP文件以及多个Dockerfile。该环境集成了Java, Python, Shell, PHP, HTML, JavaScript, CSS, Ruby等多种编程语言,旨在为安全研究提供易用的漏洞测试平台。

Updated: 3 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Nov. 29, 2024, 4:05 a.m. This repo has been linked 127 different CVEs too.

基于Python主导的Python、C、Java多语言知识库设计源码 Python 知识库 C语言 Java 多语言开发 该项目是以Python为核心,融合Python、C和Java语言的综合性知识库设计源码,总计包含211个文件,涵盖79个PNG图片文件、58个Markdown文件、53个Python脚本文件、4个XML文件、3个JPG文件、3个C语言文件、2个Java文件、2个CSV文件、2个文本文件、1个Git忽略文件。此知识库为李永健个人定制,旨在整理和存储各类编程知识和技术资料。

Updated: 3 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Nov. 28, 2024, 8:19 a.m. This repo has been linked 5 different CVEs too.

A curated collection of Proof of Concept (PoC) tools, scripts, and techniques designed for red team operations, penetration testing, and cybersecurity research. This repository focuses on providing practical resources for exploring vulnerabilities

attack cybersecurity exp hw penetration-testing poc red-team security-tools vulnerability-poc

Updated: 1 month, 2 weeks ago
5 stars 2 fork 2 watcher
Born at : Nov. 17, 2024, 11:53 a.m. This repo has been linked 414 different CVEs too.

يركز هذا المستودع على تقديم اساسيات اداة (نماب)باللغة العربية للمبتدئين

Updated: 4 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : Nov. 5, 2024, 1:54 p.m. This repo has been linked 2 different CVEs too.

Nmap on crack using py

Python

Updated: 5 months, 3 weeks ago
1 stars 0 fork 0 watcher
Born at : Sept. 16, 2024, 4:42 a.m. This repo has been linked 7 different CVEs too.

日积月累 漏洞库

Updated: 10 months, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : April 21, 2024, 5:03 a.m. This repo has been linked 28 different CVEs too.

None

Updated: 2 months, 2 weeks ago
3 stars 1 fork 1 watcher
Born at : Jan. 26, 2024, 10:07 a.m. This repo has been linked 161 different CVEs too.

日积月累 漏洞库

Updated: 7 months, 3 weeks ago
9 stars 1 fork 1 watcher
Born at : Dec. 15, 2023, 9:20 a.m. This repo has been linked 28 different CVEs too.

None

Go

Updated: 1 year, 2 months ago
0 stars 0 fork 0 watcher
Born at : Dec. 1, 2023, 9:16 a.m. This repo has been linked 1 different CVEs too.

None

Updated: 1 year, 4 months ago
0 stars 0 fork 0 watcher
Born at : Oct. 28, 2023, 1:46 a.m. This repo has been linked 1 different CVEs too.

🐳 docker-compose 를 활용한 취약한 환경 구성 및 검증 (vulhub 한글판)

docker docker-compse vulnerability-environment

Python

Updated: 5 months, 3 weeks ago
23 stars 186 fork 186 watcher
Born at : Sept. 14, 2023, 6:43 p.m. This repo has been linked 2 different CVEs too.

在公网收集的gobypoc+部分自己加的poc

Updated: 1 month, 1 week ago
108 stars 7 fork 7 watcher
Born at : July 28, 2023, 4:28 p.m. This repo has been linked 296 different CVEs too.

cve扫描脚本

Python

Updated: 1 year, 10 months ago
5 stars 1 fork 1 watcher
Born at : April 17, 2023, 2:57 a.m. This repo has been linked 12 different CVEs too.

...

Updated: 3 months ago
0 stars 0 fork 0 watcher
Born at : March 17, 2023, 3:41 a.m. This repo has been linked 9 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2012-2122 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2012-2122 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://bugs.mysql.com/bug.php?id=64884
    Added Reference http://kb.askmonty.org/en/mariadb-5162-release-notes/
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2012-08/msg00007.html
    Added Reference http://seclists.org/oss-sec/2012/q2/493
    Added Reference http://secunia.com/advisories/49417
    Added Reference http://secunia.com/advisories/53372
    Added Reference http://security.gentoo.org/glsa/glsa-201308-06.xml
    Added Reference http://securitytracker.com/id?1027143
    Added Reference http://www.exploit-db.com/exploits/19092
    Added Reference http://www.securityfocus.com/bid/53911
    Added Reference https://community.rapid7.com/community/metasploit/blog/2012/06/11/cve-2012-2122-a-tragically-comedic-security-flaw-in-mysql
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Jun. 27, 2012

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2012-2122 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

95.70 }} -1.09%

score

0.99575

percentile

CVSS2 - Vulnerability Scoring System
Access Vector
Access Complexity
Authentication
Confidentiality
Integrity
Availability