OH12-1X-000194 - OHS must be set to evaluate deny directives first when considering whether to serve a file.

Information

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.

Solution

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

2. Search for the '<Directory />' directive within the OHS server configuration scope.

3. Set the 'Order' directive within the '<Directory />' directive to 'deny,allow', add the directive if it does not exist.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Oracle_HTTP_Server_12-1-3_V2R3_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-221432r961863_rule, STIG-ID|OH12-1X-000194, STIG-Legacy|SV-79117, STIG-Legacy|V-64627, Vuln-ID|V-221432

Plugin: Unix

Control ID: 9b470c315c1c87d5909f4c353d611761863f385a63a7790e93a42c7bcc4371c3