nday
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…Titre composé par nday ; la fiche CVE n’en comporte pas.

Preuve de concept publique parue 14 jours avant la publication de la fiche CVE. nday n’a encore aucune trace de correctif ; cela ne veut pas dire qu’il n’en existe pas. Cette vulnérabilité figure dans 3 des 4 sources de PoC : exploitdb, metasploit et nuclei. Aucune inscription au catalogue KEV de la CISA à ce jour.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

authentication bypass
CWE-287, stated by NVD's analysts
network
AV:N in AV:N/AC:H/Au:N/C:P/I:P/A:P (CVSS 2.0) from NVD's analysts
no authentication required
Au:N in AV:N/AC:H/Au:N/C:P/I:P/A:P (CVSS 2.0) from NVD's analysts
Metasploit
Metasploit modules auxiliary/scanner/mysql/mysql_authbypass_hashdump
Exploit-DB
Exploit-DB entries 19092
nuclei
nuclei templates CVE-2012-2122
MySQL
CPE names NVD's analysts give as vulnerable: a:oracle:mysql
MariaDB
CPE names NVD's analysts give as vulnerable: a:mariadb:mariadb
database
CPE names NVD's analysts give as vulnerable: a:mariadb:mariadb, a:oracle:mysqlthe product type of MariaDB et MySQL in nday's product registry

CVSS 2.0 has no user-interaction metric, so “no user interaction” and “remote, unauthenticated” are never assigned from a CVSS 2.0 vector.

étape actuelle
POC
divulgation
CVSS
pas encore de score

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
2012-06-26T18:00Z
PATcorrectif
aucune donnée
ANAanalyse
aucune donnée
POCPoC
2012-06-12, date seule
metasploit, nuclei
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

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.

Original text of the CVE record (cvelist), shown as published.

Journal des événements

2012-06-12date seule, selon la source
+POCPoC publique

Exploit-DB recense un code d’exploitation public : « Oracle MySQL - Authentication Bypass » (EDB-19092). Code vérifié par Exploit-DB.

source exploitdb 19092 · importé en masse par nday le · brut
{
  "id": 27227,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/19092",
  "occurred_at": "2012-06-12T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "19092",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/19092",
    "file": "exploits/multiple/remote/19092.py",
    "kind": "exploit",
    "tags": [],
    "type": "remote",
    "title": "Oracle MySQL - Authentication Bypass",
    "author": "David Kennedy (ReL1K)",
    "edb_id": 19092,
    "cve_ids": [
      "CVE-2012-2122"
    ],
    "platform": "multiple",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2012-06-12",
    "date_updated": "2016-12-05",
    "date_published": "2012-06-12"
  }
}
+DISdivulgation

Fiche CVE publiée par redhat.

source cvelist · importé en masse par nday le · brut
{
  "id": 71861,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2012-2122",
  "occurred_at": "2012-06-26T18:00:00Z",
  "observed_at": "2026-11-13T05:04:30.424475Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2012-06-26T18:00:00.000Z",
    "assigner_short_name": "redhat"
  }
}
date inconnuela source ne donne aucune date
+POCPoC publique

Metasploit propose le module auxiliary/scanner/mysql/mysql_authbypass_hashdump (« MySQL Authentication Bypass Password Dump »). La source n’indique pas la date de publication du module.

source metasploit auxiliary/scanner/mysql/mysql_authbypass_hashdump · importé en masse par nday le · brut
{
  "id": 50188,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/mysql/mysql_authbypass_hashdump.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "auxiliary/scanner/mysql/mysql_authbypass_hashdump",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/mysql/mysql_authbypass_hashdump.rb",
    "kind": "msf_module",
    "path": "/modules/auxiliary/scanner/mysql/mysql_authbypass_hashdump.rb",
    "rank": 300,
    "check": false,
    "title": "MySQL Authentication Bypass Password Dump",
    "cve_ids": [
      "CVE-2012-2122"
    ],
    "fullname": "auxiliary/scanner/mysql/mysql_authbypass_hashdump",
    "rank_name": "normal",
    "confidence": "curated",
    "module_type": "auxiliary",
    "module_last_modified": "2026-06-17 11:11:50 +0000",
    "vuln_disclosure_date": "2012-06-09"
  }
}
date inconnuela source ne donne aucune date
+POCPoC publique

Nuclei propose le modèle de détection CVE-2012-2122 (« MySQL - Authentication Bypass »). La source n’indique pas la date de publication du modèle.

source nuclei · importé en masse par nday le · brut
{
  "id": 57628,
  "type": "poc_published",
  "source": "nuclei",
  "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/javascript/cves/2012/CVE-2012-2122.yaml",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:53.738369Z",
  "is_backfill": true,
  "dedupe_key": "CVE-2012-2122",
  "detail": {
    "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/javascript/cves/2012/CVE-2012-2122.yaml",
    "kind": "detection_template",
    "title": "MySQL - Authentication Bypass",
    "severity": "medium",
    "confidence": "curated",
    "cvss_score": "5.1",
    "template_id": "CVE-2012-2122",
    "template_path": "javascript/cves/2012/CVE-2012-2122.yaml"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.