VCUI-67-000021 - The vSphere UI must not show directory listings.

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

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.

Solution

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>

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_6-7_STIG.zip

Item Details

References: CAT|II, CCI|CCI-001312, Rule-ID|SV-239702r679212_rule, STIG-ID|VCUI-67-000021, Vuln-ID|V-239702

Plugin: Unix

Control ID: 020103f06e769ed834c38ec1fe7822ea1c28604ee4350f252cf6c8d819817c5d