InformationThe operating system must be configured so that file systems containing user home directories are mounted to prevent files with the setuid and setgid bit set from being executed.
The nosuid mount option causes the system to not 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.
NOTE: Nessus has provided the target output to assist in reviewing the benchmark to ensure target compliance.
SolutionConfigure the /etc/fstab to use the nosuid option on file systems that contain user home directories.
Example: vim /etc/fstab
Update any of the file systems listed without the nosuid option'
UUID=a411dc99-f2a1-4c87-9e05-184977be8539 /home ext4 rw,relatime,discard,data=ordered,nosuid 0 2