Arbitrary Code Execution via SetSysLogSettings in D-Link DIR-1935 1.03 Routers

Arbitrary Code Execution via SetSysLogSettings in D-Link DIR-1935 1.03 Routers

CVE-2022-43633 · MEDIUM Severity

CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

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 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. Was ZDI-CAN-16154.

Learn more about our Web App Pen Testing.