VCEM-67-000023 - ESX Agent Manager must not show directory listings.

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.

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

Solution

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>

See Also

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

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-11a., CAT|II, CCI|CCI-001312, Rule-ID|SV-239394r879655_rule, STIG-ID|VCEM-67-000023, Vuln-ID|V-239394

Plugin: Unix

Control ID: 1215a38cd4cd7fc38f61dcf5ffb2cd5317a19ade05ecb25a75bf6954034d7c20