STIGQter STIGQter: STIG Summary: VMware vSphere 7.0 vCenter Appliance Lookup Service Security Technical Implementation Guide Version: 1 Release: 2 Benchmark Date: 26 Jul 2023:

Lookup Service must record user access in a format that enables monitoring of remote access.

DISA Rule

SV-256710r888721_rule

Vulnerability Number

V-256710

Group Title

SRG-APP-000016-WSR-000005

Rule Version

VCLU-70-000005

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Navigate to and open:

/usr/lib/vmware-lookupsvc/conf/server.xml

Inside the <Host> node, find the "AccessLogValve" <Valve> node and replace the "pattern" element as follows:

pattern="%t %I [RemoteIP] %{X-Forwarded-For}i %u [Request] %h:%{remote}p to local %{local}p - %H %m %U%q [Response] %s - %b bytes [Perf] process %Dms / commit %Fms / conn [%X]"

Restart the service with the following command:

# vmon-cli --restart lookupsvc

Check Contents

At the command prompt, run the following command:

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

Expected result:

pattern="%t %I [RemoteIP] %{X-Forwarded-For}i %u [Request] %h:%{remote}p to local %{local}p - %H %m %U%q [Response] %s - %b bytes [Perf] process %Dms / commit %Fms / conn [%X]"

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

Vulnerability Number

V-256710

Documentable

False

Rule Version

VCLU-70-000005

Severity Override Guidance

At the command prompt, run the following command:

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

Expected result:

pattern="%t %I [RemoteIP] %{X-Forwarded-For}i %u [Request] %h:%{remote}p to local %{local}p - %H %m %U%q [Response] %s - %b bytes [Perf] process %Dms / commit %Fms / conn [%X]"

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

Check Content Reference

M

Target Key

5525