Port 23Telnet
Port 23 (TCP) is Telnet, a remote command-line login that sends everything, passwords included, in plain text. It survives on routers, switches and IoT devices, which is why Mirai-style botnets still scan it constantly. If a scan shows port 23 open, close it and use SSH on port 22 instead. In January 2026 a critical bug in GNU InetUtils telnetd (CVE-2026-24061) was exploited within a day of disclosure.
- transport
- tcp
- in transit
- cleartext
- assignment
- official
- risk
- 4/10
- lookups
- 34,779
single transport
payload readable on path
registered with iana
caution
rank 29 of 6,671 · top 1%
also known as Telnet protocol, port 23
Technical Details
what runs on :23Overview
Telnet is a legacy protocol standardized by RFC 854, published in 1983, which facilitates bidirectional, interactive, text-based communication between networked devices. It creates a virtual terminal connection that allows a user to execute commands on a remote machine as if they were physically connected via serial console.
Operation
Operating primarily over TCP port 23, Telnet establishes a reliable session between a client and a Telnet server, sending plain-text commands and responses encoded in ASCII. It uses a simple byte-stream model with a defined set of command sequences embedded within the data stream, enabling clients and servers to negotiate options like terminal type, echo, and flow control.
Use Cases
Historically, Telnet was extensively employed in managing routers, network switches, UNIX servers, and other infrastructure devices. It remains occasionally used for testing plain-text services, debugging, or legacy maintenance environments, but modern practice strongly discourages its use on untrusted networks due to security concerns.
Testing a port with the telnet client
telnet host port opens a raw TCP connection, which makes the client a quick way to check whether any port answers. On Windows 10 and 11 the client is off by default; enable it with dism /online /Enable-Feature /FeatureName:TelnetClient.
Security Information
exposure of :23risk score
4/ 10caution
worth attention. how exposed you are depends on configuration — don't leave it reachable from the internet without a reason.
remote access averages 4.0 across 247 ports — this one sits level with it.
in transit
cleartext
credentials and payloads are readable by anyone on path
assignment
official
registered with iana for this service — scanners fingerprint it by number
reachable over
tcp
every listening transport is another surface to filter at the edge
security overview
Common Vulnerabilities
- Lack of encryption: All credentials and data are transmitted in plaintext, making it trivial for attackers employing packet sniffing or Man-in-the-Middle (MitM) techniques to capture sensitive information.
- Credential interception: Attackers can harvest usernames and passwords, enabling unauthorized network access.
- Susceptibility to replay attacks: Without cryptographic protections, session data can be captured and replayed by attackers.
- Exploitation of server bugs: Older or poorly maintained Telnet implementations may contain buffer overflows and other software vulnerabilities.
Common Mitigations
- Disable Telnet: The preferred mitigation is to completely disable Telnet services where possible.
- Replace with SSH: Employ Secure Shell (SSH) as it provides encrypted communication and stronger authentication methods (keys, certificates).
- Restrict access: Limit exposure by filtering traffic to port 23 using firewalls or access control lists, only allowing trusted administration hosts.
- Use VPNs: If Telnet use is unavoidable over insecure networks, tunnel the session inside an encrypted VPN.
- Monitor and audit: Enable logging, and monitor connection attempts to detect unauthorized access.
- Use strong credentials: Enforce strong, frequently updated passwords to mitigate brute-force attacks.
Recent
- CVE-2026-24061 (CVSS 9.8): GNU InetUtils telnetd passed a client-supplied
USERvalue of-f roottologin, which then skipped authentication, giving a root shell with no password. Exploitation began 2026-01-21, and CISA added it to its Known Exploited Vulnerabilities catalog. Update telnetd, or better, remove it. - Botnets: Mirai and its successors scan TCP 23 and 2323 for devices still using default credentials.
Related Ports
the 8 most looked-up other ports in remote access — 247 ports carry that label.
| port | service | risk | |||
|---|---|---|---|---|---|
| :8000 | Intel Remote Desktop / Alternate HTTP Port | TCP | Web Services | safe | 84.3k |
| :8888 | D2GS Admin Console | TCP | Remote Access | caution | 83.7k |
| :8881 | Atlasz Secure Server | TCP | Web Services | caution | 67.6k |
| :5938 | TeamViewer | TCPUDP | Remote Access | caution | 65.0k |
| :8291 | Winbox MikroTik Admin | TCP | Security | caution | 62.9k |
| :8008 | IBM HTTP Server Admin | TCP | Web Services | caution | 58.3k |
| :135 | Microsoft EPMAP | TCPUDP | Security | caution | 51.9k |
| :5800 | VNC over HTTP | TCP | Web Services | caution | 30.3k |
risk mix of the 8 listed
- safe13%
- caution88%
0 of 8 encrypted