TMAegis
tdsql 관련 규칙 더 보기

TMA-TDSQL-5.5

Ensure No Excessive `SUPER` Privilege Grants

높음레벨 1수동 검토tdsql

설명

The SUPER privilege allows many dangerous operations, including modifying global variables, killing other users' queries, and bypassing read-only restrictions.

점검 방법

감사 방식: 수동 검토

이 권장 사항은 자동으로 점검할 수 없습니다. --include-manual 옵션을 전달하면 스캔 결과에 이 지침과 함께 표시됩니다.

SELECT User, Host FROM mysql.user WHERE Super_priv = 'Y'; Confirm only TDSQL system accounts (such as the necessary tdsqlsys_kp_new) hold the SUPER privilege.

조치 방법

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

Revoke the SUPER privilege from unnecessary users: REVOKE SUPER ON *.* FROM 'username'@'host'; In MySQL 8.0, use fine-grained dynamic privileges (such as SYSTEM_VARIABLES_ADMIN, CONNECTION_ADMIN) instead of SUPER.

속성

운영 체제
모두
태그
tdsqlprivileges
참고 자료
CIS Tencent TDSQL 10.3.22 Benchmark v1.0.0 - 5.5 Ensure No Excessive `SUPER` Privilege Grants