4.2 Ensure Example or Test Databases are Not Installed on Production Servers

Information

The default MariaDB installation does not contain any example or test databases. However, it is a good idea to review for common example databases and ensure they have been removed from production systems.

Dropping example databases will reduce the attack surface of the MariaDB server.

NOTE: Nessus has provided the target output to assist in reviewing the benchmark to ensure target compliance.

Solution

Execute the following SQL statement to drop an example database:

DROP DATABASE <database name>;

See Also

https://workbench.cisecurity.org/benchmarks/28492

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6, 800-53|CM-7, 800-53|CM-7a.

Plugin: MySQLDB

Control ID: bba276c7a187cce6a90392def47bffad4827cc76f668e14253fa6c2fec0b4ee4