STIGUI
V-26368CAT II — Medium severitySV-33219r1_rule

Automatic directory indexing must be disabled.

Rule version WA00515 A22 · STIG v1 · 2019-01-07

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

Enter the following command:

/usr/local/Apache2.2/bin/httpd –M.

This will provide a list of all loaded modules. If autoindex_module is found, this is a finding.

Fix

Edit the httpd.conf file and remove autoindex_module.

Identifiers

Group ID
V-26368
Group title
WA00515
Rule ID
SV-33219r1_rule
Check ID
C-33828r1_chk
Fix ID
F-29492r1_fix