CVE-2012-2122

Scores

EPSS

0.940High94.0%
0%20%40%60%80%100%

Percentile: 94.0%

CVSS

7.5High2.0
0246810

CVSS Score: 7.5/10

All CVSS Scores

CVSS 2.0
7.5

Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P

Description

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.

Scaner-VS 7 — a modern vulnerability management solution

Uses this database for vulnerability detection. High-speed search, cross-platform, advanced configuration audit, and flexible filtering. Suitable for organizations of any size.
Learn more about Scaner-VS 7

Sources

debiannvdredhatubuntu

CWEs

CWE-287CWE-704

Exploits

Exploit ID: 19092

Source: exploitdb

URL: https://www.exploit-db.com/exploits/19092

Exploit ID: CVE-2012-2122

Source: github-poc

URL: https://github.com/zhangkaibin0921/CVE-2012-2122

Vulnerable Software (11)

Type: Configuration

Product: mysql

Operating System: rhel 6

Trait:
{
  "fixed": "5.1.66-1.el6_3"
}

Source: redhat

Type: Configuration

Product: mysql-5.1

Operating System: debian

Trait:
{
  "unfixed": true
}

Source: debian

Type: Configuration

Product: mysql-5.5

Operating System: debian

Trait:
{
  "fixed": "5.5.24+dfsg-1"
}

Source: debian

Type: Configuration

Product: mysql-dfsg-5.0

Operating System: ubuntu hardy 8.04

Trait:
{
  "fixed": "5.0.96-0ubuntu3"
}

Source: ubuntu

Type: Configuration

Vendor: mariadb

Product: mariadb

Operating System: * * *

Trait:
{
  "cpe_match": [
    {
      "cpe23uri": "cpe:2.3:a:mariadb:mariadb:5.1.41:*:*:*:*:*:*:*",
      "vulnerable": true
    },
    {
      "cpe23uri": "cpe:2.3:a:mariadb:mariadb:5.1.42:*:*:*:*:*:*:*",
 ...

Source: nvd

Type: Configuration

Vendor: mariadb

Product: mariadb

Operating System: * * *

Trait:
{
  "cpe_match": [
    {
      "cpe23uri": "cpe:2.3:a:mariadb:mariadb:5.2.0:*:*:*:*:*:*:*",
      "vulnerable": true
    },
    {
      "cpe23uri": "cpe:2.3:a:mariadb:mariadb:5.2.1:*:*:*:*:*:*:*",
   ...

Source: nvd

Type: Configuration

Vendor: mariadb

Product: mariadb

Operating System: * * *

Trait:
{
  "cpe_match": [
    {
      "cpe23uri": "cpe:2.3:a:mariadb:mariadb:5.3.0:*:*:*:*:*:*:*",
      "vulnerable": true
    },
    {
      "cpe23uri": "cpe:2.3:a:mariadb:mariadb:5.3.1:*:*:*:*:*:*:*",
   ...

Source: nvd

Type: Configuration

Vendor: mariadb

Product: mariadb

Operating System: * * *

Trait:
{
  "cpe_match": [
    {
      "cpe23uri": "cpe:2.3:a:mariadb:mariadb:5.5.20:*:*:*:*:*:*:*",
      "vulnerable": true
    },
    {
      "cpe23uri": "cpe:2.3:a:mariadb:mariadb:5.5.21:*:*:*:*:*:*:*",
 ...

Source: nvd

Type: Configuration

Vendor: oracle

Product: mysql

Operating System: * * *

Trait:
{
  "cpe_match": [
    {
      "cpe23uri": "cpe:2.3:a:oracle:mysql:5.1.51:*:*:*:*:*:*:*",
      "vulnerable": true
    },
    {
      "cpe23uri": "cpe:2.3:a:oracle:mysql:5.1.52:*:*:*:*:*:*:*",
      "...

Source: nvd

Type: Configuration

Vendor: oracle

Product: mysql

Operating System: * * *

Trait:
{
  "cpe_match": [
    {
      "cpe23uri": "cpe:2.3:a:oracle:mysql:5.5.10:*:*:*:*:*:*:*",
      "vulnerable": true
    },
    {
      "cpe23uri": "cpe:2.3:a:oracle:mysql:5.5.11:*:*:*:*:*:*:*",
      "...

Source: nvd