STIGUI
V-256695CAT II — Medium severitySV-256695r961167_rule

ESX Agent Manager must not show directory listings.

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

Discussion

Enumeration techniques, such as URL parameter manipulation, rely on being able to obtain information about the web server's directory structure by locating directories without default pages. In this scenario, the web server will display to the user a listing of the files in the directory being accessed. Ensuring that directory listing is disabled is one approach to mitigating the vulnerability.

In Tomcat, directory listing is disabled by default but can be enabled via the "listings" parameter. Ensure this node is not present to have the default effect.

Check

At the command prompt, run the following command:

# xmllint --format /usr/lib/vmware-eam/web/webapps/eam/WEB-INF/web.xml | sed 's/xmlns=".*"//g' | xmllint --xpath '//param-name[text()="listings"]/parent::init-param' -

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

Find and remove the entire block returned in the check.

Example:

<init-param> <param-name>listings</param-name> <param-value>true</param-value> </init-param>

Restart the service with the following command:

# vmon-cli --restart eam

Identifiers

Group ID
V-256695
Group title
SRG-APP-000266-WSR-000142
Rule ID
SV-256695r961167_rule
Check ID
C-60370r888639_chk
Fix ID
F-60313r888640_fix