| Titel | D-Link D-Link R95 A1 Router Operating System 1.04.04Beta OS command injection |
|---|
| Beschreibung | 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. |
|---|
| Quelle | ⚠️ https://github.com/jiangnandiyishenqin/D-link-R95A1 |
|---|
| Benutzer | Lumina (UID 101162) |
|---|
| Einreichung | 04.11.2026 11:49 (vor 24 Tagen) |
|---|
| Moderieren | 28.11.2026 08:47 (24 days later) |
|---|
| Status | Akzeptiert |
|---|
| VulDB Eintrag | 445094 [D-Link R95 1.04B04Beta DHMAPI SOAP Interface /bin/ssi SetQoSHostInfo Hostname erweiterte Rechte] |
|---|
| Punkte | 20 |
|---|