1.1.2.8.1 Ensure the "/boot" directory is mounted with the "nosuid" option

Information

The operating system must prevent files with the "setuid" and "setgid" bit set from being executed on the "/boot" directory.

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 the /boot directory.

See Also

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