RHEL-09-231135 - RHEL 9 must mount /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 '/tmp' directory.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_9_V1R3_STIG.zip

Item Details

References: CAT|II, CCI|CCI-001764, Rule-ID|SV-257868r925591_rule, STIG-ID|RHEL-09-231135, Vuln-ID|V-257868

Plugin: Unix

Control ID: c9aecb075e630844392de2c511f4cca6ad2327b6738e2927b1b914abe80e42a5