OHS must have the ScriptAlias /cgi-bin/ directive within a IfModule alias_module directive disabled.

From Oracle HTTP Server 12.1.3 Security Technical Implementation Guide

Part of SRG-APP-000141-WSR-000082

Associated with: CCI-000381

SV-78883r1_rule OHS must have the ScriptAlias /cgi-bin/ directive within a IfModule alias_module directive disabled.

Vulnerability discussion

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.

Check content

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

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.

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer