2.2.8 Ensure NFS and RPC are not enabled - rpcbind

Information

The Network File System (NFS) is one of the first and most widely distributed file systems in the UNIX environment. It provides the ability for systems to mount file systems of other servers through the network.

Rationale:

If the system does not export NFS shares or act as an NFS client, it is recommended that these services be disabled to reduce the remote attack surface.

Solution

Run one of the following commands to disable nfs, nfs-server and rpcbind if it is reported enabled in the audit:

# systemctl disable nfs
# systemctl disable nfs-server
# systemctl disable rpcbind

Notes:

Additional methods of disabling a service exist. Consult your distribution documentation for appropriate methods.

See Also

https://workbench.cisecurity.org/files/2688

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7b., CSCv7|9.2

Plugin: Unix

Control ID: f02ad4e7d33f184df0ca6cb702bfb591ac41c5d320a91113355dc1b0c4d2741c