The Red Hat Enterprise Linux operating system must not have the ypserv package installed.

STIG ID: RHEL-07-020010  |  SRG: SRG-OS-000095-GPOS-00049 | Severity: high |  CCI: CCI-000381

Vulnerability Discussion

Removing the "ypserv" package decreases the risk of the accidental (or intentional) activation of NIS or NIS+ services.

Check

The NIS service provides an unencrypted authentication service that does not provide for the confidentiality and integrity of user passwords or the remote session.

Check to see if the "ypserve" package is installed with the following command:

# yum list installed ypserv

If the "ypserv" package is installed, this is a finding.

Fix

Configure the operating system to disable non-essential capabilities by removing the "ypserv" package from the system with the following command:

# yum remove ypserv