MySQL
TMA-MYSQL-2.5
Do Not Reuse Usernames
NiedrigStufe 1Manuelle Prüfungmysql
Beschreibung
Database user accounts should not be reused for multiple applications or users.
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.
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.
So wird behoben
Behebungsmethode: Anleitung oder Infrastruktur-Patch
Create a separate account per person, application and system account, migrate their grants, and drop the shared accounts.
Eigenschaften
- Betriebssysteme
- Beliebig
- Tags
- mysqldatabaseauthenticationmanual
- Referenz
- CIS Oracle MySQL Community Server 8.4 Benchmark v1.1.0 - 2.5 Do Not Reuse Usernames