| 标题 | D-Link D-Link R18 A1 Router Operating System 1.20.B01 Improper Verification of Cryptographic Signature |
|---|
| 描述 | 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. |
|---|
| 来源 | ⚠️ https://github.com/FoundTL/D-LINK-R18A1-FW120B01- |
|---|
| 用户 | Legion_TL (UID 100691) |
|---|
| 提交 | 2026-11-05 15時26分 (24 日前) |
|---|
| 管理 | 2026-11-29 13時39分 (24 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 445170 [D-Link R18 A1 1.20.B01 /bin/httpd is_session_valid 弱身份验证] |
|---|
| 积分 | 20 |
|---|