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 记录未提供标题。

公开 PoC 早于 CVE 记录发布 14 天出现。本站尚未获取修复依据,不能据此认为没有补丁。PoC 来源中 exploitdb、metasploit、nuclei 已收录(3/4)。尚未列入 CISA KEV。

标签 漏洞类型authentication bypass 攻击途径网络无需认证 利用情况MetasploitExploit-DBnuclei 产品MySQLMariaDB 产品类型数据库
这些标签的依据

这些标签由 nday 按固定规则从下列事实自动推导,不是 NVD、编号分配方或其他来源给出的。全部标签和规则见 ~/tags。

authentication bypass
CWE-287(来源:NVD 分析人员)
网络
NVD 分析人员 给出的 AV:N/AC:H/Au:N/C:P/I:P/A:P(CVSS 2.0)中的 AV:N
无需认证
NVD 分析人员 给出的 AV:N/AC:H/Au:N/C:P/I:P/A:P(CVSS 2.0)中的 Au:N
Metasploit
Metasploit 模块 auxiliary/scanner/mysql/mysql_authbypass_hashdump
Exploit-DB
Exploit-DB 条目 19092
nuclei
nuclei 模板 CVE-2012-2122
MySQL
NVD 分析人员标为易受攻击的 CPE 名称:a:oracle:mysql
MariaDB
NVD 分析人员标为易受攻击的 CPE 名称:a:mariadb:mariadb
数据库
NVD 分析人员标为易受攻击的 CPE 名称:a:mariadb:mariadb、a:oracle:mysqlnday 产品登记表中 MariaDB、MySQL 的产品类型

CVSS 2.0 没有用户交互指标,所以依据 CVSS 2.0 向量时不会给出“无需用户交互”和“远程未授权”。

当前阶段
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.

以上是 CVE 记录(cvelist)中的原文,未经改写。

事件记录

2012-06-12日精度,来源给出
+POC公开 PoC

Exploit-DB 收录公开利用代码《Oracle MySQL - Authentication Bypass》(EDB-19092)。已由 Exploit-DB 验证。

来源 exploitdb 19092 · 本站 批量导入 · 原始记录
{
  "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 · 本站 批量导入 · 原始记录
{
  "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 · 本站 批量导入 · 原始记录
{
  "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 · 本站 批量导入 · 原始记录
{
  "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"
  }
}

纠错

报告错误或缺失

页面有误或缺失?告诉编辑;采纳后在本页修订记录公开说明,上游数据不会被改动。

研究员讨论

近 7 天有 0 位研究员提到

研究员在 X 上提到此 CVE 的帖子,原文照录,nday 不核实。

尚未采集到名单内研究员在 X 上提到此 CVE 的帖子。

讨论

0 条评论

还没有评论。