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 default servlet must be set to "readonly".

DISA Rule

SV-256644r888423_rule

Vulnerability Number

V-256644

Group Title

SRG-APP-000516-WSR-000174

Rule Version

VCPF-70-000034

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Navigate to and open:

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

Navigate to the /<web-apps>/<servlet>/<servlet-name>default</servlet-name>/ node and remove the following node:

<init-param>
<param-name>readonly</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 '/web-app/servlet/servlet-name[text()="default"]/../init-param/param-name[text()="readonly"]/../param-value[text()="false"]' -

Expected result:

XPath set is empty

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

Vulnerability Number

V-256644

Documentable

False

Rule Version

VCPF-70-000034

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 '/web-app/servlet/servlet-name[text()="default"]/../init-param/param-name[text()="readonly"]/../param-value[text()="false"]' -

Expected result:

XPath set is empty

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

Check Content Reference

M

Target Key

5522