STIGQter STIGQter: STIG Summary: VMware vSphere 8.0 vCenter Appliance User Interface (UI) Security Technical Implementation Guide Version: 1 Release: 1 Benchmark Date: 31 Oct 2023:

The vCenter UI service must produce log records containing sufficient information regarding event details.

DISA Rule

SV-259107r935225_rule

Vulnerability Number

V-259107

Group Title

SRG-APP-000095-AS-000056

Rule Version

VCUI-80-000014

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Navigate to and open:

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

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

pattern="%h %{x-forwarded-for}i %l %u %t &quot;%r&quot; %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 --xpath '/Server/Service/Engine/Host/Valve[@className="org.apache.catalina.valves.AccessLogValve"]/@pattern' /usr/lib/vmware-vsphere-ui/server/conf/server.xml

Example result:

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

Required elements:

%h %{X-Forwarded-For}i %l %t %u &quot;%r&quot; %s %b

If the log pattern does not contain the required elements in any order, this is a finding.

Vulnerability Number

V-259107

Documentable

False

Rule Version

VCUI-80-000014

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-vsphere-ui/server/conf/server.xml

Example result:

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

Required elements:

%h %{X-Forwarded-For}i %l %t %u &quot;%r&quot; %s %b

If the log pattern does not contain the required elements in any order, this is a finding.

Check Content Reference

M

Target Key

5568