STIGQter STIGQter: STIG Summary: VMware vSphere 8.0 vCenter Appliance Perfcharts Security Technical Implementation Guide Version: 1 Release: 1 Benchmark Date: 31 Oct 2023:

The vCenter Perfcharts service DefaultServlet must be set to "readonly" for "PUT" and "DELETE" commands.

DISA Rule

SV-259090r934928_rule

Vulnerability Number

V-259090

Group Title

SRG-APP-000033-AS-000024

Rule Version

VCPF-80-000130

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Navigate to and open:

/usr/lib/vmware-perfcharts/tc-instance/webapps/statsreport/WEB-INF/web.xml

Navigate to the /<web-apps>/<servlet>/<servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>/ 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 --xpath "//*[contains(text(), 'DefaultServlet')]/parent::*" /usr/lib/vmware-perfcharts/tc-instance/webapps/statsreport/WEB-INF/web.xml

Example output:

<servlet>
<description>File servlet</description>
<servlet-name>FileServlet</servlet-name>
<servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
</servlet>

If the "readOnly" param-value for the "DefaultServlet" servlet class is set to "false", this is a finding.

If the "readOnly" param-value does not exist, this is not a finding.

Vulnerability Number

V-259090

Documentable

False

Rule Version

VCPF-80-000130

Severity Override Guidance

At the command prompt, run the following command:

# xmllint --xpath "//*[contains(text(), 'DefaultServlet')]/parent::*" /usr/lib/vmware-perfcharts/tc-instance/webapps/statsreport/WEB-INF/web.xml

Example output:

<servlet>
<description>File servlet</description>
<servlet-name>FileServlet</servlet-name>
<servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
</servlet>

If the "readOnly" param-value for the "DefaultServlet" servlet class is set to "false", this is a finding.

If the "readOnly" param-value does not exist, this is not a finding.

Check Content Reference

M

Target Key

5566