TMAegis
Mais regras para mysql

MySQL

TMA-MYSQL-5.12

Ensure Proper Use Of ALLOW_NONEXISTENT_DEFINER

MédiaNível 1Revisão manualmysql

Descrição

Its critical to limit users ability to set and effective authorization ID that is used with executing a view or stored program. This grant provides a method to escalate privileges within MySQL views and procedures.

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 = 'ALLOW_NONEXISTENT_DEFINER'; Ensure only administrative users are returned in the result set.

Como é corrigido

Método de correção: Orientação ou patch de infraestrutura

REVOKE ALLOW_NONEXISTENT_DEFINER 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.12 Ensure Proper Use Of ALLOW_NONEXISTENT_DEFINER