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 not show directory listings.

DISA Rule

SV-256633r888390_rule

Vulnerability Number

V-256633

Group Title

SRG-APP-000266-WSR-000142

Rule Version

VCPF-70-000023

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Navigate to and open:

/usr/lib/vmware-perfcharts/tc-instance/conf/web.xml

Set the <param-value> to "false" in all <param-name>listing</param-name> nodes.

Note: The setting should look like the following:

<init-param>
<param-name>listings</param-name>
<param-value>false</param-value>
</init-param>

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/web.xml | sed 's/xmlns=".*"//g' | xmllint --xpath '//param-name[text()="listings"]/parent::init-param' -

Expected result:

<init-param>
<param-name>listings</param-name>
<param-value>false</param-value>
</init-param>

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

Vulnerability Number

V-256633

Documentable

False

Rule Version

VCPF-70-000023

Severity Override Guidance

At the command prompt, run the following command:

# xmllint --format /usr/lib/vmware-perfcharts/tc-instance/conf/web.xml | sed 's/xmlns=".*"//g' | xmllint --xpath '//param-name[text()="listings"]/parent::init-param' -

Expected result:

<init-param>
<param-name>listings</param-name>
<param-value>false</param-value>
</init-param>

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

Check Content Reference

M

Target Key

5522