CVE-2012-5627: Medium severity oracle mysql vulnerability

Published Dec 5, 2012
·
Updated

A vulnerability was found in the handling of password salt values in MySQL. When a user logs into MySQL a salt value is generated that is then used to prevent password guessing attacks (since the salt value must be known in order to send a password). This salt value is created at the start of a session and used for the entire session, once authenticated an attacker can use the MySQL "changeuser" command to attempt to login as a different, as the salt value is known a password guessing attack will be much more efficient.

Reference: http://seclists.org/fulldisclosure/2012/Dec/58

Other sources

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 changeuser command within the same connection which makes it easier for remote authenticated users to conduct brute force password guessing attacks.

MITRE

Affected Software

5 affected components
ORACLE MySQL>=5.5.0<5.5.29
MariaDB MariaDB>=5.2.0<5.2.14
MariaDB MariaDB>=5.3.0<5.3.12
MariaDB MariaDB>=5.5.0<5.5.29
MariaDB MariaDB=10.0.0

Event History

Dec 5, 2012
Data Sourced
via Red Hat·06:59 AM
DescriptionSeverityAffected Software
Oct 1, 2013
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2012-5627?

CVE-2012-5627 is considered a medium severity vulnerability due to its potential impact on password security.

2

How do I fix CVE-2012-5627?

To fix CVE-2012-5627, upgrade to a version of MySQL or MariaDB that is above the affected versions specified in the vulnerability report.

3

Which versions of MySQL are affected by CVE-2012-5627?

CVE-2012-5627 affects MySQL versions from 5.5.0 to 5.5.29.

4

What types of attacks does CVE-2012-5627 mitigate against?

CVE-2012-5627 helps mitigate password guessing attacks by using salt values during user logins.

5

Are MariaDB versions also affected by CVE-2012-5627?

Yes, MariaDB versions from 5.2.0 to 5.5.29, as well as specific versions of 10.0.0, are affected by CVE-2012-5627.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203