RHEL-09-231185 - RHEL 9 must mount /var/tmp with the nosuid option.

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.

Solution

Modify '/etc/fstab' to use the 'nosuid' option on the '/var/tmp' 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-7(2), CAT|II, CCI|CCI-001764, Rule-ID|SV-257878r958804_rule, STIG-ID|RHEL-09-231185, Vuln-ID|V-257878

Plugin: Unix

Control ID: 96ceb2a45e5a0716b5774ee51e498481f3740bd28be941d12ffc9fae2061b6f5