vSphere UI must not be configured with the "UserDatabaseRealm" enabled.

Overview

Finding IDVersionRule IDIA ControlsSeverity
V-256787VCUI-70-000010SV-256787r889360_ruleCCI-000381medium
Description
The vSphere UI performs user authentication at the application level and not through Tomcat. By default, there is no configuration for the "UserDatabaseRealm" Tomcat authentication mechanism. To eliminate unnecessary features and ensure the vSphere UI remains in its shipping state, the lack of a "UserDatabaseRealm" configuration must be confirmed.
STIGDate
VMware vSphere 7.0 vCenter Appliance UI Security Technical Implementation Guide2023-06-15

Details

Check Text (C-256787r889360_chk)

At the command prompt, run the following command: # grep UserDatabaseRealm /usr/lib/vmware-vsphere-ui/server/conf/server.xml If the command produces any output, this is a finding.

Fix Text (F-60405r889359_fix)

Navigate to and open: /usr/lib/vmware-vsphere-ui/server/conf/server.xml Remove all <Realm> nodes. Restart the service with the following command: # vmon-cli --restart vsphere-ui