VCUI-70-000022 - vSphere UI must set the welcome-file node to a default web page.

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.

By having a default hosted application web page, the anonymous web user will not obtain directory browsing information or an error message that reveals the server type and version. Ensuring every document directory has an 'index.jsp' (or equivalent) file is one approach to mitigating the vulnerability.

Solution

Navigate to and open:

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

Add the following section under the <web-apps> node:

<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>

Restart the service with the following command:

# vmon-cli --restart vsphere-ui

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_7-0_Y23M07_STIG.zip

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-11a., CAT|II, CCI|CCI-001312, Rule-ID|SV-256799r889396_rule, STIG-ID|VCUI-70-000022, Vuln-ID|V-256799

Plugin: Unix

Control ID: 630f939e36b50c859b5b597545eac40256efb36d7597b26ae335df6e861431b6