Vulnerability · Published May 3, 2024 · Assigned by zdi
CVE-2023-32153D-Link DIR-2640 EmailFrom Command Injection Remote Code Execution Vulnerability
Medium 6.8
In plain English
A medium-severity OS command injection in DIR-2640 from D-Link. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 26.9% (higher than 98% of all known vulnerabilities).
Official 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 (as reported)
Weakness: CWE-78 · Vector: CVSS:3.0/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
References
- ZDI-23-545 x_research-advisory
- vendor-provided URL vendor-advisory