Submit #1074376: D-Link D-Link R95 A1 Router Operating System DHMAPI SOAP interface, /bin/ssi OS command injectioninfo

TitleD-Link D-Link R95 A1 Router Operating System DHMAPI SOAP interface, /bin/ssi OS command injection
DescriptionThe `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)
Submission11/04/2026 12:05 (24 days ago)
Moderation11/28/2026 08:47 (24 days later)
StatusAccepted
VulDB entry445096 [D-Link R95 1.04B04Beta DHMAPI /bin/ssi SetTimeSettings TZLocation os command injection]
Points20

Might our Artificial Intelligence support you?

Check our Alexa App!