RHEL-07-021020 - The Red Hat Enterprise Linux operating system must prevent files with the setuid and setgid bit set from being executed on file systems that are being imported via Network File System (NFS).

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 unprivileged users to attain unauthorized administrative access.

Solution

Configure the '/etc/fstab' to use the 'nosuid' option on file systems that are being imported via NFS.

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-204482r991589_rule, STIG-ID|RHEL-07-021020, STIG-Legacy|SV-86669, STIG-Legacy|V-72045, Vuln-ID|V-204482

Plugin: Unix

Control ID: 21abcd8cf09398b208865ccebcd223cd3ff87827ebba5242da960fb9419d571b