MariaDB
TMA-MARIADB-5.5
Ensure 'SHUTDOWN' is Not Granted to Non-Administrative Users
MediaNivel 1Revisión manualmariadb
Descripción
The SHUTDOWN privilege simply enables use of the shutdown option to the mysqladmin command, which allows a user with the SHUTDOWN privilege the ability to shut down the MariaDB server.
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 GRANTEE FROM INFORMATION_SCHEMA.USER_PRIVILEGES WHERE PRIVILEGE_TYPE = 'SHUTDOWN'; 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 SHUTDOWN ON *.* FROM '<user>'@'<host>'; for each non-administrative grantee.
Propiedades
- Sistemas operativos
- Cualquiera
- Etiquetas
- mariadbdatabaseauthorizationmanual
- Referencia
- CIS MariaDB 10.11 Benchmark v1.0.0 - 5.5 Ensure 'SHUTDOWN' is Not Granted to Non-Administrative Users