UCF STIG Viewer Logo

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


Overview

Finding ID Version Rule ID IA Controls Severity
V-92511 AS24-W2-000350 SV-102599r1_rule Medium
Description
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.
STIG Date
Apache Server 2.4 Windows Site Security Technical Implementation Guide 2019-10-03

Details

Check Text ( C-91813r1_chk )
Review the <'INSTALLED PATH'>\conf\httpd.conf file and search for the following directive:

Directory

For every root directory entry (i.e., ), verify the following exists. If it does not, this is a finding:

Order Deny,Allow
Deny from all

If the statement above is not found in the root directory statement, this is a finding.

If "Allow" directives are included in the root directory statement, this is a finding.
Fix Text (F-98753r1_fix)
Edit the <'INSTALLED PATH'>\conf\httpd.conf file and set the root directory directive as follows:

Directory

Order Deny,Allow
Deny from all