Check: WA00525 W22
APACHE 2.2 Server for Windows STIG:
WA00525 W22
(in versions v1 r13 through v1 r11)
Title
User specific directories must not be globally enabled. (Cat II impact)
Discussion
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.
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 <enter> NOTE: Some installations may be running under apache.exe. In such case, validate by running the following command: apache -M <enter> This will provide a list of all loaded modules. If the following module is found this is a finding: userdir_module.
Fix Text
Disable the userdir_module by adding a "#" in front of it within the httpd.conf file, and restarting the Apache service.
Additional Identifiers
Rule ID: SV-33175r2_rule
Vulnerability ID: V-26302
Group Title: WA00525
Expert Comments
CCIs
Number | Definition |
---|---|
No CCIs are assigned to this check |
Controls
Number | Title |
---|---|
No controls are assigned to this check |