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 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.
Affected Software | Affected Version | How to fix |
---|---|---|
D-Link DIR-1935 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of ZDI-22-1505 is critical due to the potential for arbitrary code execution by authenticated network-adjacent attackers.
To fix ZDI-22-1505, update the D-Link DIR-1935 router firmware to the latest version provided by the manufacturer.
ZDI-22-1505 is caused by a flaw in the authentication mechanism of D-Link DIR-1935 routers that can be bypassed, allowing unauthorized code execution.
D-Link DIR-1935 router users are affected by ZDI-22-1505 if they have not updated to the patched firmware.
Yes, while authentication is required to exploit ZDI-22-1505, the vulnerability allows that authentication to be bypassed.