TMAegis
Weitere Regeln für mysql

MySQL

TMA-MYSQL-2.10

Use Dual Passwords to Enable Higher Frequency Password Rotation

NiedrigStufe 2Manuelle Prüfungmysql

Beschreibung

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.

So wird geprüft

Prüfmethode: Manuelle Prüfung

Diese Empfehlung kann nicht automatisch geprüft werden. Ein Scan führt sie mit diesen Anweisungen auf, wenn Sie --include-manual übergeben.

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.

So wird behoben

Behebungsmethode: Anleitung oder Infrastruktur-Patch

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

Eigenschaften

Betriebssysteme
Beliebig
Tags
mysqldatabaseauthenticationpasswordmanual
Referenz
CIS Oracle MySQL Community Server 8.4 Benchmark v1.1.0 - 2.10 Use Dual Passwords to Enable Higher Frequency Password Rotation