Arbitrary Command Execution in D-Link DIR-2150 4.0.1 Routers via Dreambox Plugin

Arbitrary Command Execution in D-Link DIR-2150 4.0.1 Routers via Dreambox Plugin

CVE-2022-40720 · HIGH Severity

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

This vulnerability allows network-adjacent attackers to execute arbitrary commands on affected installations of D-Link DIR-2150 4.0.1 routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the Dreambox plugin for the xupnpd service, which listens on TCP port 4044 by default. The issue results from the lack of proper validation of 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 the router. Was ZDI-CAN-15935.

Learn more about our Network Penetration Testing.