1.103 RHEL-09-231180

Information

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

GROUP ID: V-257877
RULE ID: SV-257877r958804

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://workbench.cisecurity.org/benchmarks/22008

Item Details

Category: CONFIGURATION MANAGEMENT

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

Plugin: Unix

Control ID: 12dc6e36c908f5e5f4597986d800ba59f9e84330de20a22132b4ebfcd77bddc2