TMAegis
mariadb のその他のルール

TMA-MARIADB-5.2

Ensure 'FILE' is Not Granted to Non-Administrative Users

高レベル 1手動レビューmariadb

説明

The FILE privilege is used to allow or disallow a user from reading and writing files on the server host. Any user with the FILE right granted has the ability to: ; Read files from the local file system that are readable by the MariaDB server (this includes world-readable files). ; Write files to the local file system where the MariaDB server has write access.

チェック方法

監査方法: 手動レビュー

この推奨事項は自動ではチェックできません。--include-manual を指定すると、スキャン結果にこの手順付きで一覧表示されます。

Run SELECT GRANTEE FROM INFORMATION_SCHEMA.USER_PRIVILEGES WHERE PRIVILEGE_TYPE = 'FILE'; Ensure only administrative users are returned in the result set.

修正方法

修正方法: ガイダンスまたは IaC パッチ

REVOKE FILE ON *.* FROM '<user>'@'<host>'; for each non-administrative grantee.

プロパティ

オペレーティングシステム
すべて
タグ
mariadbdatabaseauthorizationmanual
参照
CIS MariaDB 10.11 Benchmark v1.0.0 - 5.2 Ensure 'FILE' is Not Granted to Non-Administrative Users