UBTU-22-215035 - Ubuntu 22.04 LTS must not have the "telnet" 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.

Telnet is a client/server application protocol that provides an unencrypted remote access service, which does not provide for the confidentiality and integrity of user passwords or the remote session. If users were allowed to login to a system using Telnet, the privileged user passwords and communications could be compromised.

Removing the "telnetd" package decreases the risk of accidental or intentional activation of the Telnet service.

Solution

Remove the "telnetd" package by using the following command:

$ sudo apt-get remove telnetd

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_CAN_Ubuntu_22-04_LTS_V1R1_STIG.zip

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-5(1)(c), CAT|I, CCI|CCI-000197, Rule-ID|SV-260483r953262_rule, STIG-ID|UBTU-22-215035, Vuln-ID|V-260483

Plugin: Unix

Control ID: 062076ca16c8b1d16d8ed13b7f99a3e3acaac1a92700c0d087b2b79382102427