CVE Intel / CVE-2012-2122

CVE-2012-2122

Mariadb · mariadb, oracle
Patch soon

Public exploit code exists, so attacks usually follow. Schedule the vendor fix ahead of your normal cycle.

Watch your stackFree email alerts
Medium CVSS 5.1not network-detectablepublic exploit: ExploitDB, Metasploit

What it is

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.

Live exploitation on the huntback network (30 days)

0
attempts captured
0
distinct source IPs
not yet seen
last seen

Detection

This CVE is searchable but not currently network-detectable (it needs local or authenticated access, or no wire signature exists yet).
ExploitDBExploit code published (ExploitDB)
MetasploitExploit code published (Metasploit)

Evidence

Weaponised. Exploit code is public but no exploitation is reported yet.

2012-06-26Context · CVE record
Published
undatedWeaponised · ExploitDB
Exploit code published (ExploitDB)
undatedWeaponised · Metasploit
Exploit code published (Metasploit)

Observed: our own decoys saw it. Reported: CISA, the vendor or another named source says so. Weaponised: public exploit code or a scanner template exists. Methodology

Questions

Is CVE-2012-2122 being exploited in the wild?

Not on our sensors so far: the huntback decoy network has not captured an exploitation attempt, and it is not in the CISA KEV catalogue.

Can CVE-2012-2122 be detected on the network?

huntback has no wire signature for CVE-2012-2122 yet; it may need local or authenticated access to exploit.

How huntback helps

Deploy a decoy that emulates Mariadb and you will see every attempt at this CVE the moment it lands, with the full payload, the attacker's infrastructure, and any stage-2 loader. Then huntback can scan the attacker back.

CVSS5.1 Medium
EPSS0.97 (96% pct)
In CISA KEVno
Published2012-06-26
Updated2026-06-16
Network detectableno
Public exploitExploitDB, Metasploit

API

This record, with its evidence timeline, as JSON:

curl -H "X-API-Key: $HUNTBACK_KEY" https://app.huntback.io/api/v1/evidence/CVE-2012-2122

Get a free API key →