1.107 OL08-00-010620

Information

OL 8 must prevent files with the setuid and setgid bit set from being executed on file systems that are used with removable media.

GROUP ID: V-248623
RULE ID: SV-248623r991589

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 associated with removable media.

See Also

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