Medium severity · published May 3, 2024
CVE-2023-32151
D-Link DIR-2640 DestNetwork Command Injection Remote Code Execution Vulnerability
6.8
CVSS
1.8%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.0/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Attack vector
Adjacent
Complexity
Low
Privileges
High
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.8% · higher than 78% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DF
Dir-2640 Firmware · Dlink
1.11b02 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2023-32151
CVE.org
https://www.cve.org/CVERecord?id=CVE-2023-32151
Product
https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10323
Third Party Advisory
https://www.zerodayinitiative.com/advisories/ZDI-23-543/
More from Dir-2640 Firmware
8.8
CVE-2024-5293
D-Link DIR-2640 HTTP Referer Stack-Based Buffer Overflow Remote Code Execution Vulnerability
8.8
CVE-2023-32149
D-Link DIR-2640 prog.cgi Request Handling Stack-based Buffer Overflow Remote Code Execution Vulnerability
7.8
CVE-2022-1262
A command injection vulnerability in the protest binary allows an attacker with access to the remote command line interface to execute arbitrary commands as root
6.8
CVE-2023-32153
D-Link DIR-2640 EmailFrom Command Injection Remote Code Execution Vulnerability
6.8
CVE-2023-32150
D-Link DIR-2640 PrefixLen Command Injection Remote Code Execution Vulnerability
