OH12-1X-000060 - OHS must have a log format defined for log records that allow the establishment of the source of events.

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 source, e.g., source IP, of the events is important during forensic analysis. Correctly determining the source will add information to the overall reconstruction of the logable event. By determining the source of the event correctly, analysis of the enterprise can be undertaken to determine if the event compromised other assets within the enterprise.

Without sufficient information establishing the source of the logged event, 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 'LogFormat' directive with a nickname of 'dod' at the OHS server and virtual host configuration scopes.

3. Set the 'LogFormat' directive to ''%h %l %u %t '%r' %>s %b '%{Referer}i' '%{User-Agent}i' ecid:%E xfor:%{X-Forwarded-For}i' dod', 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-000133, Rule-ID|SV-221322r879566_rule, STIG-ID|OH12-1X-000060, STIG-Legacy|SV-78701, STIG-Legacy|V-64211, Vuln-ID|V-221322

Plugin: Unix

Control ID: 5af8b2961d90fb989a284c04bab1ba4f6832f52f2fa214e95f51797318b6f751