Telnet Service Enabled
A Telnet service is running, which sends user names, passwords and the whole session unencrypted, typically for the remote administration of devices.
| Severity | Medium |
| CVSS 3.1 | 6.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N Open in the calculator |
| CVSS 4.0 | 8.3 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N Open in the calculator |
| CWE | CWE-319: Cleartext Transmission of Sensitive Information |
| OWASP Top 10 | A04:2025 Cryptographic Failures |
| MITRE ATT&CK | T1040 Network Sniffing, T1557 Adversary-in-the-Middle |
| Category | Cryptographic Failures |
Description
The host or device offers remote access through Telnet, usually on TCP port 23. Telnet provides no encryption: the user name, the password and every command and response in the session cross the network in plain text. It is most often found on network equipment, printers, embedded and industrial devices and older Unix systems, where it provides the administrative command line, and it is sometimes left enabled alongside SSH.
An attacker who can observe traffic between an administrator and the device can capture the administrative credentials and everything done in the session, and may be able to take over the session or inject commands into it. This needs a position where the traffic can be seen, which on internal networks is often within an attacker's reach. Captured credentials for network devices often give control of routing, firewall rules and network segmentation, and are frequently reused across many devices.
The service also accepts password guessing from anyone who can reach it, and Telnet services on devices are frequently set up with default or weak passwords, which is assessed and reported separately when found. The issue is confirmed by connecting to the port and receiving a login prompt or banner, and scanners report it as an unencrypted Telnet server.
Remediation
Disable Telnet and use SSH version 2 for remote administration:
- On network devices, enable SSH version 2 and allow only SSH on the management lines. On Cisco IOS, for example, generate an RSA key, set
ip ssh version 2and usetransport input sshon everyline vtyrange. - On Linux and Unix systems, disable the Telnet service, whether it is started by a systemd socket unit or by inetd or xinetd, and remove the Telnet server package.
- Where a device cannot support SSH, restrict Telnet to a dedicated management network or an out-of-band connection with access lists, and plan its replacement.
- Change the passwords of accounts that have been used over Telnet.
Confirm the fix with a scan of TCP port 23 from the networks that could previously reach the service, and by checking that administration over SSH still works.
References
Add This Finding to Your Library
In Pental this write-up is in Settings, Library. Add to my library copies it into your own, rated in your firm's CVSS version, ready to put in your own words.
Free trialYour trial starts when your portal goes live, not when you sign up, so the time you spend setting up does not count. · No card required
Only need the reporting? Our reporting tool is free and open source, with the same library.