OH12-1X-000281 - OHS must have the DocumentRoot directive set to a separate partition from the OHS system files.

Information

A web server is used to deliver content on the request of a client. The content delivered to a client must be controlled, allowing only hosted application files to be accessed and delivered. To allow a client access to system files of any type is a major security risk that is entirely avoidable. Obtaining such access is the goal of directory traversal and URL manipulation vulnerabilities. To facilitate such access by misconfiguring the web document (home) directory is a serious error. In addition, having the path on the same drive as the system folder compounds potential attacks such as drive space exhaustion.

NOTE: Nessus has provided the target output to assist in reviewing the benchmark to ensure target compliance.

Solution

1. Open $DOMAIN_HOME/config/fmwconfig/components/OHS/<componentName>/httpd.conf and every .conf file (e.g., ssl.conf) included in it with an editor.

2. Search for the 'DocumentRoot' directive at the OHS server and virtual host configuration scopes.

3. Set the 'DocumentRoot' directive to a location that is on a separate drive from the $ORACLE_HOME and $DOMAIN_HOME directories.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Oracle_HTTP_Server_12-1-3_V1R7_STIG.zip

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-11, CAT|II, CCI|CCI-001084, Rule-ID|SV-78941r1_rule, STIG-ID|OH12-1X-000281, Vuln-ID|V-64451

Plugin: Unix

Control ID: 0a6238da84eaf870c3a4f0526308caefa25513029bc646f6105873234c450e7e