Check: WA00620 A24
Apache Site 2.4 Unix:
WA00620 A24
(in version v1 r1)
Title
The LogLevel directive 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. While the ErrorLog directive configures the error log file name, the LogLevel directive is used to configure the severity level for the error logs. The log level values are the standard syslog levels: emerg, alert, crit, error, warn, notice, info and debug.
Check Content
Enter the following command: find / -name httpd.conf -print -exec grep -H -i "LogLevel" {} \; The command should return the following value: LogLevel warn If the above value is not returned, this is a finding. Note: If LogLevel is set to error, crit, alert, or emerg which are higher thresholds this is not a finding.
Fix Text
Edit the httpd.conf file and add the value LogLevel warn.
Additional Identifiers
Rule ID:
Vulnerability ID: V-26282
Group Title:
Expert Comments
CCIs
Number | Definition |
---|---|
No CCIs are assigned to this check |
Controls
Number | Title |
---|---|
No controls are assigned to this check |