UCF STIG Viewer Logo

The nosuid option must be enabled on all NFS client mounts.


Overview

Finding ID Version Rule ID IA Controls Severity
V-936 GEN005900 M6 SV-38158r2_rule ECPA-1 Medium
Description
Enabling the nosuid mount option prevents the system from granting owner or group-owner privileges to programs with the suid or sgid bit set. If the system does not restrict this access, users with unprivileged access to the local system may be able to acquire privileged access by executing suid or sgid files located on the mounted NFS file system.
STIG Date
MAC OSX 10.6 Workstation Security Technical Implementation Guide 2013-04-09

Details

Check Text ( C-37586r1_chk )
Open a terminal session and enter the following command to check the system for NFS mounts not using the "nosuid" option.

mount -t nfs | egrep -v "nosuid"

If anything is returned, the mounted file systems do not have the "nosuid" option and this is a finding.
Fix Text (F-32828r2_fix)
Open a terminal session and edit /etc/auto_master and add the "nosuid" option at the end of the line that begins with /net.

In the same terminal session, edit /etc/fstab and add the "nosuid" option to any lines for NFS mounts.

Remount the NFS file systems to make the change take effect.