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 :

Feb. 21, 2014, 4:50 a.m.

Remotely Exploitable :

Yes !

Impact Score :

6.4

Exploitability Score :

4.9
Public PoC/Exploit Available at Github

CVE-2012-2122 has a 24 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).

Nmap on crack using py

Python

Updated: 3 days, 6 hours 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: 4 months, 4 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: 7 months, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : Jan. 26, 2024, 10:07 a.m. This repo has been linked 161 different CVEs too.

日积月累 漏洞库

Updated: 2 months 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: 9 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: 10 months, 3 weeks 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: 1 month, 1 week ago
24 stars 189 fork 189 watcher
Born at : Sept. 14, 2023, 6:43 p.m. This repo has been linked 2 different CVEs too.

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

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

cve扫描脚本

Python

Updated: 1 year, 4 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: 1 year ago
1 stars 0 fork 0 watcher
Born at : March 17, 2023, 3:41 a.m. This repo has been linked 9 different CVEs too.

None

Python

Updated: 1 week, 4 days ago
565 stars 135 fork 135 watcher
Born at : Nov. 25, 2022, 5:20 a.m. This repo has been linked 174 different CVEs too.

None

Python Jupyter Notebook TeX

Updated: 1 year, 6 months ago
0 stars 0 fork 0 watcher
Born at : July 6, 2022, 11:31 a.m. This repo has been linked 9 different CVEs too.

一个Vulhub漏洞复现知识库

vulnerability exploit

Updated: 1 week, 6 days ago
448 stars 87 fork 87 watcher
Born at : March 3, 2022, 8:38 a.m. This repo has been linked 171 different CVEs too.

一个漏洞POC知识库 目前数量 1000+

poc

Updated: 1 week, 6 days ago
3417 stars 682 fork 682 watcher
Born at : Feb. 20, 2022, 6:43 a.m. This repo has been linked 405 different CVEs too.

None

Updated: 2 months, 2 weeks ago
18 stars 3 fork 3 watcher
Born at : Jan. 6, 2022, 8:19 a.m. This repo has been linked 55 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.

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.

96.79 }} -0.02%

score

0.99699

percentile

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