TMA-MYSQL-5.7
Ensure 'GRANT OPTION' is Not Granted to Non-Administrative Users
높음레벨 1수동 검토mysql
설명
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.
점검 방법
감사 방식: 수동 검토
이 권장 사항은 자동으로 점검할 수 없습니다. --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.
조치 방법
조치 방식: 가이드 또는 인프라 패치
REVOKE GRANT OPTION ON *.* FROM '<user>'@'<host>'; for each non-administrative grantee.
속성
- 운영 체제
- 모두
- 태그
- mysqldatabaseauthorizationmanual
- 참고 자료
- CIS Oracle MySQL Community Server 8.4 Benchmark v1.1.0 - 5.7 Ensure 'GRANT OPTION' is Not Granted to Non-Administrative Users