Check: WA00612 A24
Apache Site 2.4 Unix:
WA00612 A24
(in version v1 r1)
Title
The site's error logs must log the correct format. (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 LogFormat directive defines the format and information to be included in the access log entries.
Check Content
Enter the following command: find / -name httpd.conf -print -exec grep -H -i "LogFormat" {} \; The command should return the following value: LogFormat "%a %A %h %H %l %m %s %t %u %U \"%{Referer}i\" " combined If the above value is not returned, this is a finding.
Fix Text
Edit the httpd.conf file and add LogFormat "%a %A %h %H %l %m %s %t %u %U \"%{Referer}i\" " combined
Additional Identifiers
Rule ID:
Vulnerability ID: V-26280
Group Title:
Expert Comments
CCIs
Number | Definition |
---|---|
No CCIs are assigned to this check |
Controls
Number | Title |
---|---|
No controls are assigned to this check |