TMAegis
Aturan lainnya untuk mysql

TMA-MYSQL-2.10

Use Dual Passwords to Enable Higher Frequency Password Rotation

RendahLevel 2Tinjauan manualmysql

Deskripsi

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.

Cara pemeriksaan

Metode audit: Tinjauan manual

Rekomendasi ini tidak dapat diperiksa secara otomatis. Pemindaian akan menampilkannya beserta petunjuk ini saat Anda memberikan opsi --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.

Cara perbaikan

Metode perbaikan: Panduan atau patch infrastruktur

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

Properti

Sistem operasi
Apa saja
Tag
mysqldatabaseauthenticationpasswordmanual
Referensi
CIS Oracle MySQL Community Server 8.4 Benchmark v1.1.0 - 2.10 Use Dual Passwords to Enable Higher Frequency Password Rotation