CVE-2024-5294 D-Link DIR-3040 prog.cgi websSecurityHandler Memory Leak Denial-of-Service Vulnerability

Medium 4.3 Published Updated

Network-adjacent attackers can cause a denial-of-service condition on D-Link DIR-3040 routers by exploiting a memory leak in the web server.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-5294?

CVE-2024-5294 is a medium-severity denial of service vulnerability in D-Link DIR-3040, published on 23 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-401

Which versions are affected by CVE-2024-5294?

It affects 1 product.

Products include Dlink Dir-3040 Firmware.

How do I fix CVE-2024-5294?

No fix has been published for CVE-2024-5294 yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-5294 being exploited?

There is no known exploitation of CVE-2024-5294 in the wild and no public exploit code.

Sources

Is CVE-2024-5294 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free