OH12-1X-000056 - OHS must have a log file defined for each site/virtual host to capture logs generated that allow the establishment of when an event occurred.

Information

Web server logging capability is critical for accurate forensic analysis. Without sufficient and accurate information, a correct replay of the events cannot be determined.

Ascertaining the correct order of the events that occurred is important during forensic analysis. Events that appear harmless by themselves might be flagged as a potential threat when properly viewed in sequence. By also establishing the event date and time, an event can be properly viewed with an enterprise tool to fully see a possible threat in its entirety.

Without sufficient information establishing when the log event occurred, investigation into the cause of event is severely hindered. Log record content that may be necessary to satisfy the requirement of this control includes, but is not limited to, time stamps, source and destination IP addresses, user/process identifiers, event descriptions, application-specific events, success/fail indications, file names involved, access control, or flow control rules invoked.

Solution

1. Open $DOMAIN_HOME/config/fmwconfig/components/OHS/<componentName>/httpd.conf and every .conf file (e.g., ssl.conf) included in it with an editor that contains a '<VirtualHost>' directive.

2. Search for the 'CustomLog' directive at the OHS server and virtual host configuration scopes.

3a. If the virtual host is NOT configured for SSL, set the 'CustomLog' directive to ''||${PRODUCT_HOME}/bin/odl_rotatelogs <DESIRED_DIRECTORY_AND_FILE_NAME> 43200' dod', add the directive if it does not exist unless inherited from a larger scope.
3b. If the virtual host is configured for SSL, set the 'CustomLog' directive to ''||${PRODUCT_HOME}/bin/odl_rotatelogs <DESIRED_DIRECTORY_AND_FILE_NAME> 43200' dod_ssl', add the directive if it does not exist unless inherited from a larger scope.

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: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-3, CAT|II, CCI|CCI-000131, Rule-ID|SV-221318r879564_rule, STIG-ID|OH12-1X-000056, STIG-Legacy|SV-78693, STIG-Legacy|V-64203, Vuln-ID|V-221318

Plugin: Unix

Control ID: e2b17de7c1acc986d8a341855c3b188ccaa1b9ef2c202aec5a46259053400469