TMAegisBeta
Thêm quy tắc cho mariadb

MariaDB

TMA-MARIADB-5.1

Ensure Only Administrative Users Have Full Database Access

CaoCấp 1Xem xét thủ côngmariadb

Mô tả

The mysql.user, mysql.db, and other mysql tables ending in _priv list a variety of privileges that can be granted (or denied) to MariaDB users. Some of the privileges of concern include: Select_priv, Insert_priv, Update_priv, Delete_priv, Drop_priv, and so on.

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 * FROM information_schema.user_privileges WHERE grantee NOT LIKE ('\'mysql.%localhost\''); and ensure all returned users are administrative users with the minimal privileges required.

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 unnecessary privileges (e.g. REVOKE ALL PRIVILEGES ON *.* FROM '<user>'@'<host>';) and GRANT only database-level privileges that are needed.

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
mariadbdatabaseauthorizationmanual
Tham chiếu
CIS MariaDB 10.11 Benchmark v1.0.0 - 5.1 Ensure Only Administrative Users Have Full Database Access