TMA-MYSQL-5.7
Ensure 'GRANT OPTION' is Not Granted to Non-Administrative Users
AltaNivel 1Revisión manualmysql
Descripción
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.
Cómo se verifica
Método de auditoría: Revisión manual
Esta recomendación no se puede verificar automáticamente. Un escaneo la lista con estas instrucciones cuando se pasa --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.
Cómo se corrige
Método de corrección: Guía o parche de infraestructura
REVOKE GRANT OPTION ON *.* FROM '<user>'@'<host>'; for each non-administrative grantee.
Propiedades
- Sistemas operativos
- Cualquiera
- Etiquetas
- mysqldatabaseauthorizationmanual
- Referencia
- CIS Oracle MySQL Community Server 8.4 Benchmark v1.1.0 - 5.7 Ensure 'GRANT OPTION' is Not Granted to Non-Administrative Users