DISA STIGS Viewer

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

Overview

Finding ID Version Rule ID IA Controls Severity
V-271641 OL09-00-002011 SV-271641r1091635_rule   Medium
Description
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.
STIG Date
Oracle Linux 9 Security Technical Implementation Guide 2025-05-08

Details

Check Text (C-75691r1091633_chk)
If no NFS mounts are configured, this requirement is Not Applicable.

Verify that OL 9 has the "nodev" option configured for all NFS mounts with the following command:

$ cat /etc/fstab | grep nfs
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.
Fix Text (F-75598r1091634_fix)
Update each NFS mounted file system to use the "nodev" option on file systems that are being imported via NFS.