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

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-256787SRG-APP-000141-WSR-000015VCUI-70-000010SV-256787r889360_rule2023-06-151
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.
ℹ️ Check
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
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