RHEL 10 must prevent code from being executed on file systems that are imported via Network File System (NFS).

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-281229SRG-OS-000080-GPOS-00048RHEL-10-700105SV-281229r1166639_rule2026-03-111

Description

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

ℹ️ Check

Note: If no NFS mounts are configured, this requirement is not applicable. Verify RHEL 10 has the "noexec" option configured for all NFS mounts with the following command: $ sudo grep nfs /etc/fstab 192.168.22.2:/mnt/export /data nfs4 rw,nosuid,nodev,noexec,sync,soft,sec=krb5:krb5i:krb5p If the system is mounting file systems via NFS and the "noexec" option is missing, this is a finding.

✔️ Fix

Configure RHEL 10 to prevent code from being executed on file systems that are imported via NFS. Update each NFS mounted file system to use the "noexec" option on file systems that are being imported via NFS.