TMA-MYSQL-5.12
Ensure Proper Use Of ALLOW_NONEXISTENT_DEFINER
中レベル 1手動レビューmysql
説明
Its critical to limit users ability to set and effective authorization ID that is used with executing a view or stored program. This grant provides a method to escalate privileges within MySQL views and procedures.
チェック方法
監査方法: 手動レビュー
この推奨事項は自動ではチェックできません。--include-manual を指定すると、スキャン結果にこの手順付きで一覧表示されます。
Run SELECT GRANTEE FROM INFORMATION_SCHEMA.USER_PRIVILEGES WHERE PRIVILEGE_TYPE = 'ALLOW_NONEXISTENT_DEFINER'; Ensure only administrative users are returned in the result set.
修正方法
修正方法: ガイダンスまたは IaC パッチ
REVOKE ALLOW_NONEXISTENT_DEFINER ON *.* FROM '<user>'@'<host>'; for each non-administrative grantee.
プロパティ
- オペレーティングシステム
- すべて
- タグ
- mysqldatabaseauthorizationmanual
- 参照
- CIS Oracle MySQL Community Server 8.4 Benchmark v1.1.0 - 5.12 Ensure Proper Use Of ALLOW_NONEXISTENT_DEFINER