UCF STIG Viewer Logo

System logging must be enabled.


Overview

Finding ID Version Rule ID IA Controls Severity
V-26281 WA00615 A22 SV-33206r1_rule ECAR-1 Medium
Description
The server error logs are invaluable because they can also be used to identify potential problems and enable proactive remediation. Log data can reveal anomalous behavior such as “not found” or “unauthorized” errors that may be an evidence of attack attempts. Failure to enable error logging can significantly reduce the ability of Web Administrators to detect or remediate problems. The CustomLog directive specifies the log file, syslog facility, or piped logging utility.
STIG Date
APACHE SITE 2.2 for Unix 2015-08-27

Details

Check Text ( C-33746r1_chk )
Enter the following command:

grep "CustomLog" /usr/local/apache2/conf/httpd.conf

The command should return the following value:.

CustomLog "Logs/access_log" common

If the above value is not returned, this is a finding.
Fix Text (F-29381r1_fix)
Edit the httpd.conf file and enter the name, path and level for the CustomLog.