Web server status module must be disabled.

From APACHE 2.2 SERVER for Windows Security Technical Implementation Guide

Part of WA00510

SV-33171r2_rule Web server status module must be disabled.

Vulnerability discussion

The Apache mod_info module provides information on the server configuration via access to a /server-info URL location, while the mod_status module provides current server performance statistics. While having server configuration and status information available as a web page may be convenient, it is recommended that these modules not be enabled: Once mod_info is loaded into the server, its handler capability is available in per-directory .htaccess files and can leak sensitive information from the configuration directives of other Apache modules such as system paths, usernames/passwords, database names, etc. If mod_status is loaded into the server, its handler capability is available in all configuration files, including per-directory files (e.g., .htaccess) and may have security-related ramifications.

Check content

Open a command prompt window. Navigate to the “bin” directory (in many cases this may be [Drive Letter]:\[directory path]\Apache Software Foundation\Apache2.2\bin>). Enter the following command: httpd –M NOTE: Some installations may be running under apache.exe. In such case, validate by running the following command: apache -M This will provide a list of all loaded modules. If any of the following modules are found this is a finding: info_module & status_module.

Fix text

Disable info and status modules by adding a "#" in front of them within the httpd.conf file, and restarting the Apache service.

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