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…Título compuesto por nday; el registro CVE no tiene título.

Apareció una PoC pública 14 días antes de que se publicara el registro CVE. nday aún no tiene constancia de una corrección; eso no significa que no exista parche. La recogen 3 de las 4 fuentes de PoC: exploitdb, metasploit y nuclei. No figura en el KEV de CISA.

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 y 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.

etapa
POC
divulgación
cvss
sin puntuación aún

Ciclo de vida

Eje x en UTC; punto = minuto exacto, barra ancha = solo fecha, hueco = desconocida o inferida.
fecha desconocida
DISdivulgada
2012-06-26T18:00Z
PATparcheada
sin registro aún
ANAanalizada
sin registro aún
POCPoC
2012-06-12, solo fecha
metasploit, nuclei
ITWexplotada
sin registro aún
KEVen KEV
sin registro aún

Descripción

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.

Registro de eventos

2012-06-12solo fecha, según la fuente
+POCPoC pública

Exploit-DB recoge el exploit público «Oracle MySQL - Authentication Bypass» (EDB-19092). Verificado por Exploit-DB.

fuente exploitdb 19092 · nday , importación masiva · en bruto
{
  "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"
  }
}
+DISdivulgación

redhat publicó el registro CVE.

fuente cvelist · nday , importación masiva · en bruto
{
  "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"
  }
}
se desconocela fuente no indica fecha
+POCPoC pública

Metasploit incluye el módulo auxiliary/scanner/mysql/mysql_authbypass_hashdump (MySQL Authentication Bypass Password Dump). La fuente no indica cuándo se publicó el módulo.

fuente metasploit auxiliary/scanner/mysql/mysql_authbypass_hashdump · nday , importación masiva · en bruto
{
  "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"
  }
}
se desconocela fuente no indica fecha
+POCPoC pública

Nuclei tiene la plantilla de detección CVE-2012-2122 (MySQL - Authentication Bypass). La fuente no indica cuándo se publicó la plantilla.

fuente nuclei · nday , importación masiva · en bruto
{
  "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.

Debate de investigadores

0 investigadores lo mencionaron en los últimos 7 días

Publicaciones en X de investigadores de la lista de nday que mencionan este CVE, tal como se publicaron. nday no las verifica.

nday aún no ha recopilado publicaciones en X de investigadores de su lista sobre este CVE.

Discussion

0 comments

No comments yet.