Check: WA00615 A22
APACHE 2.2 Site for UNIX STIG:
WA00615 A22
(in versions v1 r11 through v1 r8)
Title
System logging must be enabled. (Cat II impact)
Discussion
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.
Check Content
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
Edit the httpd.conf file and configure to load the log_config_module. Configure with ErrorLog and CustomLog directives to ensure comprehensive system and access logging.
Additional Identifiers
Rule ID: SV-33206r1_rule
Vulnerability ID: V-26281
Group Title: WA00615
Expert Comments
CCIs
Number | Definition |
---|---|
No CCIs are assigned to this check |
Controls
Number | Title |
---|---|
No controls are assigned to this check |