The vCenter UI service must enable "ENFORCE_ENCODING_IN_GET_WRITER".
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-259134 | VCUI-80-000152 | SV-259134r935306_rule | CCI-000366 | medium |
| Description | ||||
| 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. | ||||
| STIG | Date | |||
| VMware vSphere 8.0 vCenter Appliance User Interface (UI) Security Technical Implementation Guide | 2023-10-29 | |||
Related Frameworks
4 paths across 3 frameworks
Related Frameworks
NIST 800-531 mapping
CM-6
1.00
- DISA · V1R1 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
NIST 800-1712 mappings
3.4.1
1.00
- DISA · V1R1 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
- NIST · Rev 2 (Feb 2020, errata Jan 2021) · nist_800_171_app_d · equivalent
3.4.2
1.00
- DISA · V1R1 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
- NIST · Rev 2 (Feb 2020, errata Jan 2021) · nist_800_171_app_d · equivalent
CCI1 mapping
CCI-000366
1.00
- DISA · V1R1 · disa_xccdf · related
Details
Check Text (C-259134r935306_chk)
At the command line, run the following command:
# grep ENFORCE_ENCODING_IN_GET_WRITER /usr/lib/vmware-vsphere-ui/server/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 Text (F-62783r935305_fix)
Navigate to and open:
/usr/lib/vmware-vsphere-ui/server/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 vsphere-ui