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_V2R2_STIG.zip

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

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

Plugin: Unix

Control ID: 0cda7206138aab072fc9cd5c4991503f26eb4f341223f63f5854cef2fe433167