TMA-MARIADB-5.7
Ensure 'GRANT OPTION' is Not Granted to Non-Administrative Users
HochStufe 1Manuelle Prüfungmariadb
Beschreibung
The GRANT OPTION privilege exists in different contexts (mysql.user, mysql.db) for the purpose of governing the ability of a privileged user to manipulate the privileges of other 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.
Run SELECT DISTINCT GRANTEE FROM INFORMATION_SCHEMA.USER_PRIVILEGES WHERE IS_GRANTABLE = 'YES'; Ensure only administrative users are returned in the result set.
So wird behoben
Behebungsmethode: Anleitung oder Infrastruktur-Patch
REVOKE GRANT OPTION ON *.* FROM '<user>'@'<host>'; for each non-administrative grantee.
Eigenschaften
- Betriebssysteme
- Beliebig
- Tags
- mariadbdatabaseauthorizationmanual
- Referenz
- CIS MariaDB 10.11 Benchmark v1.0.0 - 5.7 Ensure 'GRANT OPTION' is Not Granted to Non-Administrative Users