RHEL-09-231180 - RHEL 9 must mount /var/tmp with the noexec option.

Information

The 'noexec' mount option causes the system to not execute binary files. This option must be used for mounting any file system not containing approved binary files, as they may be incompatible. Executing files from untrusted file systems increases the opportunity for nonprivileged users to attain unauthorized administrative access.

Solution

Modify '/etc/fstab' to use the 'noexec' option on the '/var/tmp' directory.

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

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

Plugin: Unix

Control ID: 1ef0899fb38456bc3d2f77ec322a3a5551dbf25af2a9693ecad89d0f580ab81c