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.
修正方法
修正方法: ガイダンスまたは IaC パッチ
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