
Advisory for CVE-2025-65731
A critical hardware security vulnerability has been identified in the D-Link DIR-605L router, Hardware Version F1, Firmware External Version V6.02CN02, running Linux kernel 2.4.18. The UART debug interface lacks proper access control mechanisms, allowing any attacker with physical access to connect to the UART pins and gain unauthenticated root shell access. This vulnerability corresponds to CWE-1191: On-Chip Debug and Test Interface With Improper Access Control.
Device Model: D-Link DIR-605L - Firmware Version: V6.02CN02
The UART debug interface, exposed physically via device pins, is accessible without any authentication or authorization barriers. An attacker connecting to these UART pins can instantly access the device's root shell during or after boot, bypassing all software-based authentication controls. This direct root shell access compromises the confidentiality, integrity, and availability of the entire device and its network environment.
Full root-level control of the router with no authentication required. Ability to modify device configuration, install persistent malware, or intercept network traffic. Complete circumvention of on-device security mechanisms. Potential pivot point for attacks on the connected network and devices.
The UART pins on the D-Link DIR-605L (Hardware F1) were identified and connected to a serial interface.
Using a serial terminal emulator at the appropriate baud rate, the device’s bootloader output and Linux shell prompt were accessed.
Commands such as cat /etc/passwd confirmed root user presence without password protection on this interface.
A fully interactive root shell prompt (#) was obtained, enabling arbitrary command execution on the device.
CWE-1191: https://cwe.mitre.org/data/definitions/1191.html
Mohamed Danish (j3rry)