UCF STIG Viewer Logo

vSphere Client must set the "welcome-file" node to a default web page.


Overview

Finding ID Version Rule ID IA Controls Severity
V-239763 VCFL-67-000022 SV-239763r679516_rule Medium
Description
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 that every document directory has an "index.jsp" (or equivalent) file is one approach to mitigating the vulnerability.
STIG Date
VMware vSphere 6.7 Virgo-Client Security Technical Implementation Guide 2021-03-18

Details

Check Text ( C-42996r679514_chk )
At the command prompt, execute the following command:

# xmllint --format /usr/lib/vmware-vsphere-client/server/configuration/conf/web.xml | sed 's/xmlns=".*"//g' | xmllint --xpath '/web-app/welcome-file-list' -

Expected result:


index.html
index.htm
index.jsp


If the output of the command does not match the expected result, this is a finding.
Fix Text (F-42955r679515_fix)
Navigate to and open /usr/lib/vmware-vsphere-client/server/configuration/conf/web.xml.

Inspect the file and ensure that it contains the following section:


index.html
index.htm
index.jsp