TMAegisBeta
Thêm quy tắc cho mysql

MySQL

TMA-MYSQL-5.8

Ensure 'REPLICATION SLAVE' is Not Granted to Non-Administrative Users

Trung bìnhCấp 1Xem xét thủ côngmysql

Mô tả

The REPLICATION SLAVE privilege governs whether a given user (in the context of the source server) can request updates that have been made on the source server.

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 GRANTEE FROM INFORMATION_SCHEMA.USER_PRIVILEGES WHERE PRIVILEGE_TYPE = 'REPLICATION SLAVE'; Ensure only accounts designated for replica users are returned.

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 REPLICATION SLAVE 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.8 Ensure 'REPLICATION SLAVE' is Not Granted to Non-Administrative Users