TMAegis
mysql のその他のルール

TMA-MYSQL-2.10

Use Dual Passwords to Enable Higher Frequency Password Rotation

低レベル 2手動レビューmysql

説明

Dual passwords act as a tool to encourage password rotations in cases where a synchronized password change is not viable. By having a time delta to have old and new passwords in place, the process of replacing old passwords with new passwords within applications is simplified.

チェック方法

監査方法: 手動レビュー

この推奨事項は自動ではチェックできません。--include-manual を指定すると、スキャン結果にこの手順付きで一覧表示されます。

Run SELECT user, host FROM mysql.user WHERE LENGTH(user_attributes->>'$.additional_password') > 0; An account that still has a secondary (dual) password after its password rotation has completed is a fail.

修正方法

修正方法: ガイダンスまたは IaC パッチ

ALTER USER '<user>'@'<host>' DISCARD OLD PASSWORD; once all clients use the new password.

プロパティ

オペレーティングシステム
すべて
タグ
mysqldatabaseauthenticationpasswordmanual
参照
CIS Oracle MySQL Community Server 8.4 Benchmark v1.1.0 - 2.10 Use Dual Passwords to Enable Higher Frequency Password Rotation