Digisol DG-GR1321 Router Vulnerability: Improper Access Control (
The Digisol DG-GR1321 router exposes an unauthenticated UART serial interface that provides a root shell. An attacker with physical access can connect to this interface and gain full administrative control of the device.
Published on redfoxsecurity.medium.com
Routers are among the most critical devices in modern networking, serving as gateways between private systems and the wider internet. They manage vast amounts of sensitive data, control network traffic, and ensure secure communication for both personal and business environments.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
The UART serial interface on the router's PCB lacks authentication, allowing direct root shell access.
Impact
An attacker with physical access could gain root privileges, extract sensitive data, and manipulate network traffic, compromising the confidentiality, integrity, and availability of connected systems.
What the attacker needed
Physical access to the router; UART-to-USB adapter; terminal emulator software
The fix
The vulnerability should be fixed by upgrading the router firmware to the latest version provided by Digisol, which may address this issue.
How it was found
- Locate the UART pins on the router's circuit board.
- Connect a UART-to-USB adapter to the pins.
- Open a terminal emulator and monitor the boot logs.
- Observe that a root shell prompt appears without any login prompt.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
This router has a hidden serial port on its circuit board that is used for debugging. Anyone who can physically open the router and connect to this port gets full control without needing a password. That means they can change settings, steal data, or spy on network traffic.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.