Remediation Steps
Follow the steps below to remediate this finding on Linux (Debian/Ubuntu).
Disable and remove the Telnet server:
sudo systemctl stop telnet.socket inetd 2>/dev/null sudo systemctl disable telnet.socket inetd 2>/dev/null sudo apt purge telnetd telnetd-ssl xinetd 2>/dev/nullEnsure SSH is installed and accessible as the encrypted alternative:
sudo apt install openssh-server sudo systemctl enable --now sshVerify Telnet port (23) is blocked in the firewall:
sudo ufw deny 23