OH12-1X-000346 - OHS must display a default hosted application web page, not a directory listing, when a requested web page cannot be found.

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

The goal is to completely control the web user's experience in navigating any portion of the web document root directories. Ensuring all web content directories have at least the equivalent of an index.html file is a significant factor to accomplish this end.

Enumeration techniques, such as URL parameter manipulation, rely upon being able to obtain information about the web server's directory structure by locating directories without default pages. In the scenario, the web server will display to the user a listing of the files in the directory being accessed. By having a default hosted application web page, the anonymous web user will not obtain directory browsing information or an error message that reveals the server type and version.

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' directives at the server and virtual host configuration scopes.

3. Go to the location specified as the value for each 'DocumentRoot' directive (e.g., cd $DOMAIN_HOME/config/fmwconfig/components/OHS/instances/ohs1/htdocs) and its subdirectories.

4. Create a standard or empty index.html file (e.g., echo > index.html) in the directory specified for 'DocumentRoot' and any subdirectories it may have.

See Also

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

Item Details

References: CAT|III, CCI|CCI-001312, Rule-ID|SV-221546r415319_rule, STIG-ID|OH12-1X-000346, STIG-Legacy|SV-78967, STIG-Legacy|V-64477, Vuln-ID|V-221546

Plugin: Unix

Control ID: a1f237d2ab1508b4f52c66169a4e67716819cc5072cfcb4109384f4b30b25b0c