VCPF-67-000005 - Performance Charts must record user access in a format that enables monitoring of remote access.

Information

Remote access can be exploited by an attacker to compromise the server. By recording all remote access activities, it will be possible to determine the attacker's location, intent, and degree of success.

Tomcat can be configured with an 'AccessLogValve', a component that can be inserted into the request processing pipeline to provide robust access logging. The AccessLogValve creates log files in the same format as those created by standard web servers. When AccessLogValve is properly configured, log files will contain all the forensic information necessary in the case of a security incident.

Satisfies: SRG-APP-000016-WSR-000005, SRG-APP-000095-WSR-000056, SRG-APP-000096-WSR-000057, SRG-APP-000097-WSR-000058, SRG-APP-000098-WSR-000059, SRG-APP-000098-WSR-000060, SRG-APP-000099-WSR-000061, SRG-APP-000100-WSR-000064, SRG-APP-000374-WSR-000172, SRG-APP-000375-WSR-000171

Solution

Navigate to and open /usr/lib/vmware-perfcharts/tc-instance/conf/server.xml.

Inside the <Host> node, add the 'AccessLogValve' <Valve> node entirely if it does not exist or update the existing pattern to match the following line:

<Valve className='org.apache.catalina.valves.AccessLogValve' directory='${vim.logdir}' pattern='%h %{X-Forwarded-For}i %l %u %t &quot;%r&quot; %s %b &quot;%{User-Agent}i&quot;' prefix='localhost_access_log' suffix='.txt'/>

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_6-7_Y23M07_STIG.zip

Item Details

Category: ACCESS CONTROL, AUDIT AND ACCOUNTABILITY

References: 800-53|AC-17(1), 800-53|AU-3, 800-53|AU-8b., 800-53|AU-14(2), CAT|II, CCI|CCI-000067, CCI|CCI-000130, CCI|CCI-000131, CCI|CCI-000132, CCI|CCI-000133, CCI|CCI-000134, CCI|CCI-001462, CCI|CCI-001487, CCI|CCI-001889, CCI|CCI-001890, Rule-ID|SV-239406r879521_rule, STIG-ID|VCPF-67-000005, Vuln-ID|V-239406

Plugin: Unix

Control ID: 92bd5289cd0d4b38c9dba61ce35876d50ff72c25bf6ff10c22559628290d5008