STIGQter STIGQter: STIG Summary: Oracle MySQL 8.0 Security Technical Implementation Guide Version: 1 Release: 1 Benchmark Date: 28 Jan 2021:

Database software, including MySQL Database Server 8.0 configuration files, must be stored in dedicated directories, or DASD pools (remove), separate from the host OS and other applications.

DISA Rule

SV-235165r638812_rule

Vulnerability Number

V-235165

Group Title

SRG-APP-000133-DB-000199

Rule Version

MYS8-00-008500

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Install all applications on directories separate from the DBMS software library directory. Relocate any directories or reinstall other application software that currently shares the DBMS software library directory.

If it is determined that configuration (options files) are inappropriately located, take the steps to move and protect these files and reconfigure mysqld startup commands to point to new the file location by setting the "--defaults-file" to point to the new location and filename for the mysql configuration file.

Check Contents

Review the MySQL Database Server 8.0 software library directory and note other root directories located on the same disk directory or any subdirectories.

To list directory variables run:
show variables where variable_name like '%dir%';

If any non-MySQL Database Server 8.0 software directories exist on the datadir, basedir, or other non tmpdir directories, examine or investigate their use.

If any of the directories are used by other applications, including third-party applications that use the MySQL Database Server 8.0, this is a finding.

Only applications that are required for the functioning and administration, not use, of the MySQL Database Server 8.0 should be located in the same disk directory as the DBMS software libraries.

If other applications are located in the same directory as the DBMS, this is a finding.

To determine where the mysql configuration file(s) are being stored and which configuration file(s) was used for which variables, run the following command:
SELECT t1.*, VARIABLE_VALUE
FROM performance_schema.variables_info t1
JOIN performance_schema.global_variables t2
ON t2.VARIABLE_NAME=t1.VARIABLE_NAME where length(t1.variable_path) > 0;

If result of VARIABLE_PATH shows that configuration values are not stored in files dedicated directories separate from the host os or other applications, this is a finding.

Vulnerability Number

V-235165

Documentable

False

Rule Version

MYS8-00-008500

Severity Override Guidance

Review the MySQL Database Server 8.0 software library directory and note other root directories located on the same disk directory or any subdirectories.

To list directory variables run:
show variables where variable_name like '%dir%';

If any non-MySQL Database Server 8.0 software directories exist on the datadir, basedir, or other non tmpdir directories, examine or investigate their use.

If any of the directories are used by other applications, including third-party applications that use the MySQL Database Server 8.0, this is a finding.

Only applications that are required for the functioning and administration, not use, of the MySQL Database Server 8.0 should be located in the same disk directory as the DBMS software libraries.

If other applications are located in the same directory as the DBMS, this is a finding.

To determine where the mysql configuration file(s) are being stored and which configuration file(s) was used for which variables, run the following command:
SELECT t1.*, VARIABLE_VALUE
FROM performance_schema.variables_info t1
JOIN performance_schema.global_variables t2
ON t2.VARIABLE_NAME=t1.VARIABLE_NAME where length(t1.variable_path) > 0;

If result of VARIABLE_PATH shows that configuration values are not stored in files dedicated directories separate from the host os or other applications, this is a finding.

Check Content Reference

M

Target Key

5277

Comments