tc Server HORIZON must set URIEncoding to UTF-8.

From VMware vRealize Automation 7.x tc Server Security Technical Implementation Guide

Part of SRG-APP-000251-WSR-000157

Associated with: CCI-001310

SV-100729r1_rule tc Server HORIZON must set URIEncoding to UTF-8.

Vulnerability 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 into hosted applications in an effort to break out of the document home or root home directory or to bypass security checks.To mitigate against many types of character-based vulnerabilities, tc Server should be configured to use a consistent character set. The URIEncoding attribute on the Connector nodes provides the means for tc Server to enforce a consistent character set encoding.

Check content

Navigate to and open /opt/vmware/horizon/workspace/conf/server.xml. Navigate to each of the nodes. If the value of "URIEncoding" is not set to "UTF-8" or is missing, this is a finding.

Fix text

Navigate to and open /opt/vmware/horizon/workspace/conf/server.xml. Navigate to each of the nodes. Configure each node with the value 'URIEncoding="UTF-8"'.

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer