| 标题 | D-Link D-Link R95 A1 Router Operating System DHMAPI SOAP interface, /bin/ssi OS command injection |
|---|
| 描述 | The SetSecureDNSSettings SOAP handler extracts ProviderInUsed/URI and inserts it into a shell command without URI validation or shell escaping. The command template is:
echo URI = [%s] >> /tmp/doh
The square brackets do not quote or escape shell input. A value such as x;id;# executes id as a second command and comments out the remaining bracket and redirection. The 127-byte input limit does not prevent injection.
The action is reachable without authentication because DHMAPI exempts an outer API-ACTION: GetDeviceSettings request from API-CONTENT validation while independently dispatching the inner XML action. An outer GetDeviceSettings request can therefore invoke SetSecureDNSSettings. A SOAPAction header satisfies an earlier request gate; no cookie or API-CONTENT value is required. |
|---|
| 来源 | ⚠️ https://github.com/jiangnandiyishenqin/D-link-R95A1 |
|---|
| 用户 | Lumina (UID 101162) |
|---|
| 提交 | 2026-11-04 11時54分 (24 日前) |
|---|
| 管理 | 2026-11-28 08時47分 (24 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 445095 [D-Link R95 1.04B04Beta DHMAPI SOAP interface /bin/ssi SetSecureDNSSettings URI 权限提升] |
|---|
| 积分 | 20 |
|---|