ALMA-09-023780 - AlmaLinux OS 9 must prevent special devices on nonroot local partitions.

Information

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.

The only legitimate location for device files is the "/dev" directory located on the root partition, with the exception of chroot jails if implemented.

Solution

Configure the "/etc/fstab" to use the "nodev" option on all nonroot local partitions.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_CL_AlmaLinux_OS_9_V1R2_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-269290r1050172_rule, STIG-ID|ALMA-09-023780, Vuln-ID|V-269290

Plugin: Unix

Control ID: 9279b7ebe8f9280c22f437d263e8db19a23629eaa691c27ba96015a79b921a2d