Ubuntu 22.04 LTS must not have the "telnet" package installed.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-260483 | UBTU-22-215035 | SV-260483r987796_rule | CCI-000197 | high |
| Description | ||||
| 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. | ||||
| STIG | Date | |||
| Canonical Ubuntu 22.04 LTS Security Technical Implementation Guide | 2025-05-16 | |||
Details
Check Text (C-260483r987796_chk)
Verify that the "telnetd" package is not installed on Ubuntu 22.04 LTS by using the following command:
$ dpkg -l | grep telnetd
If the "telnetd" package is installed, this is a finding.
Fix Text (F-64120r953261_fix)
Remove the "telnetd" package by using the following command:
$ sudo apt-get remove telnetd