D-Link DIR-3040 prog.cgi Web Security Handler Memory Leak Denial-of-Service Vulnerability

MonitorDenial of service with adjacent network access.
6.5MEDIUM

CVE-2024-5294

Key Information:

Vendor

D-link

Status
CVE ID
CVE ID:
CVE-2024-5294
Vendor
CVE Published:
23 May 2024

Timeline

  • Vulnerability published

How risky is it?

  • No: Needs adjacent network access
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Monitor

Low risk for most. Patch in your normal cycle.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

2Why it's rated "Monitor"
  • Its CVSS severity is medium (6.5).

What is CVE-2024-5294?

D-Link DIR-3040 prog.cgi websSecurityHandler Memory Leak Denial-of-Service Vulnerability. This vulnerability allows network-adjacent attackers to create a denial-of-service condition on affected installations of D-Link DIR-3040 routers. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the prog.cgi program, which handles HNAP requests made to the lighttpd webserver listening on ports 80 and 443. The issue results from the lack of proper memory management when processing HTTP cookie values. An attacker can leverage this vulnerability to create a denial-of-service condition on the system. . Was ZDI-CAN-21668.

Affected Version(s)

DIR-3040 120B03

References

Out-of-Bounds Write Vulnerability in D-Link DIR-895L Router

CVE-2026-100740
D-linkDir-895l๐Ÿ‘พ9.4CRITICAL

Stack-Based Buffer Overflow in D-Link DIR-868L Authentication Component

CVE-2026-94089
D-linkDir-868l๐Ÿ‘พ10CRITICAL

Stack-based Buffer Overflow in D-Link DI-8400 Router

CVE-2025-9938
D-linkDi-8400๐Ÿ‘พ8.7HIGH
View more D-link vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities ยท Report a correction

CVSS V3.1

Score:
6.5
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Adjacent Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

CVSS V3.0

Score:
4.3
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Adjacent Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged
.