TMA-MYSQL-2.5
Do Not Reuse Usernames
ThấpCấp 1Xem xét thủ côngmysql
Mô tả
Database user accounts should not be reused for multiple applications or users.
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.
List accounts: SELECT host, user, plugin FROM mysql.user WHERE user NOT IN ('mysql.infoschema','mysql.session','mysql.sys'); Each account must belong to exactly one system account, person or application; shared or reused usernames are 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
Create a separate account per person, application and system account, migrate their grants, and drop the shared accounts.
Thuộc tính
- Hệ điều hành
- Bất kỳ
- Thẻ
- mysqldatabaseauthenticationmanual
- Tham chiếu
- CIS Oracle MySQL Community Server 8.4 Benchmark v1.1.0 - 2.5 Do Not Reuse Usernames