CVE-2023-32151 MEDIUM

CVE-2023-32151: D-Link DIR-2640 DestNetwork Command Injection Remote Code Execution Vulnerability

Vendor D-Link
Product DIR-2640
Weakness CWE-78
Published May 3, 2024
Last update September 18, 2024

CVSS base score

6.8/10
Attack vector Adjacent
Attack complexity Low
Privileges required High
User interaction None
Confidentiality High
Integrity High

CVSS vector

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

What the vulnerability does

01Description

D-Link DIR-2640 DestNetwork 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 DestNetwork 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-19548.

Key dates

02Disclosure timeline

May 3, 2024 CVE published
September 18, 2024 Record updated