STIGQter STIGQter: STIG Summary: Apache Server 2.4 UNIX Server Security Technical Implementation Guide Version: 2 Release: 2 Benchmark Date: 22 Jan 2021:

The Apache web server must generate log records that can be mapped to Coordinated Universal Time (UTC) or Greenwich Mean Time (GMT) which are stamped at a minimum granularity of one second.

DISA Rule

SV-214265r612240_rule

Vulnerability Number

V-214265

Group Title

SRG-APP-000374-WSR-000172

Rule Version

AS24-U1-000750

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

In a command line, run "httpd -M" to view a list of installed modules.

If "log_config_module" is not listed, enable this module.

Review the "httpd.conf" file.

Determine if the "LogFormat" directive exists. If it does not exist, ensure the "LogFormat" line contains the %t flag.

Check Contents

Review the web server documentation and configuration to determine the time stamp format for log data.

Determine the location of the "HTTPD_ROOT" directory and the "httpd.conf" file:

# httpd -V | egrep -i 'httpd_root|server_config_file'
-D HTTPD_ROOT="/etc/httpd"
-D SERVER_CONFIG_FILE="conf/httpd.conf"

Search for the "log_config_module" directive:

# cat /<path_to_file>/httpd.conf | grep -i "LogFormat"

Verify the "LogFormat" directive exists.

If the "LogFormat" directive does not exist, this is a finding.

Verify the "LogFormat" line contains the "%t" flag.

If "%t" flag is not present, time is not mapped to UTC or GMT time, this is a finding.

Vulnerability Number

V-214265

Documentable

False

Rule Version

AS24-U1-000750

Severity Override Guidance

Review the web server documentation and configuration to determine the time stamp format for log data.

Determine the location of the "HTTPD_ROOT" directory and the "httpd.conf" file:

# httpd -V | egrep -i 'httpd_root|server_config_file'
-D HTTPD_ROOT="/etc/httpd"
-D SERVER_CONFIG_FILE="conf/httpd.conf"

Search for the "log_config_module" directive:

# cat /<path_to_file>/httpd.conf | grep -i "LogFormat"

Verify the "LogFormat" directive exists.

If the "LogFormat" directive does not exist, this is a finding.

Verify the "LogFormat" line contains the "%t" flag.

If "%t" flag is not present, time is not mapped to UTC or GMT time, this is a finding.

Check Content Reference

M

Target Key

3996

Comments