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

1 affected component
D-Link DIR-1935

Event History

Mar 26, 2025
Advisory Published
via ZDI·10:24 AM

Frequently Asked Questions

1

What is the severity of ZDI-CAN-16148?

The severity of ZDI-CAN-16148 is critical due to the potential for remote code execution.

2

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.

3

Who is affected by ZDI-CAN-16148?

Users of D-Link DIR-1935 routers are affected by ZDI-CAN-16148.

4

Can ZDI-CAN-16148 be exploited without authentication?

No, exploitation of ZDI-CAN-16148 requires authentication, but the mechanism can be bypassed.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203