MADB-10-004600 - MariaDB must separate user functionality (including user interface services) from database management functionality.

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

Information system management functionality includes functions necessary to administer databases, network components, workstations, or servers and typically requires privileged user access.

The separation of user functionality from information system management functionality is either physical or logical and is accomplished by using different computers, different central processing units, different instances of the operating system, different network addresses, combinations of these methods, or other methods, as appropriate.

An example of this type of separation is observed in web administrative interfaces that use separate authentication methods for users of any other information system resources.

This may include isolating the administrative interface on a different domain and with additional access controls.

If administrative functionality or information regarding MariaDB management is presented on an interface available for users, information on MariaDB settings may be inadvertently made available to the user.

NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.

Solution

Configure MariaDB Enterprise Server to separate database administration and general user functionality.

Do not grant Create user, Event, Process, Proxy, Reload, Replication client, Replication slave, Show databases, Shutdown, Super, Create tablespace, Usage privileges to users and roles that do not require it.

To remove privileges, see the following examples:

1. Revoke privileges from a specific user:

MariaDB> REVOKE SUPER, PROCESS ON *.* FROM 'user'@'host';

2. Revoke privileges from a role:

MariaDB> REVOKE 'role' FROM 'user'@'host';

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_MariaDB_Enterprise_10-x_V1R2_STIG.zip

Item Details

References: CAT|II, CCI|CCI-001082, Rule-ID|SV-253705r841640_rule, STIG-ID|MADB-10-004600, Vuln-ID|V-253705

Plugin: MySQLDB

Control ID: be74d1ffb2ed54dcdee85a9140dceb8986cfa216788f4c39fb4620d28e94e019