DISA STIGS Viewer

AlmaLinux OS 9 must prevent code execution on file systems that are imported via Network File System (NFS).

Overview

Finding ID Version Rule ID IA Controls Severity
V-269286 ALMA-09-023230 SV-269286r1050168_rule   Medium
Description
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 as they may be incompatible. Executing files from untrusted file systems increases the opportunity for nonprivileged users to attain unauthorized administrative access.
STIG Date
CloudLinux AlmaLinux OS 9 Security Technical Implementation Guide 2025-05-22

Details

Check Text (C-73317r1049443_chk)
Note: If no NFS mounts are configured, this requirement is Not Applicable.

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

$ grep nfs /etc/fstab

192.168.1.9:/mnt/export /backups nfs4 rw,nosuid,nodev,noexec,sync,soft,sec=krb5p:krb5i:krb5

If the system is mounting file systems via NFS and the "noexec" option is missing, this is a finding.
Fix Text (F-73218r1048235_fix)
Update each NFS mounted file system to use the "noexec" option on file systems that are being imported via NFS.