| Título | D-Link D-Link R95 A1 Router Operating System DHMAPI SOAP interface, /bin/ssi OS command injection |
|---|
| Descrição | 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. |
|---|
| Fonte | ⚠️ https://github.com/jiangnandiyishenqin/D-link-R95A1 |
|---|
| Utilizador | Lumina (UID 101162) |
|---|
| Submissão | 04/11/2026 11h54 (há 24 dias) |
|---|
| Moderação | 28/11/2026 08h47 (24 days later) |
|---|
| Estado | Aceite |
|---|
| Entrada VulDB | 445095 [D-Link R95 1.04B04Beta DHMAPI SOAP interface /bin/ssi SetSecureDNSSettings URI Elevação de Privilégios] |
|---|
| Pontos | 20 |
|---|