UCF STIG Viewer Logo

vSphere UI directory tree must have permissions in an "out-of-the-box" state.


Finding ID Version Rule ID IA Controls Severity
V-239697 VCUI-67-000016 SV-239697r679197_rule Medium
As a rule, accounts on a web server are to be kept to a minimum. Only administrators, web managers, developers, auditors, and web authors require accounts on the machine hosting the web server. The resources to which these accounts have access must also be closely monitored and controlled. The vSphere UI files must be adequately protected with correct permissions as applied out of the box. Satisfies: SRG-APP-000211-WSR-000030, SRG-APP-000380-WSR-000072
VMware vSphere 6.7 UI Tomcat Security Technical Implementation Guide 2022-01-03


Check Text ( C-42930r679195_chk )
At the command prompt, execute the following command:

# find /usr/lib/vmware-vsphere-ui/server/lib /usr/lib/vmware-vsphere-ui/server/conf -xdev -type f -a '(' -perm -o+w -o -not -user vsphere-ui -o -not -group root ')' -exec ls -ld {} \;

If the command produces any output, this is a finding.
Fix Text (F-42889r679196_fix)
At the command prompt, execute the following command:

# chmod o-w
# chown vsphere-ui:root

Repeat the command for each file that was returned.