TMAegisБета
Више правила за mariadb

MariaDB

TMA-MARIADB-2.3

Do Not Specify Passwords in the Command Line

СредњаНиво 1Ручни прегледmariadb

Опис

When a command is executed on the command line, for example mariadb -u admin -p password, the password may be visible in the user's shell/command history or in the process list.

Како се проверава

Метод провере: Ручни преглед

Ова препорука се не може проверити аутоматски. Скенирање је наводи са овим упутствима када проследите --include-manual.

Check the process list (ps -ef) and shell histories for mariadb/mysqldump invocations with -p<password> or --password=<password>. Any visible password is a fail.

Како се исправља

Метод исправке: Смерница или закрпа инфраструктуре

Use -p without a value (prompt), an option file with mode 0600 instead of passwords on the command line, and clear exposed history entries.

Својства

Оперативни системи
Било који
Ознаке
mariadbdatabasecredentialsmanual
Референца
CIS MariaDB 10.11 Benchmark v1.0.0 - 2.3 Do Not Specify Passwords in the Command Line