TMA-MYSQL-5.4
Ensure 'SUPER' is Not Granted to Non-Administrative Users
Description
The SUPER privilege is a powerful and far-reaching privilege and should not be granted lightly. In MySQL 8.0, SUPER is deprecated and will be removed in a future version of MySQL. The SUPER privilege shown in the INFORMATION_SCHEMA.USER_PRIVILEGES table governs the use of a variety of MySQL features.
Méthode de vérification
Méthode d'audit: Revue manuelle
Cette recommandation ne peut pas être vérifiée automatiquement. Une analyse la liste avec ces instructions lorsque vous passez --include-manual.
Run SELECT GRANTEE FROM INFORMATION_SCHEMA.USER_PRIVILEGES WHERE PRIVILEGE_TYPE = 'SUPER'; Ensure only administrative users are returned in the result set.
Méthode de correction
Méthode de correction: Recommandation ou correctif d'infrastructure
REVOKE SUPER ON *.* FROM '<user>'@'<host>'; for each non-administrative grantee.
Propriétés
- Systèmes d'exploitation
- Tous
- Étiquettes
- mysqldatabaseauthorizationmanual
- Référence
- CIS Oracle MySQL Community Server 8.4 Benchmark v1.1.0 - 5.4 Ensure 'SUPER' is Not Granted to Non-Administrative Users