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/611

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: 602d0801fabc297576634afc2075007c621f366c07c440cbcbdc802fd56f3345