STIGQter STIGQter: STIG Summary: VMware vSphere 6.7 Perfcharts Tomcat Security Technical Implementation Guide Version: 1 Release: 1 Benchmark Date: 09 Mar 2021:

Performance Charts must not show directory listings.

DISA Rule

SV-239423r674992_rule

Vulnerability Number

V-239423

Group Title

SRG-APP-000266-WSR-000142

Rule Version

VCPF-67-000022

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>

Check Contents

At the command prompt, execute the following command:

# xmllint --format /usr/lib/vmware-perfcharts/tc-instance/conf/web.xml | sed '2 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-239423

Documentable

False

Rule Version

VCPF-67-000022

Severity Override Guidance

At the command prompt, execute the following command:

# xmllint --format /usr/lib/vmware-perfcharts/tc-instance/conf/web.xml | sed '2 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

5329

Comments