TMAegis
Više pravila za mariadb

TMA-MARIADB-5.2

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

VisokaNivo 1Ručni pregledmariadb

Opis

The FILE privilege is used to allow or disallow a user from reading and writing files on the server host. Any user with the FILE right granted has the ability to: ; Read files from the local file system that are readable by the MariaDB server (this includes world-readable files). ; Write files to the local file system where the MariaDB server has write access.

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 = 'FILE'; Ensure only administrative users are returned in the result set.

Kako se ispravlja

Metod ispravke: Smernica ili zakrpa infrastrukture

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

Svojstva

Operativni sistemi
Bilo koji
Oznake
mariadbdatabaseauthorizationmanual
Referenca
CIS MariaDB 10.11 Benchmark v1.0.0 - 5.2 Ensure 'FILE' is Not Granted to Non-Administrative Users