RHEL-09-231090 - RHEL 9 must prevent files with the setuid and setgid bit set from being executed on file systems that are used with removable media.

Information

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 nonprivileged 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://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., CAT|II, CCI|CCI-000366, Rule-ID|SV-257859r991589_rule, STIG-ID|RHEL-09-231090, Vuln-ID|V-257859

Plugin: Unix

Control ID: 87e66db08adee70cf006f274c8758e4cb6a0783a65cd4e617ae2bcfd43548dd2