ZDI-22-1505: D-Link DIR-1935 SetSysLogSettings IPAddress 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 SetSysLogSettings requests to the web management portal. When parsing the IPAddress 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-1505?
The severity of ZDI-22-1505 is critical due to the potential for arbitrary code execution by authenticated network-adjacent attackers.
How do I fix ZDI-22-1505?
To fix ZDI-22-1505, update the D-Link DIR-1935 router firmware to the latest version provided by the manufacturer.
What causes the vulnerability ZDI-22-1505?
ZDI-22-1505 is caused by a flaw in the authentication mechanism of D-Link DIR-1935 routers that can be bypassed, allowing unauthorized code execution.
Who is affected by ZDI-22-1505?
D-Link DIR-1935 router users are affected by ZDI-22-1505 if they have not updated to the patched firmware.
Is authentication required for exploiting ZDI-22-1505?
Yes, while authentication is required to exploit ZDI-22-1505, the vulnerability allows that authentication to be bypassed.