OH12-1X-000157 - OHS must have the AliasMatch directive disabled for the OHS manuals.

Information

Web server documentation, sample code, example applications, and tutorials may be an exploitable threat to a web server because this type of code has not been evaluated and approved. A production web server must only contain components that are operationally necessary (e.g., compiled code, scripts, web-content, etc.).

Any documentation, sample code, example applications, and tutorials must be removed from a production web server. To make certain that the documentation and code are not installed or uninstalled completely; the web server must offer an option as part of the installation process to exclude these packages or to uninstall the packages if necessary.

Solution

1. Open $DOMAIN_HOME/config/fmwconfig/components/OHS/<componentName>/httpd.conf with an editor.

2. Search for an 'AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|pt-br|ru|tr))?(/.*)?$ '${PRODUCT_HOME}/manual$1'' directive at the OHS server configuration scope.

3. Comment out the 'AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|pt-br|ru|tr))?(/.*)?$ '${PRODUCT_HOME}/manual$1'' directive if it exists.

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: CONFIGURATION MANAGEMENT

References: 800-53|CM-7a., CAT|II, CCI|CCI-000381, Rule-ID|SV-221403r879587_rule, STIG-ID|OH12-1X-000157, STIG-Legacy|SV-78871, STIG-Legacy|V-64381, Vuln-ID|V-221403

Plugin: Unix

Control ID: aa353645c2abc8148f7b824275b13990080756ac2e9bc693809531e9ed5b1e7d