UCF STIG Viewer Logo

The vCenter ESX Agent Manager service must enable "ENFORCE_ENCODING_IN_GET_WRITER".


Finding ID Version Rule ID IA Controls Severity
V-259034 VCEM-80-000152 SV-259034r934760_rule Medium
Some clients try to guess the character encoding of text media when the mandated default of ISO-8859-1 should be used. Some browsers will interpret as UTF-7 when the characters are safe for ISO-8859-1. This can create the potential for a XSS attack. To defend against this, enforce_encoding_in_get_writer must be set to true.
VMware vSphere 8.0 vCenter Appliance ESX Agent Manager (EAM) Security Technical Implementation Guide 2023-10-29


Check Text ( C-62774r934758_chk )
At the command line, run the following command:

# grep ENFORCE_ENCODING_IN_GET_WRITER /etc/vmware-eam/catalina.properties

Example result:


If "org.apache.catalina.connector.response.ENFORCE_ENCODING_IN_GET_WRITER" is not set to "true", this is a finding.

If the "org.apache.catalina.connector.response.ENFORCE_ENCODING_IN_GET_WRITER" setting does not exist, this is not a finding.
Fix Text (F-62683r934759_fix)
Navigate to and open:


Update or remove the following line:


Restart the service with the following command:

# vmon-cli --restart eam