STIGQter STIGQter: STIG Summary: VMware ESXi Server 5.0 Security Technical Implementation Guide Version: 1 Release: 10 Benchmark Date: 27 Jan 2017: Removable media, remote file systems, and any file system that does not contain approved setuid files must be mounted with the nosuid option.

DISA Rule

SV-51280r1_rule

Vulnerability Number

V-39422

Group Title

GEN002420

Rule Version

GEN002420-ESXI5-00878

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Temporarily disable Lockdown Mode and enable the ESXi Shell via the vSphere Client. Open the vSphere/VMware Infrastructure (VI) Client and log in with appropriate credentials. If connecting to vCenter Server, click on the desired host. Click the Configuration tab. Click Software, Security Profile, Services, Properties, ESXi Shell and Options, respectively. Start the ESXi Shell service, where/as required. As root, log in to the host. Edit /etc/fstab and add the nosuid mount option to all file systems mounted from removable media or network shares, and any file system not containing approved setuid or setgid files. Re-enable Lockdown Mode on the host.

Check Contents

Temporarily disable Lockdown Mode and enable the ESXi Shell via the vSphere Client. Open the vSphere/VMware Infrastructure (VI) Client and log in with appropriate credentials. If connecting to vCenter Server, click on the desired host. Click the Configuration tab. Click Software, Security Profile, Services, Properties, ESXi Shell and Options, respectively. Start the ESXi Shell service, where/as required.
As root, log in to the host. Check /etc/fstab and verify the nosuid mount option is used on file systems mounted from removable media, network shares, or any other file system not containing approved setuid or setgid files.

Each file system line entry must contain a device specific file and may additionally contain all of the following fields, in the following order (per the NFSv3 specification):
mount directory, type, OPTION(s), backup frequency, pass number (on parallel fsck) and comment.

Execute the following:
# cat /etc/fstab | grep -v "^#"

If the "nosuid" mount OPTION is not used on file systems mounted from removable media, network shares, or any other file system that does not contain approved setuid or setgid files, this is a finding.

Re-enable Lockdown Mode on the host.

Vulnerability Number

V-39422

Documentable

False

Rule Version

GEN002420-ESXI5-00878

Severity Override Guidance

Temporarily disable Lockdown Mode and enable the ESXi Shell via the vSphere Client. Open the vSphere/VMware Infrastructure (VI) Client and log in with appropriate credentials. If connecting to vCenter Server, click on the desired host. Click the Configuration tab. Click Software, Security Profile, Services, Properties, ESXi Shell and Options, respectively. Start the ESXi Shell service, where/as required.
As root, log in to the host. Check /etc/fstab and verify the nosuid mount option is used on file systems mounted from removable media, network shares, or any other file system not containing approved setuid or setgid files.

Each file system line entry must contain a device specific file and may additionally contain all of the following fields, in the following order (per the NFSv3 specification):
mount directory, type, OPTION(s), backup frequency, pass number (on parallel fsck) and comment.

Execute the following:
# cat /etc/fstab | grep -v "^#"

If the "nosuid" mount OPTION is not used on file systems mounted from removable media, network shares, or any other file system that does not contain approved setuid or setgid files, this is a finding.

Re-enable Lockdown Mode on the host.

Check Content Reference

M

Target Key

2370

Comments