UCF STIG Viewer Logo

OHS must have the ScriptAlias directive for CGI scripts disabled.


Overview

Finding ID Version Rule ID IA Controls Severity
V-221366 OH12-1X-000119 SV-221366r414783_rule Medium
Description
A web server can provide many features, services, and processes. Some of these may be deemed unnecessary or too unsecure to run on a production DoD system. The web server must provide the capability to disable, uninstall, or deactivate functionality and services that are deemed to be non-essential to the web server mission or can adversely impact server performance.
STIG Date
Oracle HTTP Server 12.1.3 Security Technical Implementation Guide 2021-12-29

Details

Check Text ( C-23081r414781_chk )
1. Open $DOMAIN_HOME/config/fmwconfig/components/OHS//httpd.conf with an editor.

2. Search for a "ScriptAlias /cgi-bin/" directive within a "" directive at the OHS server configuration scope.

3. If the directive and its surrounding "" directive exist and are not commented out, this is a finding.
Fix Text (F-23070r414782_fix)
1. Open $DOMAIN_HOME/config/fmwconfig/components/OHS//httpd.conf with an editor.

2. Search for a "ScriptAlias /cgi-bin/" directive within a "" directive at the OHS server configuration scope.

3. Comment out the "ScriptAlias /cgi-bin/" directive and its surrounding "" directive if they exist.