ZDI-CAN-16148: D-Link DIR-1935 SetIPv6FirewallSettings IPv6FirewallRule 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 SetIPv6FirewallSettings requests to the web management portal. When parsing subelements within the IPv6FirewallRule 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-16148?
The severity of ZDI-CAN-16148 is critical due to the potential for remote code execution.
How do I fix ZDI-CAN-16148?
To fix ZDI-CAN-16148, update your D-Link DIR-1935 router firmware to the latest version provided by D-Link.
Who is affected by ZDI-CAN-16148?
Users of D-Link DIR-1935 routers are affected by ZDI-CAN-16148.
Can ZDI-CAN-16148 be exploited without authentication?
No, exploitation of ZDI-CAN-16148 requires authentication, but the mechanism can be bypassed.
What type of attack is ZDI-CAN-16148 associated with?
ZDI-CAN-16148 is associated with network-adjacent attacks that can lead to arbitrary code execution.