CVE-2024-5293

HighCVSS 8.8/10Last modified Jun 17, 2026

Description

D-Link DIR-2640 HTTP Referer Stack-Based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DIR-2640-US routers. Authentication is not required to exploit this vulnerability.

The specific flaw exists within prog.cgi, 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. Was ZDI-CAN-21853.

Metrics

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

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
May 23, 2024
Last modified
Jun 17, 2026
NVD status
Analyzed

Related CVEs from 2024

CVE-2024-529354.1Kernel software installed and running inside a Guest VM may exploit memory shared with the GPU Firmware to write data outside the Guest's viCVE-2024-529364.4Kernel software installed and running inside a Guest VM may post improper commands to the GPU Firmware to write data outside the Guest's virCVE-2024-529376.7Kernel software installed and running inside a Guest VM may exploit memory shared with the GPU Firmware to write data outside the Guest's viCVE-2024-529387.8Kernel software installed and running inside a Guest VM may post improper commands to the GPU Firmware to subvert reconstruction activities CVE-2024-529397.8Kernel software installed and running inside a Guest VM may post improper commands to the GPU Firmware to trigger a write data outside the GCVE-2024-52946.5D-Link DIR-3040 prog.cgi websSecurityHandler Memory Leak Denial-of-Service Vulnerability. This vulnerability allows network-adjacent attackeCVE-2024-529407.5AnyDesk through 8.1.0 on Windows, when Allow Direct Connections is enabled, inadvertently exposes a public IP address within network trafficCVE-2024-529415.4An issue was discovered in Veritas Enterprise Vault before 15.1 UPD882911, ZDI-CAN-24695. It allows an authenticated remote attacker to injeCVE-2024-529425.4An issue was discovered in Veritas Enterprise Vault before 15.1 UPD882911, ZDI-CAN-24696. It allows an authenticated remote attacker to injeCVE-2024-529435.4An issue was discovered in Veritas Enterprise Vault before 15.1 UPD882911, ZDI-CAN-24697. It allows an authenticated remote attacker to injeCVE-2024-529445.4An issue was discovered in Veritas Enterprise Vault before 15.1 UPD882911, ZDI-CAN-24698. It allows an authenticated remote attacker to injeCVE-2024-529457.8An issue was discovered in Veritas NetBackup before 10.5. This only applies to NetBackup components running on a Windows Operating System. I
CVE-2024-5293: High severity, CVSS 8.8 | Vulnix