| Titre | D-Link D-Link R95 A1 Router Operating System DHMAPI SOAP interface, /bin/ssi OS command injection |
|---|
| Description | 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. |
|---|
| La source | ⚠️ https://github.com/jiangnandiyishenqin/D-link-R95A1 |
|---|
| Utilisateur | Lumina (UID 101162) |
|---|
| Soumission | 04/11/2026 11:54 (il y a 24 jours) |
|---|
| Modérer | 28/11/2026 08:47 (24 days later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 445095 [D-Link R95 1.04B04Beta DHMAPI SOAP interface /bin/ssi SetSecureDNSSettings URI élévation de privilèges] |
|---|
| Points | 20 |
|---|