UCF STIG Viewer Logo

User specific directories must not be globally enabled.


Finding ID Version Rule ID IA Controls Severity
V-26302 WA00525 A22 SV-33221r1_rule Medium
The UserDir directive must be disabled so that user home directories are not accessed via the web site with a tilde (~) preceding the username. The directive also sets the path name of the directory that will be accessed. The user directories should not be globally enabled since it allows anonymous access to anything users may want to share with other users on the network. Also consider that every time a new account is created on the system, there is potentially new content available via the web site.
APACHE 2.2 Server for UNIX Security Technical Implementation Guide 2019-01-07


Check Text ( C-33764r1_chk )
Enter the following command:

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

This will provide a list of all loaded modules. If userdir_module is listed, this is a finding.
Fix Text (F-29401r1_fix)
Edit the httpd.conf file and remove userdir_module.