TMAegisBeta
More rules for mysql

MySQL

TMA-MYSQL-5.8

Ensure 'REPLICATION SLAVE' is Not Granted to Non-Administrative Users

MediumLevel 1Manual reviewmysql

Description

The REPLICATION SLAVE privilege governs whether a given user (in the context of the source server) can request updates that have been made on the source server.

How it is checked

Audit method: Manual review

This recommendation cannot be checked automatically. A scan lists it with these instructions when you pass --include-manual.

Run SELECT GRANTEE FROM INFORMATION_SCHEMA.USER_PRIVILEGES WHERE PRIVILEGE_TYPE = 'REPLICATION SLAVE'; Ensure only accounts designated for replica users are returned.

How it is fixed

Fix method: Guidance or infrastructure patch

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

Properties

Operating systems
Any
Tags
mysqldatabaseauthorizationmanual
Reference
CIS Oracle MySQL Community Server 8.4 Benchmark v1.1.0 - 5.8 Ensure 'REPLICATION SLAVE' is Not Granted to Non-Administrative Users