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

vSphere UI must record user access in a format that enables monitoring of remote access.

DISA Rule

SV-256782r889345_rule

Vulnerability Number

V-256782

Group Title

SRG-APP-000016-WSR-000005

Rule Version

VCUI-70-000005

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Navigate to and open:

/usr/lib/vmware-vsphere-ui/server/conf/server.xml

Ensure the log pattern in the "org.apache.catalina.valves.AccessLogValve" node is set to the following:

pattern="%h %{x-forwarded-for}i %l %u %t "%r" %s %b %{#hashedClientId#}s %{#hashedRequestId#}r %I %D"

Restart the service with the following command:

# vmon-cli --restart vsphere-ui

Check Contents

At the command prompt, run the following command:

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

Expected result:

pattern="%h %{x-forwarded-for}i %l %u %t "%r" %s %b %{#hashedClientId#}s %{#hashedRequestId#}r %I %D"

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

Vulnerability Number

V-256782

Documentable

False

Rule Version

VCUI-70-000005

Severity Override Guidance

At the command prompt, run the following command:

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

Expected result:

pattern="%h %{x-forwarded-for}i %l %u %t "%r" %s %b %{#hashedClientId#}s %{#hashedRequestId#}r %I %D"

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

Check Content Reference

M

Target Key

5528