TMA-MYSQL-5.7
Ensure 'GRANT OPTION' is Not Granted to Non-Administrative Users
YüksekDüzey 1Manuel incelememysql
Açıklama
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.
Nasıl denetlenir
Denetim yöntemi: Manuel inceleme
Bu öneri otomatik olarak denetlenemez. --include-manual parametresini verdiğinizde tarama bunu bu talimatlarla birlikte listeler.
Run SELECT DISTINCT GRANTEE FROM INFORMATION_SCHEMA.USER_PRIVILEGES WHERE IS_GRANTABLE = 'YES'; Ensure only administrative users are returned in the result set.
Nasıl düzeltilir
Düzeltme yöntemi: Kılavuz veya altyapı yaması
REVOKE GRANT OPTION ON *.* FROM '<user>'@'<host>'; for each non-administrative grantee.
Özellikler
- İşletim sistemleri
- Herhangi biri
- Etiketler
- mysqldatabaseauthorizationmanual
- Referans
- CIS Oracle MySQL Community Server 8.4 Benchmark v1.1.0 - 5.7 Ensure 'GRANT OPTION' is Not Granted to Non-Administrative Users