TMAegis
Više pravila za mysql

MySQL

TMA-MYSQL-5.5

Ensure 'SHUTDOWN' is Not Granted to Non-Administrative Users

SrednjaNivo 1Ručni pregledmysql

Opis

The SHUTDOWN privilege simply enables use of the shutdown option to the mysqladmin command, which allows a user with the SHUTDOWN privilege the ability to shut down the MySQL server.

Kako se proverava

Metod provere: Ručni pregled

Ova preporuka se ne može proveriti automatski. Skeniranje je navodi sa ovim uputstvima kada prosledite --include-manual.

Run SELECT GRANTEE FROM INFORMATION_SCHEMA.USER_PRIVILEGES WHERE PRIVILEGE_TYPE = 'SHUTDOWN'; Ensure only administrative users are returned in the result set.

Kako se ispravlja

Metod ispravke: Smernica ili zakrpa infrastrukture

REVOKE SHUTDOWN ON *.* FROM '<user>'@'<host>'; for each non-administrative grantee.

Svojstva

Operativni sistemi
Bilo koji
Oznake
mysqldatabaseauthorizationmanual
Referenca
CIS Oracle MySQL Community Server 8.4 Benchmark v1.1.0 - 5.5 Ensure 'SHUTDOWN' is Not Granted to Non-Administrative Users