MariaDB: database privilege escalation via user / role name collision in the acl cache
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 1 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
MariaDB server is a community developed fork of MySQL server. From 10.6.1 until 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2, MariaDB's ACL cache could generate the same database-privilege cache key for role and localhost user names that matched because both used an empty IP component. An attacker with CREATE USER could create the colliding principal and, when the original principal's database privileges were cached, exercise privileges assigned to the other account. This issue is fixed in versions 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- MariaDB server
From 10.6.1 · fixed in 10.6.28; From 10.11.1 · fixed in 10.11.19; From 11.4.1 · fixed in 11.4.13; From 11.8.1 · fixed in 11.8.9; From 12.3.1 · fixed in 12.3.3; From 13.0.1 · fixed in 13.0.2
- mariadbBitnami
From 10.6.1 · fixed in 10.6.28; From 10.11.1 · fixed in 10.11.19; From 11.4.1 · fixed in 11.4.13; From 11.8.1 · fixed in 11.8.9; From 12.3.1 · fixed in 12.3.3; From 13.0.1 · fixed in 13.0.2
- mariadb-minBitnami
From 10.6.1 · fixed in 10.6.28; From 10.11.1 · fixed in 10.11.19; From 11.4.1 · fixed in 11.4.13; From 11.8.1 · fixed in 11.8.9; From 12.3.1 · fixed in 12.3.3; From 13.0.1 · fixed in 13.0.2
- mysql-clientBitnami
From 10.6.1 · fixed in 10.6.28; From 10.11.1 · fixed in 10.11.19; From 11.4.1 · fixed in 11.4.13; From 11.8.1 · fixed in 11.8.9; From 12.3.1 · fixed in 12.3.3; From 13.0.1 · fixed in 13.0.2