GRANT PROXY with empty password incorrectly checks grantor's privileges
Package
No package listed
Affected versions
10.6.1-10.6.27, 10.11.1-10.11.18, 11.4.1-11.4.12, 11.8.1-11.8.8, 12.3.1-12.3.2, 13.0.1
Patched versions
10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, 13.0.2
Impact
GRANT PROXYstatement incorrectly checked grantor's privileges when the statement includedIDENTIFIEDclause with an empty password. This allowed an attacker to set passwords for other accounts.Patches
Fixed in 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, 13.0.2.
Workarounds
An attacker won't be able to change another user's password, if user names are random and non-guessable.
References
https://jira.mariadb.org/browse/MDEV-40470
Credits
Kévin GERVOT