OH12-1X-000165 - OHS must have the ScriptAlias /cgi-bin/ directive within a IfModule alias_module directive disabled - ScriptAlias /cgi-bin/

Information

Scripts allow server side processing on behalf of the hosted application user or as processes needed in the implementation of hosted applications. Removing scripts not needed for application operation or deemed vulnerable helps to secure the web server.

To assure scripts are not added to the web server and run maliciously, those script mappings that are not needed or used by the web server for hosted application operation must be removed.

Solution

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

2. Search for a 'ScriptAlias /cgi-bin/' directive within a '<IfModule alias_module>' directive at the OHS server configuration scope.

3. Comment out the 'ScriptAlias /cgi-bin/' directive and its surrounding '<IfModule alias_module>' directive if they exist.

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-221409r879587_rule, STIG-ID|OH12-1X-000165, STIG-Legacy|SV-78883, STIG-Legacy|V-64393, Vuln-ID|V-221409

Plugin: Unix

Control ID: a7d74dd544c8da999f94f7324fed7d26e257af0e4723e64f3fcd1c43acd1ac12