TMAegis
mysql 관련 규칙 더 보기

TMA-MYSQL-5.2

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

높음레벨 1수동 검토mysql

설명

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 MySQL server (this includes world-readable files). ; Write files to the local file system where the MySQL 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.

조치 방법

조치 방식: 가이드 또는 인프라 패치

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

속성

운영 체제
모두
태그
mysqldatabaseauthorizationmanual
참고 자료
CIS Oracle MySQL Community Server 8.4 Benchmark v1.1.0 - 5.2 Ensure 'FILE' is Not Granted to Non-Administrative Users