The vCenter UI service must disable stack tracing.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-259110 | VCUI-80-000036 | SV-259110r935234_rule | CCI-000381 | medium |
| Description | ||||
| Stack tracing provides debugging information from the application call stacks when a runtime error is encountered. If stack tracing is left enabled, Tomcat will provide this call stack information to the requestor, which could result in the loss of sensitive information or data that could be used to compromise the system. | ||||
| STIG | Date | |||
| VMware vSphere 8.0 vCenter Appliance User Interface (UI) Security Technical Implementation Guide | 2023-10-29 | |||
Details
Check Text (C-259110r935234_chk)
At the command prompt, run the following command:
# xmllint --xpath "//Connector[@allowTrace = 'true']" /usr/lib/vmware-vsphere-ui/server/conf/server.xml
Expected result:
XPath set is empty
If any connectors are returned, this is a finding.
Fix Text (F-62759r935233_fix)
Navigate to and open:
/usr/lib/vmware-vsphere-ui/server/conf/server.xml
Navigate to and locate:
'allowTrace="true"'
Remove the 'allowTrace="true"' setting.
Note: If "allowTrace" is not present, it defaults to false.
Restart the service with the following command:
# vmon-cli --restart vsphere-ui