CVE-2012-5627

medium
Published 2013-10-01 ยท Modified 2026-04-29
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
5.0

Description

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.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-38109 remote linux verified
kingcope ยท 2012-12-06

Oracle MySQL / MariaDB - Insecure Salt Generation Security Bypass

Source code queued for fetch โ€” refresh in a moment.

Application impact

VendorProductVersionsFixed
oracle oraclemysql{"startIncluding":"5.5.0","endExcluding":"5.5.29"}5.5.29
mysql mariadbmariadb{"startIncluding":"5.2.0","endExcluding":"5.2.14"}5.2.14
mysql mariadbmariadb10.0.0
mysql mariadbmariadb{"startIncluding":"5.3.0","endExcluding":"5.3.12"}5.3.12
mysql mariadbmariadb{"startIncluding":"5.5.0","endExcluding":"5.5.29"}5.5.29

References

CWEs

CWE-522

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.