Check: TOMCAT-000098-AS-000061
Apache Tomcat Application Server STIG - Xylok Custom:
TOMCAT-000098-AS-000061
(in version v1 r1.1)
Title
The application server must produce log records containing sufficient information to establish the sources of the events. (Cat II impact)
Discussion
Application 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.
Check Content
Review the server.xml configuration file for Tomcat server and verify that logging has been setup with at least the following entries: %h In the server.xml file look for the following section in the xml: <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="localhost_access_log." suffix=".txt" pattern="%h %l %u %t "%r" %s %b" /> If the pattern attribute does not contain “common” or at least the following : “%h”, this is a finding.
Fix Text
Configure the application server to generate the source of each logable event.
Additional Identifiers
Rule ID: SV-46457r3_rule
Vulnerability ID: V-35170
Group Title:
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000133 |
The information system generates audit records containing information that establishes the source of the event. |
Controls
Number | Title |
---|---|
AU-3 |
Content Of Audit Records |