RHEL 10 must not have the "telnet-server" package installed.

STIG ID: RHEL-10-200020  |  SRG: SRG-OS-000095-GPOS-00049 |  Severity: high (CAT I)  |  CCI: CCI-000381 |  Vulnerability Id: V-280944

Vulnerability Discussion

It is detrimental for operating systems to provide, or install by default, functionality exceeding requirements or mission objectives. These unnecessary capabilities are often overlooked and therefore, may remain unsecure. They increase the risk to the platform by providing additional attack vectors.

The telnet service provides an unencrypted remote access service, which does not provide for the confidentiality and integrity of user passwords or the remote session. If a privileged user were to log in using this service, the privileged user password could be compromised.

Removing the "telnet-server" package decreases the risk of accidental (or intentional) activation of the telnet service.

Check

Verify RHEL 10 does not have the "telnet-server" package installed with the following command:

$ sudo dnf list --installed telnet-server
Error: No matching Packages to list

If the "telnet-server" package is installed, this is a finding.

Fix

Configure RHEL 10 to not have the "telnet-server" package installed with the following command:

$ sudo dnf -y remove telnet-server