BaselineWatch
Desk

RHEL-09-231065 RHEL 9 must prevent special devices on file systems that are imported via Network File System (NFS).

DISA STIG library V2R10
All changes in this version
first version loaded CAT II

Maps to CM-6 via CCI-000366

Title

RHEL 9 must prevent special devices on file systems that are imported via Network File System (NFS).

Control

Note: If no NFS mounts are configured, this requirement is Not Applicable. Verify RHEL 9 has the "nodev" 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 "nodev" option is missing, this is a finding.

Discussion

The "nodev" mount option causes the system to not interpret character or block special devices. Executing character or block special devices from untrusted file systems increases the opportunity for nonprivileged users to attain unauthorized administrative access.

Related controls

CCI-000366

Fix

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