CVE-2022-43626: D-Link DIR-1935 SetIPv4FirewallSettings IPv4FirewallRule Command Injection Remote Code Execution Vulnerability
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DIR-1935 1.03 routers. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed. The specific flaw exists within the handling of SetIPv4FirewallSettings requests to the web management portal. When parsing subelements within the IPv4FirewallRule 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. Was ZDI-CAN-16146.
Other sources
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 SetIPv4FirewallSettings requests to the web management portal. When parsing subelements within the IPv4FirewallRule 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
Remediation
Event History
Frequently Asked Questions
What is CVE-2022-43626?
CVE-2022-43626 is a vulnerability that allows network-adjacent attackers to execute arbitrary code on affected D-Link DIR-1935 1.03 routers.
How severe is CVE-2022-43626?
CVE-2022-43626 has a severity score of 6.8, which is classified as medium.
How can this vulnerability be exploited?
This vulnerability can be exploited by network-adjacent attackers to execute arbitrary code on the affected routers, even though authentication is required.
Are there any known fixes for CVE-2022-43626?
Yes, D-Link has released a security advisory with updates to address this vulnerability. Please refer to the official D-Link support announcement for more information.
Is my D-Link DIR-1935 router affected?
If you are using D-Link DIR-1935 router with firmware version 1.02 or 1.03-b1/b2, your device may be affected by CVE-2022-43626.