MariaDB
TMA-MARIADB-5.4
Ensure 'SUPER' is Not Granted to Non-Administrative Users
HighLevel 1Manual reviewmariadb
Description
The SUPER privilege is a powerful and far-reaching privilege and should not be granted lightly. In MariaDB, SUPER is deprecated and will be removed in a future version of MariaDB. The SUPER privilege shown in the INFORMATION_SCHEMA.USER_PRIVILEGES table governs the use of a variety of MariaDB features.
How it is checked
Audit method: Manual review
This recommendation cannot be checked automatically. A scan lists it with these instructions when you pass --include-manual.
Run SELECT GRANTEE FROM INFORMATION_SCHEMA.USER_PRIVILEGES WHERE PRIVILEGE_TYPE = 'SUPER'; Ensure only administrative users are returned in the result set.
How it is fixed
Fix method: Guidance or infrastructure patch
REVOKE SUPER ON *.* FROM '<user>'@'<host>'; for each non-administrative grantee.
Properties
- Operating systems
- Any
- Tags
- mariadbdatabaseauthorizationmanual
- Reference
- CIS MariaDB 10.11 Benchmark v1.0.0 - 5.4 Ensure 'SUPER' is Not Granted to Non-Administrative Users