STIGUI
V-269287CAT II — Medium severitySV-269287r1050169_rule

AlmaLinux OS 9 must prevent files with the setuid and setgid bit set from being executed on file systems that are imported via Network File System (NFS).

Rule version ALMA-09-023450 · STIG v1 · 2026-08-25

Discussion

The "nosuid" mount option causes the system not to 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.

Check

Note: If no NFS mounts are configured, this requirement is Not Applicable.

Verify AlmaLinux OS 9 has the "nosuid" option configured for all NFS mounts with the following command:

$ 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 "nosuid" option is missing, this is a finding.

Fix

Update each NFS mounted file system to use the "nosuid" option on file systems that are being imported via NFS.

Identifiers

Group ID
V-269287
Group title
SRG-OS-000480-GPOS-00227
Rule ID
SV-269287r1050169_rule
Check ID
C-73318r1049445_chk
Fix ID
F-73219r1048238_fix