6.2 Disable 'nobody' Access for RPC Encryption Key Storage Service

Information

This action listed prevents keyserv from using default keys for the nobody user, effectively stopping the nobody user from accessing information via Secure RPC.

If login by the user nobody is allowed for secure RPC, there is an increased risk of system compromise. If keyserv holds a private key for the nobody user, it will be used by key_encryptsession to compute a magic phrase which can be easily recovered by a malicious user.

Solution

Perform the following to implement the recommended state:
# cd /etc/default
# awk '/ENABLE_NOBODY_KEYS=/
{ $1 = "ENABLE_NOBODY_KEYS=NO" } { print }' keyserv > keyserv.CIS
# mv keyserv.CIS keyserv

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT, SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|CM-6b., 800-53|SC-12, CSCv6|3.1

Plugin: Unix

Control ID: 9e8ea52eb434fd34daf9386027d7e035b554237d8f5420310b60bef3088bc9d8