| 标题 | D-Link D-Link R95 A1 Router Operating System DHMAPI SOAP interface, /bin/ssi OS command injection |
|---|
| 描述 | The `SetTimeSettings` SOAP handler extracts `TZLocation` from the request and passes it to `_system` without shell escaping or timezone whitelist validation. The fixed command template is:
cp /usr/share/zoneinfo/%s /etc/localtime
A value such as `x;id;#` terminates the intended path argument, executes `id`, and comments out the remaining command. The 63-byte input limit does not prevent injection.
The sensitive action is also exposed without authentication. DHMAPI exempts an outer `API-ACTION: GetDeviceSettings` request from `API-CONTENT` validation but independently dispatches the action inside the XML body. An outer `GetDeviceSettings` request can therefore carry an inner `SetTimeSettings` action. A `SOAPAction` header satisfies an earlier request gate. No session cookie or `API-CONTENT` value is required. |
|---|
| 来源 | ⚠️ https://github.com/jiangnandiyishenqin/D-link-R95A1 |
|---|
| 用户 | Luminaa (UID 102745) |
|---|
| 提交 | 2026-11-04 12時05分 (24 日前) |
|---|
| 管理 | 2026-11-28 08時47分 (24 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 445096 [D-Link R95 1.04B04Beta DHMAPI /bin/ssi SetTimeSettings TZLocation 权限提升] |
|---|
| 积分 | 20 |
|---|