MYS8-00-005600 - Default demonstration and sample databases, database objects, and applications must be removed.

Information

Information systems are capable of providing a wide variety of functions and services. Some of the functions and services, provided by default, may not be necessary to support essential organizational operations (e.g., key missions, functions).

It is detrimental for software products to provide, or install by default, functionality exceeding requirements or mission objectives. Examples include, but are not limited to, installing advertising software, demonstrations, or browser plugins not related to requirements or providing a wide array of functionality, not required for every mission, that cannot be disabled.

Database Management Systems (DBMSs) must adhere to the principles of least functionality by providing only essential capabilities.

Demonstration and sample database objects and applications present publicly known attack points for malicious users. These demonstration and sample objects are meant to provide simple examples of coding specific functions and are not developed to prevent vulnerabilities from being introduced to the DBMS and host system.

Solution

MySQL 8.0 contains no demo databases by default. If demo schemas (aka databases) were added, remove them by executing:

mysql -u root -p --execute='DROP DATABASE 'schema_name''

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Oracle_MySQL_8-0_V2R2_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7a., CAT|II, CCI|CCI-000381, Rule-ID|SV-235143r960963_rule, STIG-ID|MYS8-00-005600, Vuln-ID|V-235143

Plugin: MySQLDB

Control ID: 446759b6c22703d04710d21accc635fc685d2b476f7cad1507d3987787d78dce