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

Information

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://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_9_V2R2_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

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

Plugin: Unix

Control ID: 5652db7966b4b2e18ceb7bfcad27f337b38fdb02a3c66cfd64cf19c09f1d038c