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_V2R2_STIG.zip

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-3, CAT|II, CCI|CCI-001084, Rule-ID|SV-221496r879643_rule, STIG-ID|OH12-1X-000281, STIG-Legacy|SV-78941, STIG-Legacy|V-64451, Vuln-ID|V-221496

Plugin: Unix

Control ID: 2f7df6a87f25e2850fdea739c457f390d68773c4865e663f6a0217879eaf271d