| Title | D-Link D-Link R95 A1 Router Operating System DHMAPI SOAP interface, /bin/ssi OS command injection |
|---|
| Description | 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. |
|---|
| Source | ⚠️ https://github.com/jiangnandiyishenqin/D-link-R95A1 |
|---|
| User | Luminaa (UID 102745) |
|---|
| Submission | 11/04/2026 12:05 (24 days ago) |
|---|
| Moderation | 11/28/2026 08:47 (24 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 445096 [D-Link R95 1.04B04Beta DHMAPI /bin/ssi SetTimeSettings TZLocation os command injection] |
|---|
| Points | 20 |
|---|