1.1.2.10.2 Ensure file systems being imported via NFS are mounted with the "nosuid" option

Information

The operating system must prevent files with the setuid and setgid bit set from being executed on file systems that are imported via Network File System (NFS).

The "nosuid" mount option causes the system not to execute "setuid" and "setgid" files with owner privileges. This option must be used for mounting any file system not containing approved "setuid" and "setguid" files. Executing files from untrusted file systems increases the opportunity for unprivileged users to attain unauthorized administrative access.

Solution

Configure the "/etc/fstab" to use the "nosuid" option on file systems that are being imported via NFS.

See Also

https://workbench.cisecurity.org/benchmarks/19886