VCPF-70-000034 - Performance Charts default servlet must be set to 'readonly'.

Information

The default servlet (or DefaultServlet) is a special servlet provided with Tomcat that is called when no other suitable page is found in a particular folder. The DefaultServlet serves static resources as well as directory listings. The DefaultServlet is configured by default with the 'readonly' parameter set to 'true' where HTTP commands such as PUT and DELETE are rejected.

Changing this to 'false' allows clients to delete or modify static resources on the server and to upload new resources. DefaultServlet 'readonly' must be set to 'true', either literally or by absence (default).

Solution

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

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_7-0_Y23M07_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-256644r888423_rule, STIG-ID|VCPF-70-000034, Vuln-ID|V-256644

Plugin: Unix

Control ID: 458f1e8463b3b9f343d65aa0803a5e6711d01298c0fece351afa7b41c3983303