Advisory Details

May 15th, 2023

D-Link DIR-2150 GetDeviceSettings Target Command Injection Remote Code Execution Vulnerability

ZDI-23-630
ZDI-CAN-20558

CVE ID CVE-2023-34279
CVSS SCORE 6.8, AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS D-Link
AFFECTED PRODUCTS DIR-2150
VULNERABILITY DETAILS

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DIR-2150 routers. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the SOAP API interface, which listens on TCP port 80 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 root.

ADDITIONAL DETAILS

Fixed in Firmware v1.06
https://support.dlink.com.au/Download/download.aspx?product=DIR-2150


DISCLOSURE TIMELINE
  • 2023-04-28 - Vulnerability reported to vendor
  • 2023-05-15 - Coordinated public release of advisory
  • 2023-06-02 - Advisory Updated
CREDIT Anonymous
BACK TO ADVISORIES