Back to CVE catalog
CVE-2012-5627

Unchanged salt in change_user command in MySQL and MariaDB

Multiple products

At a glance

Oracle MySQL and MariaDB 5.5.x before 5.5.29, 5.3.x before 5.3.12, and 5.2.x before 5.2.14 does not modify the salt during multiple executions of the change_user command within the same connection which makes it easier for remote authenticated users to conduct brute force password guessing attacks.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityPartial
IntegrityNone
AvailabilityNone

CVSS summary v2.0

4.0Medium
Published:
Updated:
EPSS:
11.413%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:mariadbmariadbAffected versions:
≥ 5.2.0, < 5.2.14Show full version range for mariadb
≥ 5.3.0, < 5.3.12≥ 5.5.0, < 5.5.2910.0.0
Vendor:oraclemysqlAffected versions:
≥ 5.5.0, < 5.5.29
Vendor:redhatmysql
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for mysql
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatmysql-bench
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for mysql-bench
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatmysql-devel
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for mysql-devel
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatmysql-embedded
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for mysql-embedded
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatmysql-embedded-devel
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for mysql-embedded-devel
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatmysql-libs
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for mysql-libs
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatmysql-server
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for mysql-server
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatmysql-test
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for mysql-test
  • Other versions are affected by default; consult the source for exceptions.

1–10 of 89 · Page 1 of 9

CVSS scores and metrics4
[email protected] · NVD (Primary)Primary4.0 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
None
Availability
None
Attack vector
Network
Authentication
Single

Source vector

AV:N/AC:L/Au:S/C:P/I:N/A:N
nvd · Wazuh CTI (cna)4.0 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
None
Availability
None
Attack vector
Network
Authentication
Single

Source vector

AV:N/AC:L/Au:S/C:P/I:N/A:N
redhat · Wazuh CTI (adp)2.6 / 10LowCVSS 2.0Details
Attack complexity
High
Confidentiality
Partial
Integrity
None
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:H/Au:N/C:P/I:N/A:N
Red Hat · Red Hat VEX (adp)2.6 / 10LowCVSS 2.0Details
Attack complexity
High
Confidentiality
Partial
Integrity
None
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:H/Au:N/C:P/I:N/A:N

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories19

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences