| 标题 | D-Link R15 1.22.01 OS Command Injection |
|---|
| 描述 | The DHMAPI (SOAP over HTTPS) interface of the D-Link R15 Eagle Pro AI AX1500 smart router (firmware version 1.22.01) contains a command injection vulnerability in its handling of `SetDeviceSettings` requests. The user-controllable `<TZLocation>` field (time zone) is stored into a configuration structure and then concatenated into an **unquoted** shell command by the backend `save_CSID_SetDeviceSettings`, which executes it via `system()`:
(fota -T <TZLocation>; fota -I; fota -fQ) &
Because the `<TZLocation>` value is concatenated without quoting, an attacker can inject `$( )` command substitution into the value. The shell evaluates the injected content before executing the concatenated command, thereby executing arbitrary commands with **root (uid=0)** privileges.
The attack requires a valid Web management session obtained through authentication (the `SetDeviceSettings` action's auth flag in the dispatch table is `0x01000000`). Weak default credentials or a potential authentication bypass on the device further amplify this vulnerability and enlarge the real-world attack surface. |
|---|
| 来源 | ⚠️ https://github.com/nenghun/Hacker/tree/main/D-Link%20R15%20Eagle%20Pro%20AI%20AX1500%20TZLocation%20Command%20Injection |
|---|
| 用户 | mizhou (UID 102593) |
|---|
| 提交 | 2026-11-07 17時06分 (22 日前) |
|---|
| 管理 | 2026-11-29 20時47分 (22 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 445240 [D-Link R15 1.22.01 DHMAPI /bin/httpd save_CSID_SetDeviceSettings TZLocation 权限提升] |
|---|
| 积分 | 20 |
|---|