Submit #1074366: D-Link D-Link R95 A1 Router Operating System DHMAPI SOAP interface, /bin/ssi OS command injectioninfo

TitleD-Link D-Link R95 A1 Router Operating System DHMAPI SOAP interface, /bin/ssi OS command injection
DescriptionThe 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.
Source⚠️ https://github.com/jiangnandiyishenqin/D-link-R95A1
User
 Lumina (UID 101162)
Submission11/04/2026 11:54 (24 days ago)
Moderation11/28/2026 08:47 (24 days later)
StatusAccepted
VulDB entry445095 [D-Link R95 1.04B04Beta DHMAPI SOAP interface /bin/ssi SetSecureDNSSettings URI os command injection]
Points20

Want to know what is going to be exploited?

We predict KEV entries!