TMA-MARIADB-5.7
Ensure 'GRANT OPTION' is Not Granted to Non-Administrative Users
ÉlevéeNiveau 1Revue manuellemariadb
Description
The GRANT OPTION privilege exists in different contexts (mysql.user, mysql.db) for the purpose of governing the ability of a privileged user to manipulate the privileges of other users.
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 DISTINCT GRANTEE FROM INFORMATION_SCHEMA.USER_PRIVILEGES WHERE IS_GRANTABLE = 'YES'; Ensure only administrative users are returned in the result set.
Méthode de correction
Méthode de correction: Recommandation ou correctif d'infrastructure
REVOKE GRANT OPTION ON *.* FROM '<user>'@'<host>'; for each non-administrative grantee.
Propriétés
- Systèmes d'exploitation
- Tous
- Étiquettes
- mariadbdatabaseauthorizationmanual
- Référence
- CIS MariaDB 10.11 Benchmark v1.0.0 - 5.7 Ensure 'GRANT OPTION' is Not Granted to Non-Administrative Users