| タイトル | D-Link D-Link R95 A1 Router Operating System 1.04.04Beta OS command injection |
|---|
| 説明 | The `SetQoSHostInfo` SOAP handler extracts `Hostname`, inserts it into a single-quoted UCI shell command with `sprintf`, and calls `system()` without escaping the value. The vulnerable command fragment is:
```text
uci ... set qosinfo.@qosinfo[-1].Hostname='%s' > /dev/null
```
A hostname such as `x';id;#` closes the single-quoted value, executes `id`, and comments out the remaining quote and redirection. The payload fits within the 31-byte hostname limit.
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. 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:49 (24 日 ago) |
|---|
| モデレーション | 2026年11月28日 08:47 (24 days later) |
|---|
| ステータス | 承諾済み |
|---|
| VulDBエントリ | 445094 [D-Link R95 1.04B04Beta DHMAPI SOAP Interface /bin/ssi SetQoSHostInfo Hostname 特権昇格] |
|---|
| ポイント | 20 |
|---|