Submit #1075852: D-link D-Link R18 A1 Router Operating System D-Link R18 A1 1.20.B01 Stack-based buffer overflow and control-flow hijackinginfo

TitleD-link D-Link R18 A1 Router Operating System D-Link R18 A1 1.20.B01 Stack-based buffer overflow and control-flow hijacking
DescriptionThe 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.
Source⚠️ https://github.com/jiangnandiyishenqin/D-link-R18A1
User
 Luminaa (UID 102745)
Submission11/05/2026 12:30 (24 days ago)
Moderation11/29/2026 12:56 (24 days later)
StatusAccepted
VulDB entry445164 [D-Link R18 1.20.B01 DHMAPI /bin/httpd is_session_valid API-AUTH stack-based overflow]
Points20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!