SV-235140r638812_rule
V-235140
SRG-APP-000178-DB-000083
MYS8-00-005300
CAT I
10
Modify and configure each non-compliant application, tool, or feature associated with the MySQL Database Server 8.0/database so that it does not display authentication secrets.
Use -p (--password) without providing a password for the mysql command line tool.
Configure or modify applications to prohibit display of passwords in clear text.
Use OS pluggable password manager integration to protect passwords using keyrings. Following is an example:
$ /usr/local/mysql/bin/mysql -uroot -p
Enter password:
$ mysqlsh --user=user --password
Please provide the password for 'user@localhost':
If all interaction with the user for purposes of authentication is handled by a software component separate from the MySQL Database Server 8.0, this is not a finding.
If any application, tool, or feature associated with the MySQL Database Server 8.0/database displays any authentication secrets (to include PINs and passwords) during or after the authentication process, this is a finding.
MySQL command line option --password (or -p) obscures feedback on the typed in password.
Ensure users are trained to use alternatives to command line password parameters, if they are not, this is a finding.
V-235140
False
MYS8-00-005300
If all interaction with the user for purposes of authentication is handled by a software component separate from the MySQL Database Server 8.0, this is not a finding.
If any application, tool, or feature associated with the MySQL Database Server 8.0/database displays any authentication secrets (to include PINs and passwords) during or after the authentication process, this is a finding.
MySQL command line option --password (or -p) obscures feedback on the typed in password.
Ensure users are trained to use alternatives to command line password parameters, if they are not, this is a finding.
M
5277