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

From Oracle HTTP Server 12.1.3 Security Technical Implementation Guide

Part of SRG-APP-000141-WSR-000087

Associated with: CCI-000381

SV-78893r1_rule Users and scripts running on behalf of users must be contained to the document root or home directory tree of OHS.

Vulnerability discussion

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.

Check content

1. Open $DOMAIN_HOME/config/fmwconfig/components/OHS//httpd.conf and every .conf file (e.g., ssl.conf) included in it with an editor. 2. Search for the "" directive at OHS server and virtual host configuration scopes. 3. If the "Options" directive within the "" directive is omitted or is set improperly, this is a finding.

Fix text

1. Open $DOMAIN_HOME/config/fmwconfig/components/OHS//httpd.conf and every .conf file (e.g., ssl.conf) included in it with an editor. 2. Search for the "" directive at OHS server and virtual host configuration scopes. 3. Set the "Options" directive within the "" directive to "None", add the directive if it does not exist.

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer