WA00525 A22 - User specific directories must not be globally enabled.

Information

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.

Solution

Edit the httpd.conf file and remove userdir_module.

See Also

https://iasecontent.disa.mil/stigs/zip/U_Apache_2-2_UNIX_V1R11_STIG.zip

Item Details

References: CAT|II, Rule-ID|SV-33221r1_rule, STIG-ID|WA00525_A22, Vuln-ID|V-26302

Plugin: Unix

Control ID: a30df14a714626f27fa51ad3bfbc024b72034990f8b0d3b40b6c74492ded34ea