Unauthenticated UART consoles on IoT devices
Unauthenticated UART consoles on IoT devices concerns the internal device bus or serial interface and the access conditions under which the device exposes information or performs an operation. Understanding unauthenticated UART consoles on IoT devices helps establish which security property the feature needs and where that property is actually enforced.
What does this involve?
Device security spans processing, storage and interfaces that may be physically accessible outside the operator's control. Access conditions matter: opening a case, attaching a peripheral and sending a network request represent different attacker capabilities.
Many IoT devices expose a UART serial console that drops directly to a privileged shell — often root — without requiring any authentication. This allows any individual with physical access to the UART interface to gain full control of the operating system, read and modify the filesystem, extract credentials and keys, and install persistent backdoors. This is one of the most frequently encountered vulnerabilities in IoT hardware security assessments and continues to affect devices across consumer, industrial, and carrier-grade product categories. Recent examples include CVE-2025-53914 (unauthenticated root access via UART on Calix GigaCenter ONT devices) and CVE-2024-28326 (unauthenticated UART root access on the ASUS RT-N12 D1 router).
Why it matters
Consider a realistic failure: an accessible internal interface exposes a command, data or debugging path outside the normal user controls.
A device weakness can reveal local data, change operations or expose credentials used by the wider service. Assessment should distinguish what is obtained from the device itself from any separately demonstrated backend access.
Device findings need explicit access conditions. Record the hardware and software version, relevant interface exposure and whether the test assumes network access, an attached peripheral or access inside the enclosure.
How penetration testers check for it
Assess the stated device access level and verify the particular information, command or state change reachable through this component.
- The UART TX, RX, and GND pins must be identified on the target device (see ISTG-INT[UART]-INFO-001).
- A USB-UART adapter (e.g., based on FT232RL, CP2102, or CH340G) must be connected to the device at the identified baud rate. The adapter voltage must match the device's logic level (typically 3.3V for modern IoT devices).
- A serial terminal (e.g., minicom, screen, picocom) must be opened at the correct baud rate and settings (typically 8N1: 8 data bits, no parity, 1 stop bit).
- It must be determined whether the serial console provides a shell or login prompt upon device boot and during normal operation.
- Use representative device states and controlled inputs.
- Record the actual information or behaviour reached.
How to fix it
Reduce unnecessary exposure and enforce the intended operation and data boundary at the device component that controls it.
- Remove unnecessary interfaces and capabilities.
- Enforce access checks at meaningful device boundaries.
- Protect sensitive storage and device credentials.
- Verify normal operation and recovery after changes.
Physical access is neither an automatic exemption nor proof of total compromise. The intended deployment, assets and realistic access prerequisites determine the relevance of the result.
Recheck the changed behaviour against the original failure conditions and the legitimate user journey. Keep enough evidence to show which release and configuration were verified, and include related entry points that depend on the same security decision.
Related issues
- Interrupting IoT boot processes through UART
- Identifying IoT UART interfaces and serial settings
- Unauthorised devices interacting with IoT I2C buses
Read about our methodology or contact pentested.com to discuss your connected devices.