TMAegis
Plus de règles pour mariadb

TMA-MARIADB-5.1

Ensure Only Administrative Users Have Full Database Access

ÉlevéeNiveau 1Revue manuellemariadb

Description

The mysql.user, mysql.db, and other mysql tables ending in _priv list a variety of privileges that can be granted (or denied) to MariaDB users. Some of the privileges of concern include: Select_priv, Insert_priv, Update_priv, Delete_priv, Drop_priv, and so on.

Méthode de vérification

Méthode d'audit: Revue manuelle

Cette recommandation ne peut pas être vérifiée automatiquement. Une analyse la liste avec ces instructions lorsque vous passez --include-manual.

Run SELECT * FROM information_schema.user_privileges WHERE grantee NOT LIKE ('\'mysql.%localhost\''); and ensure all returned users are administrative users with the minimal privileges required.

Méthode de correction

Méthode de correction: Recommandation ou correctif d'infrastructure

REVOKE unnecessary privileges (e.g. REVOKE ALL PRIVILEGES ON *.* FROM '<user>'@'<host>';) and GRANT only database-level privileges that are needed.

Propriétés

Systèmes d'exploitation
Tous
Étiquettes
mariadbdatabaseauthorizationmanual
Référence
CIS MariaDB 10.11 Benchmark v1.0.0 - 5.1 Ensure Only Administrative Users Have Full Database Access