UCF STIG Viewer Logo

tc Server VCO must use the setCharacterEncodingFilter filter.


Overview

Finding ID Version Rule ID IA Controls Severity
V-240827 VRAU-TC-000625 SV-240827r674225_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 into hosted applications in an effort to break out of the document home or root home directory or to bypass security checks. As a web server, tc Server can be vulnerable to character encoding attacks if steps are not taken to mitigate the threat. VMware utilizes the standard Tomcat SetCharacterEncodingFilter to provide a layer of defense against character encoding attacks. Filters are Java objects that performs filtering tasks on either the request to a resource (a servlet or static content), or on the response from a resource, or both.
STIG Date
VMware vRealize Automation 7.x tc Server Security Technical Implementation Guide 2021-06-23

Details

Check Text ( C-44060r674223_chk )
Navigate to and open /etc/vco/app-server/web.xml.

Verify that the 'setCharacterEncodingFilter' has been specified.

If the "setCharacterEncodingFilter" filter has not been specified or is commented out, this is a finding.
Fix Text (F-44019r674224_fix)
Navigate to and open /etc/vco/app-server/web.xml.

Configure the node with the node listed below.


setCharacterEncodingFilter
org.apache.catalina.filters.SetCharacterEncodingFilter

encoding
UTF-8
ignore
false

true