STIGQter STIGQter: STIG Summary: VMware vSphere 6.7 EAM Tomcat Security Technical Implementation Guide Version: 1 Release: 1 Benchmark Date: 09 Mar 2021:

ESX Agent Manager must record user access in a format that enables monitoring of remote access.

DISA Rule

SV-239376r674700_rule

Vulnerability Number

V-239376

Group Title

SRG-APP-000016-WSR-000005

Rule Version

VCEM-67-000005

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Navigate to and open:

/usr/lib/vmware-eam/web/conf/server.xml

Add the following line at the very top of the <Host> node.

<Valve className="org.apache.catalina.valves.RemoteIpValve" httpServerPort="80" httpsServerPort="443" protocolHeader="x-forwarded-proto" proxiesHeader="x-forwarded-by" remoteIpHeader="x-forwarded-for" requestAttributesEnabled="true" internalProxies="127\.0\.0\.1"/>

Inside the <Host> node, remove the existing "AccessLogValve" <Valve> node entirely and replace it with the following line:

<Valve className="org.apache.catalina.valves.AccessLogValve" directory="${eam.catalina.logdir}" pattern="%h %{X-Forwarded-For}i %l %u %t [%I] &quot;%r&quot; %s %b [Processing time %D msec] &quot;%{User-Agent}i&quot;" resolveHosts="false" prefix="localhost_access_log" suffix=".txt"/>

Check Contents

At the command prompt, execute the following command:

# xmllint --xpath '/Server/Service/Engine/Host/Valve[@className="org.apache.catalina.valves.AccessLogValve"]'/@pattern /usr/lib/vmware-eam/web/conf/server.xml

Expected result:

pattern="%h %{X-Forwarded-For}i %l %u %t [%I] &quot;%r&quot; %s %b [Processing time %D msec] &quot;%{User-Agent}i&quot;"

If the output does not match the expected result, this is a finding.

Vulnerability Number

V-239376

Documentable

False

Rule Version

VCEM-67-000005

Severity Override Guidance

At the command prompt, execute the following command:

# xmllint --xpath '/Server/Service/Engine/Host/Valve[@className="org.apache.catalina.valves.AccessLogValve"]'/@pattern /usr/lib/vmware-eam/web/conf/server.xml

Expected result:

pattern="%h %{X-Forwarded-For}i %l %u %t [%I] &quot;%r&quot; %s %b [Processing time %D msec] &quot;%{User-Agent}i&quot;"

If the output does not match the expected result, this is a finding.

Check Content Reference

M

Target Key

5328

Comments