ZDI-CAN-16151: D-Link DIR-1935 SetVirtualServerSettings VirtualServerInfo 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 SetVirtualServerSettings requests to the web management portal. When parsing subelements within the VirtualServerInfo 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-16151?
The severity of ZDI-CAN-16151 is high due to the potential for arbitrary code execution by network-adjacent attackers.
How do I fix ZDI-CAN-16151?
To fix ZDI-CAN-16151, update the firmware of D-Link DIR-1935 routers to the latest version provided by D-Link.
Who is affected by ZDI-CAN-16151?
ZDI-CAN-16151 affects installations of D-Link DIR-1935 routers that are vulnerable to the exploitation of the identified flaw.
What type of attackers can exploit ZDI-CAN-16151?
ZDI-CAN-16151 can be exploited by network-adjacent attackers who can bypass the existing authentication mechanism.
What is the nature of the vulnerability in ZDI-CAN-16151?
The flaw in ZDI-CAN-16151 allows attackers to execute arbitrary code remotely due to an insufficient authentication mechanism.