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-227015 GEN005900 SV-227015r603265_rule Medium
Description
Enabling the nosuid mount option prevents the system from granting owner or group-owner privileges to programs with the setuid or setgid 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 setuid or setgid files located on the mounted NFS file system.
STIG Date
Solaris 10 SPARC Security Technical Implementation Guide 2022-09-07

Details

Check Text ( C-29177r485393_chk )
Check the system for NFS mounts not using the nosuid option.

Procedure:
# mount -v | grep " type nfs " | grep -v nosetuid
OR
# grep nfs /etc/mnttab | grep -v nosuid | grep -v :vold

If the mounted file systems do not have the nosetuid/nosuid option, this is a finding. NOTE: Mount options for the volume management daemon (vold) are controlled by the /etc/rmmount.conf file.
Fix Text (F-29165r485394_fix)
Edit /etc/vfstab and add the nosuid option for all NFS file systems. Remount the NFS file systems to make the change take effect.