RHEL-09-215040 - RHEL 9 must not have the telnet-server package installed.

Information

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 login 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.

Solution

Remove the telnet-server package with the following command:

$ sudo dnf remove telnet-server

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_9_V1R3_STIG.zip

Item Details

References: CAT|II, CCI|CCI-000381, Rule-ID|SV-257831r925480_rule, STIG-ID|RHEL-09-215040, Vuln-ID|V-257831

Plugin: Unix

Control ID: 94e28516924babde3ae40010b9223baad97f90eeb47e5c8221d4c7c1eebd141a