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

The vSphere UI must not show directory listings.

Rule version VCUI-70-000023 · STIG v1 · 2026-09-09

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 directory listing is disabled is one approach to mitigating the vulnerability.

Check

At the command prompt, run the following command:

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

Expected result:

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

If the output of the command does not match the expected result, this is a finding.

Fix

Navigate to and open:

/usr/lib/vmware-vsphere-ui/server/conf/web.xml

Set the <param-value> to "false" in all <param-name>listing</param-name> nodes.

Note: The setting should look like the following:

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

Restart the service with the following command:

# vmon-cli --restart vsphere-ui

Identifiers

Group ID
V-256800
Group title
SRG-APP-000266-WSR-000142
Rule ID
SV-256800r961167_rule
Check ID
C-60475r889397_chk
Fix ID
F-60418r889398_fix