STIGUI
V-256705CAT II — Medium severitySV-256705r961863_rule

ESX Agent Manager default servlet must be set to "readonly".

Rule version VCEM-70-000033 · STIG v1 · 2026-09-10

Discussion

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).

Check

At the command prompt, run the following command:

# xmllint --format /usr/lib/vmware-eam/web/webapps/eam/WEB-INF/web.xml | sed '2 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.

Fix

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

Identifiers

Group ID
V-256705
Group title
SRG-APP-000516-WSR-000174
Rule ID
SV-256705r961863_rule
Check ID
C-60380r888669_chk
Fix ID
F-60323r888670_fix