UCF STIG Viewer Logo

vSphere Client must set "URIEncoding" to UTF-8.


Overview

Finding ID Version Rule ID IA Controls Severity
V-239762 VCFL-67-000021 SV-239762r679513_rule Medium
Description
Invalid user input occurs when a user inserts data or characters into a hosted application's data entry field and the hosted application is unprepared to process that data. This results in unanticipated application behavior, potentially leading to an application compromise. Invalid user input is one of the primary methods employed when attempting to compromise an application. An attacker can also enter Unicode characters into hosted applications in an effort to break out of the document home or root home directory or to bypass security checks. vSphere Client must be configured to use a consistent character set via the "URIEncoding" attribute on the Connector nodes.
STIG Date
VMware vSphere 6.7 Virgo-Client Security Technical Implementation Guide 2021-03-18

Details

Check Text ( C-42995r679511_chk )
At the command prompt, execute the following command:

# xmllint --format --xpath '/Server/Service/Connector/@URIEncoding' /usr/lib/vmware-vsphere-client/server/configuration/tomcat-server.xml

Expected result:

URIEncoding="UTF-8" URIEncoding="UTF-8"

If the output does not match the expected result, this is a finding.
Fix Text (F-42954r679512_fix)
Navigate to and open /usr/lib/vmware-vsphere-client/server/configuration/tomcat-server.xml.

Configure each node with the following:

URIEncoding="UTF-8"