STIGQter STIGQter: STIG Summary: VMware vSphere 7.0 vCenter Appliance Perfcharts Security Technical Implementation Guide Version: 1 Release: 1 Benchmark Date: 07 Mar 2023:

Performance Charts must record user access in a format that enables monitoring of remote access.

DISA Rule

SV-256615r888336_rule

Vulnerability Number

V-256615

Group Title

SRG-APP-000016-WSR-000005

Rule Version

VCPF-70-000005

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Navigate to and open:

/usr/lib/vmware-perfcharts/tc-instance/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 &quot;%{User-Agent}i&quot;"

Restart the service with the following command:

# vmon-cli --restart perfcharts

Check Contents

At the command prompt, run the following command:

# xmllint --format /usr/lib/vmware-perfcharts/tc-instance/conf/server.xml | sed '2 s/xmlns=".*"//g' | 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 &quot;%r&quot; %s %b &quot;%{User-Agent}i&quot;"

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

Vulnerability Number

V-256615

Documentable

False

Rule Version

VCPF-70-000005

Severity Override Guidance

At the command prompt, run the following command:

# xmllint --format /usr/lib/vmware-perfcharts/tc-instance/conf/server.xml | sed '2 s/xmlns=".*"//g' | 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 &quot;%r&quot; %s %b &quot;%{User-Agent}i&quot;"

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

Check Content Reference

M

Target Key

5522