| 标题 | D-link D-Link R18 A1 Router Operating System D-Link R18 A1 1.20.B01 Stack-based buffer overflow and control-flow hijacking |
|---|
| 描述 | The vulnerability is reached in two stages:
1. Send `Login` with `Action=request`. The server returns a `Cookie`, `Challenge`, and `PublicKey` without requesting proof of the administrator password.
2. Send an authenticated-action request with that cookie and an oversized `API-AUTH` hash token. `is_session_valid` copies the token into a 68-byte stack buffer before performing the HMAC comparison.
The hash-token buffer begins at `$sp+0x7c`; saved `$ra` is stored at `$sp+0x2e4`. The saved-return-address offset is therefore `0x268`, or **616 bytes** from the start of the hash token. |
|---|
| 来源 | ⚠️ https://github.com/jiangnandiyishenqin/D-link-R18A1 |
|---|
| 用户 | Luminaa (UID 102745) |
|---|
| 提交 | 2026-11-05 12時30分 (24 日前) |
|---|
| 管理 | 2026-11-29 12時56分 (24 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 445164 [D-Link R18 1.20.B01 DHMAPI /bin/httpd is_session_valid API-AUTH 内存损坏] |
|---|
| 积分 | 20 |
|---|