Skip to content
OpenAdvisories
Medium · 6.8 CVE-2023-32153 EUVD-2023-36421GHSA-49vc-hcf9-97jc

D-Link DIR-2640 EmailFrom Command Injection Remote Code Execution Vulnerability

Published May 3, 2024 · Updated Sep 18, 2024 · Assigned by zdi

Description

D-Link DIR-2640 EmailFrom Command Injection Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DIR-2640 routers. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed.

The specific flaw exists within the handling of the EmailFrom parameter provided to the HNAP1 endpoint. 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.
. Was ZDI-CAN-19550.

Affected products

VendorProductAffectedFixed
D-Link DIR-2640 1.11B02 (non-US, CA version) —

References