1.1.2.12 Ensure all non-root local partitions are mounted with the "nodev" option

Information

The operating system must prevent special devices on non-root local partitions.

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 unprivileged users to attain unauthorized administrative access. The only legitimate location for device files is the "/dev" directory located on the root partition.

Solution

Configure the "/etc/fstab" to use the "nodev" option on all non-root local partitions.

See Also

https://workbench.cisecurity.org/benchmarks/19886