VCEM-70-000033 - ESX Agent Manager 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-eam/web/webapps/eam/WEB-INF/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 eam

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-256705r888671_rule, STIG-ID|VCEM-70-000033, Vuln-ID|V-256705

Plugin: Unix

Control ID: 2b1f9833d2da2d9ce81792e431bb6d1bfdc9439a8fc79daee7a419d475b1a498