VCST-70-000031 - The Security Token Service 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-sso/vmware-sts/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 sts

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-256774r889292_rule, STIG-ID|VCST-70-000031, Vuln-ID|V-256774

Plugin: Unix

Control ID: b2857e85a60374d5d2cc97729d1e751d9074d70c6a46907e2bd71e969dd6956d