2.2.5 Ensure nis server services are not in use

Information

The Network Information Service (NIS), formerly known as Yellow Pages, is a client-server directory service protocol used to distribute system configuration files. The NIS client ( ypbind ) was used to bind a machine to an NIS server and receive the distributed configuration files.

The NIS service is inherently an insecure system that has been vulnerable to DOS attacks, buffer overflows and has poor authentication for querying NIS maps. NIS generally has been replaced by such protocols as Lightweight Directory Access Protocol (LDAP). FreeBSD ships with a NIS server in base installation which is disabled by default.

Solution

Run the following commands to stop ypserv and disable ypserv :

# service ypserv onestop
# service ypserv onedisable

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6, 800-53|CM-7, CSCv7|9.2

Plugin: Unix

Control ID: 193e1bcee40065390e5a44e2c6560edbac302d7e97823cee39f7122cc1ae83a1