ZDI-CAN-16145: D-Link DIR-1935 SetStaticRouteIPv6Settings 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 SetStaticRouteIPv6Settings requests to the web management portal. When parsing subelements within the StaticRouteIPv6List 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-16145?
The severity of ZDI-CAN-16145 is critical due to the potential for arbitrary code execution.
How do I fix ZDI-CAN-16145?
To fix ZDI-CAN-16145, update your D-Link DIR-1935 router to the latest firmware provided by D-Link.
Who is affected by ZDI-CAN-16145?
Users of D-Link DIR-1935 routers are affected by ZDI-CAN-16145 if their devices are running an exploitable version of the firmware.
Can ZDI-CAN-16145 be exploited remotely?
ZDI-CAN-16145 requires network access, which means it can be exploited by attackers on the same local network.
Is authentication enough to protect against ZDI-CAN-16145?
No, the existing authentication mechanism can be bypassed, making ZDI-CAN-16145 a serious risk even with authentication.