Logs of web server access and errors must be established and maintained

From APACHE 2.2 Site for UNIX Security Technical Implementation Guide

Part of WG240

SV-33025r1_rule Logs of web server access and errors must be established and maintained

Vulnerability discussion

A major tool in exploring the web site use, attempted use, unusual conditions, and problems are reported in the access and error logs. In the event of a security incident, these logs can provide the SA and the web manager with valuable information. Without these log files, SAs and web managers are seriously hindered in their efforts to respond appropriately to suspicious or criminal actions targeted at the web site.

Check content

To view a list of loaded modules enter the following command: /usr/local/apache2/bin/httpd -M If the following module is not found, this is a finding: "log_config_module"

Fix text

Edit the httpd.conf file and add the following module to configure logging. "log_config_module"

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer