Information
The telnet-server package contains the telnet daemon, which accepts connections from users from other systems via the telnet protocol.
Rationale:
The telnet protocol is insecure and unencrypted. The use of an unencrypted transmission medium could allow a user with access to sniff network traffic the ability to steal credentials. The ssh package provides an encrypted session and stronger security.
Solution
Run the following command to disable telnet:
# systemctl disable telnet.socket
Notes:
This Benchmark recommendation maps to:
Red Hat Enterprise Linux 7 Security Technical Implementation Guide:
Version 2, Release: 3 Benchmark Date: 26 Apr 2019
Vul ID: V-72077
Rule ID: SV-86701r2_rule
STIG ID: RHEL-07-021710
Severity: CAT I