ZDI-22-1496: 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-22-1496?
The severity of ZDI-22-1496 is high due to the potential for arbitrary code execution by unauthenticated attackers.
How do I fix ZDI-22-1496?
To fix ZDI-22-1496, update the D-Link DIR-1935 router firmware to the latest version provided by D-Link.
Who is affected by ZDI-22-1496?
Individuals and organizations using D-Link DIR-1935 routers with outdated firmware are affected by ZDI-22-1496.
Can ZDI-22-1496 be exploited remotely?
Yes, ZDI-22-1496 can be exploited by network-adjacent attackers, making it possible for them to execute code remotely.
Is authentication required to exploit ZDI-22-1496?
Yes, authentication is required, but the existing mechanism can be bypassed, making the vulnerability more critical.