| Title | D-Link D-Link DIR-X1860Z Rev A Router Operating System D-Link DIR-X1860Z Rev A 1.0.7.260821.161908 Stack-based buffer overflow leading to control-flow hijacking an |
|---|
| Description | The anonymous `routerd.get_rand_key` method accepts an arbitrarily long hexadecimal `key_index` string. `routerd` supplies a 32-byte stack buffer to `liblubus.so!hexString2bin`, but neither the caller nor the conversion routine enforces the destination capacity. The conversion loop writes `strlen(key_index) / 2` bytes into the 32-byte buffer.
A 1,024-character hexadecimal string decodes to 512 bytes and overwrites saved registers and the return address. GDB confirmed attacker control of the PC and multiple registers. A ROP chain then invoked `routerd` `system@plt` with an attacker-controlled shell command. Command output and a fresh random marker were retrieved through an independent HTTP request, confirming end-to-end command execution rather than inferring success from a crash or timeout.
This is an independent memory-corruption vulnerability. It does not require another command-injection flaw or an authenticated session. |
|---|
| Source | ⚠️ https://github.com/jiangnandiyishenqin/D-link-DIR-X1860Z |
|---|
| User | Luminaa (UID 102745) |
|---|
| Submission | 11/04/2026 12:49 (24 days ago) |
|---|
| Moderation | 11/28/2026 16:21 (24 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 445103 [D-Link DIR-X1860Z 1.0.7.260821.161908 routerd liblubus.so hexString2bin key_index stack-based overflow] |
|---|
| Points | 20 |
|---|