AS24-W2-000350 - Users and scripts running on behalf of users must be contained to the document root or home directory tree of the Apache web server.

Information

A web server is designed to deliver content and execute scripts or applications on the request of a client or user. Containing user requests to files in the directory tree of the hosted web application and limiting the execution of scripts and applications guarantees that the user is not accessing information protected outside the application's realm.

The web server must also prohibit users from jumping outside the hosted application directory tree through access to the user's home directory, symbolic links or shortcuts, or through search paths for missing files.

Solution

Edit the <'INSTALLED PATH'>\conf\httpd.conf file and set the root directory directive as follows:

Directory

Require all denied

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Apache_Server_2-4_Windows_Y23M01_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7a., CAT|II, CCI|CCI-000381, Rule-ID|SV-214368r395853_rule, STIG-ID|AS24-W2-000350, STIG-Legacy|SV-102599, STIG-Legacy|V-92511, Vuln-ID|V-214368

Plugin: Windows

Control ID: f592a57fab59bdcd2a38fd48070163e369cfe090cd6d5c0f12232712098bab06