ZDI-22-1498: 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-22-1498?
The severity of ZDI-22-1498 is high due to the potential for remote code execution.
How do I fix ZDI-22-1498?
To fix ZDI-22-1498, update your D-Link DIR-1935 router to the latest firmware provided by D-Link.
Can ZDI-22-1498 be exploited remotely?
ZDI-22-1498 requires network-adjacent access for exploitation, making it less of a remote vulnerability.
What type of authentication is affected by ZDI-22-1498?
ZDI-22-1498 can bypass the existing authentication mechanism, allowing attackers to exploit the vulnerability.
Which product is affected by ZDI-22-1498?
ZDI-22-1498 affects the D-Link DIR-1935 router.