ZDI-CAN-16147: D-Link DIR-1935 SetStaticRouteIPv4Settings StaticRouteIPv4Data Command Injection Remote Code Execution Vulnerability
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DIR-1935 routers. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed. The specific flaw exists within the handling of SetStaticRouteIPv4Settings requests to the web management portal. When parsing subelements within the StaticRouteIPv4Data element, the process does not properly validate a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of root.
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-CAN-16147?
The severity of ZDI-CAN-16147 is critical due to its potential to allow arbitrary code execution.
How do I fix ZDI-CAN-16147?
To fix ZDI-CAN-16147, update your D-Link DIR-1935 router firmware to the latest version provided by the manufacturer.
Who is affected by ZDI-CAN-16147?
D-Link DIR-1935 router users are affected by ZDI-CAN-16147.
What kind of attacks does ZDI-CAN-16147 allow?
ZDI-CAN-16147 allows network-adjacent attackers to execute arbitrary code on the affected routers.
Is authentication required to exploit ZDI-CAN-16147?
Yes, authentication is required to exploit ZDI-CAN-16147, but the existing mechanism can be bypassed.