MySQL
TMA-MYSQL-5.5
Ensure 'SHUTDOWN' is Not Granted to Non-Administrative Users
MédiaNível 1Revisão manualmysql
Descrição
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 MySQL server.
Como é verificado
Método de auditoria: Revisão manual
Esta recomendação não pode ser verificada automaticamente. Uma varredura a lista com estas instruções quando você passa --include-manual.
Run SELECT GRANTEE FROM INFORMATION_SCHEMA.USER_PRIVILEGES WHERE PRIVILEGE_TYPE = 'SHUTDOWN'; Ensure only administrative users are returned in the result set.
Como é corrigido
Método de correção: Orientação ou patch de infraestrutura
REVOKE SHUTDOWN ON *.* FROM '<user>'@'<host>'; for each non-administrative grantee.
Propriedades
- Sistemas operacionais
- Qualquer
- Tags
- mysqldatabaseauthorizationmanual
- Referência
- CIS Oracle MySQL Community Server 8.4 Benchmark v1.1.0 - 5.5 Ensure 'SHUTDOWN' is Not Granted to Non-Administrative Users