1.78 RHEL-09-231050

Information

RHEL 9 must prevent files with the setuid and setgid bit set from being executed on file systems that contain user home directories.

GROUP ID: V-257851
RULE ID: SV-257851r1044932

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

Satisfies: SRG-OS-000368-GPOS-00154, SRG-OS-000480-GPOS-00227

Solution

Modify "/etc/fstab" to use the "nosuid" option on the "/home" directory.

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7(2), CAT|II, CCI|CCI-001764, Rule-ID|SV-257851r1044932_rule, STIG-ID|RHEL-09-231050, Vuln-ID|V-257851

Plugin: Unix

Control ID: ba30e361fbf895269c1df6f9724fc4d8685b3a72b37258d1e5fe2afe9dfe1700