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…標題由 nday 產生;CVE 紀錄未附標題。

CVE 紀錄發布前 14 天,即已出現公開 PoC。nday 尚未取得修補依據,不能據此認為沒有修補。4 個 PoC 來源中有 3 個收錄:exploitdb、metasploit 與 nuclei。目前未列入 CISA KEV。

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

目前階段
POC
揭露時間
CVSS
暫無評分

生命週期

橫軸 UTC;點=精確到分鐘,寬條=僅日期,空心=不明或推斷。
時間不明
DIS揭露
2012-06-26T18:00Z
PAT修補
尚無紀錄
ANA分析
尚無紀錄
POCPoC
2012-06-12 僅日期
metasploit、nuclei
ITW遭利用
尚無紀錄
KEVKEV
尚無紀錄

摘要

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.

事件紀錄

2012-06-12僅日期,由來源提供
+POC公開 PoC

Exploit-DB 收錄了公開的漏洞利用程式碼「Oracle MySQL - Authentication Bypass」(EDB-19092)。Exploit-DB 已驗證此程式碼。

來源 exploitdb 19092 · nday 於 批次匯入 · 原始
{
  "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"
  }
}
+DIS揭露

CVE 紀錄由 redhat 發布。

來源 cvelist · nday 於 批次匯入 · 原始
{
  "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"
  }
}
時間不明來源未提供時間
+POC公開 PoC

Metasploit 已有模組 auxiliary/scanner/mysql/mysql_authbypass_hashdump(MySQL Authentication Bypass Password Dump)。來源未提供模組的釋出時間。

來源 metasploit auxiliary/scanner/mysql/mysql_authbypass_hashdump · nday 於 批次匯入 · 原始
{
  "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"
  }
}
時間不明來源未提供時間
+POC公開 PoC

Nuclei 已有偵測範本 CVE-2012-2122(MySQL - Authentication Bypass)。來源未提供範本的釋出時間。

來源 nuclei · nday 於 批次匯入 · 原始
{
  "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.

研究員討論

近 7 天有 0 位研究員提及

名單內研究員在 X 上提及此 CVE 的貼文,照原文呈現,nday 不查核。

尚未收錄名單內研究員在 X 上提及此 CVE 的貼文。

Discussion

0 comments

No comments yet.