Check: WA00515 W22
APACHE 2.2 Server for Windows STIG:
WA00515 W22
(in versions v1 r13 through v1 r11)
Title
Automatic directory indexing must be disabled. (Cat II impact)
Discussion
To identify the type of web servers and versions software installed it is common for attackers to scan for icons or special content specific to the server type and version. A simple request like http://example.com/icons/apache_pb2.png may tell the attacker that the server is Apache 2.2 as shown below. The many icons are used primary for auto indexing, which is recommended to be disabled.
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 and press Enter: httpd –M This will provide a list of all loaded modules. If the following module is found this is a finding: autoindex_module.
Fix Text
Disable the autoindex_module by adding a "#" in front of it within the httpd.conf file, and restarting the Apache httpd service.
Additional Identifiers
Rule ID: SV-33225r1_rule
Vulnerability ID: V-26368
Group Title: WA00515
Expert Comments
CCIs
Number | Definition |
---|---|
No CCIs are assigned to this check |
Controls
Number | Title |
---|---|
No controls are assigned to this check |