TMA-MYSQL-5.7
Ensure 'GRANT OPTION' is Not Granted to Non-Administrative Users
CaoCấp 1Xem xét thủ côngmysql
Mô tả
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ách kiểm tra
Phương pháp kiểm tra: Xem xét thủ công
Khuyến nghị này không thể kiểm tra tự động. Lần quét sẽ liệt kê mục này kèm hướng dẫn khi bạn truyền cờ --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ách khắc phục
Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng
REVOKE GRANT OPTION ON *.* FROM '<user>'@'<host>'; for each non-administrative grantee.
Thuộc tính
- Hệ điều hành
- Bất kỳ
- Thẻ
- mysqldatabaseauthorizationmanual
- Tham chiếu
- CIS Oracle MySQL Community Server 8.4 Benchmark v1.1.0 - 5.7 Ensure 'GRANT OPTION' is Not Granted to Non-Administrative Users