1.207 OL09-00-002013

Information

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

GROUP ID: V-271643
RULE ID: SV-271643r1091641

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 nonprivileged users to attain unauthorized administrative access.

Solution

Update each NFS mounted file system to use the "nosuid" option on file systems that are being imported via NFS.

See Also

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