UCF STIG Viewer Logo

OHS must be set to evaluate deny directives first when considering whether to serve a file.


Overview

Finding ID Version Rule ID IA Controls Severity
V-64627 OH12-1X-000194 SV-79117r1_rule Medium
Description
Part of securing OHS is allowing/denying access to the web server. Deciding on the manor the allow/deny rules are evaluated can turn what was once an allowable access into being blocked if the evaluation is reversed. By ordering the access as first deny and then allow, OHS will deny all access first and then look at the allow clauses to see who may access the server. By structuring the evaluation in this manner, a misconfiguration will more likely deny a valid user than allow an illegitimate user that may compromise the system.
STIG Date
Oracle HTTP Server 12.1.3 Security Technical Implementation Guide 2015-12-10

Details

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

2. Search for the "" directive within the OHS server configuration scope.

3. If the "Order" directive within the "" directive is omitted or is set improperly, this is a finding.
Fix Text (F-70557r1_fix)
1. Open $DOMAIN_HOME/config/fmwconfig/components/OHS//httpd.conf with an editor.

2. Search for the "" directive within the OHS server configuration scope.

3. Set the "Order" directive within the "" directive to "deny,allow", add the directive if it does not exist.