| Title | D-Link D-Link R18 A1 Router Operating System 1.20.B01 Improper Verification of Cryptographic Signature |
|---|
| Description | An attacker first sends an unauthenticated `Login` challenge request and receives a session cookie. No password or successful login submission is needed. The attacker then sends a log-download request with a one-byte `API-AUTH` hash prefix and a fixed timestamp.
The vulnerable comparison is equivalent to:
strncmp(expected_hmac, supplied_hmac, strlen(supplied_hmac));
When `supplied_hmac` has length one, the comparison checks only the first hexadecimal character. `check_timestamp_tolerable` at `0x42b3b4` accepts reuse of the same timestamp within its tolerance logic, allowing all 16 candidate prefixes to be tested against the same expected HMAC. |
|---|
| Source | ⚠️ https://github.com/FoundTL/D-LINK-R18A1-FW120B01- |
|---|
| User | Legion_TL (UID 100691) |
|---|
| Submission | 11/05/2026 15:26 (24 days ago) |
|---|
| Moderation | 11/29/2026 13:39 (24 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 445170 [D-Link R18 A1 1.20.B01 /bin/httpd is_session_valid signature verification] |
|---|
| Points | 20 |
|---|