Body Background
TrendAI™ Zero Day Initiative™ Logo

(0Day) D-Link Multiple Routers cli Command Injection Remote Code Execution Vulnerability

October 4th, 2023

Vulnerability Details

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

The specific flaw exists within the CLI service, which listens on TCP port 23. 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

12/23/22 – The ZDI reported the vulnerability to the vendor.

08/25/23 – ZDI asked for an update.

08/30/23 – The vendor states this might be fixed but would need verification.

09/29/23 – The ZDI informed the vendor that the case will be published as a zero-day advisory on 10/04/23.

-- Mitigation: Given the nature of the vulnerability, the only salient mitigation strategy is to restrict interaction with the application.


Disclosure Timeline

  • 2022-12-29 - Vulnerability reported to vendor
  • 2023-10-04 - Coordinated public release of advisory

Credit

VRI FALL 2022 (Minh Giang, Nicholas Zubrisky, Evan Qi)

Back to Advisories

Hero Background

Stand at the front line of proactive security

Trend ZDI connects the experts who discover, remediate, and defend.
Add your voice to the work that pushes attackers back.