TMAegis
Thêm quy tắc cho mysql

MySQL

TMA-MYSQL-2.10

Use Dual Passwords to Enable Higher Frequency Password Rotation

ThấpCấp 2Xem xét thủ côngmysql

Mô tả

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.

Cách kiểm tra

Phương pháp kiểm tra: Xem xét thủ công

Khuyến nghị này không thể kiểm tra tự động. Lần quét sẽ liệt kê mục này kèm hướng dẫn khi bạn truyền cờ --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.

Cách khắc phục

Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng

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

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
mysqldatabaseauthenticationpasswordmanual
Tham chiếu
CIS Oracle MySQL Community Server 8.4 Benchmark v1.1.0 - 2.10 Use Dual Passwords to Enable Higher Frequency Password Rotation