STIGUI
V-256798CAT II — Medium severitySV-256798r961158_rule

vSphere UI must set URIEncoding to UTF-8.

Rule version VCUI-70-000021 · STIG v1 · 2026-09-09

Discussion

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 UI must be configured to use a consistent character set via the "URIEncoding" attribute on the Connector nodes.

Check

At the command prompt, run the following command:

# xmllint --xpath '/Server/Service/Connector[@port="${http.port}"]/@URIEncoding' /usr/lib/vmware-vsphere-ui/server/conf/server.xml 

Expected result:

URIEncoding="UTF-8"

If the output does not match the expected result, this is a finding.

Fix

Navigate to and open:

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

Navigate to each of the <Connector> nodes.

Configure each <Connector> node with the value 'URIEncoding="UTF-8"'.

Restart the service with the following command:

# vmon-cli --restart vsphere-ui

Identifiers

Group ID
V-256798
Group title
SRG-APP-000251-WSR-000157
Rule ID
SV-256798r961158_rule
Check ID
C-60473r889391_chk
Fix ID
F-60416r889392_fix