STIGUI
V-259068CAT II — Medium severitySV-259068r1265191_rule

The vCenter Lookup service must enable "ENFORCE_ENCODING_IN_GET_WRITER".

Rule version VCLU-80-000152 · STIG v2 · 2026-08-26

Discussion

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.

Check

At the command line, run the following command:

# grep ENFORCE_ENCODING_IN_GET_WRITER /usr/lib/vmware-lookupsvc/conf/catalina.properties

Example result:

org.apache.catalina.connector.response.ENFORCE_ENCODING_IN_GET_WRITER=true

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

Navigate to and open:

/usr/lib/vmware-lookupsvc/conf/catalina.properties

Update or remove the following line:

org.apache.catalina.connector.response.ENFORCE_ENCODING_IN_GET_WRITER=true

Restart the service with the following command:

# vmon-cli --restart lookupsvc

Identifiers

Group ID
V-259068
Group title
SRG-APP-000516-AS-000237
Rule ID
SV-259068r1265191_rule
Check ID
C-62808r934860_chk
Fix ID
F-62717r934861_fix