PT-2023-9185 · D Link · D-Link Dir-2640

Nicholas Zubrisky

·

Published

2023-09-28

·

Updated

2024-05-24

·

CVE-2024-5293

CVSS v3.1

8.8

High

VectorAV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions D-Link DIR-2640 (affected versions not specified)
Description This issue allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DIR-2640-US routers. The flaw exists within the prog.cgi file, which handles HNAP requests made to the lighttpd webserver listening on TCP ports 80 and 443. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Stack Overflow

Weakness Enumeration

Related Identifiers

BDU:2024-04458
CVE-2024-5293
ZDI-24-444

Affected Products

D-Link Dir-2640