Skip to content
DoS Advisory Intermediate CVE-2024-5294

(0Day) D-Link DIR-3040 prog.cgi websSecurityHandler Memory Leak Denial-of-Service Vulnerability

A memory leak in the prog.cgi program of D-Link DIR-3040 routers, triggered by malformed HTTP cookie values, allows network-adjacent attackers to cause a denial-of-service condition without authentication.

Nicholas Zubrisky Follow

Originally disclosed on Zero Day Initiative

Medium 4.3 View original

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.

Nicholas Zubrisky, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely, the prog.cgi program does not properly manage memory when parsing HTTP cookie values, leading to a memory leak.

Impact

Network-adjacent attackers can create a denial-of-service condition on affected routers without authentication; a beta hot-fix was later provided by the vendor.

What the attacker needed

Network-adjacent access to the router; no authentication required

The fix

The vendor provided a beta software update (v120B03a Beta Hot-Fix) to address the issue.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

This is a denial-of-service bug in a home router. An attacker on the same network can send special requests with bad cookie values that make the router's web server leak memory, eventually causing it to crash or stop responding. No password is needed, but the attacker must be able to reach the router's web interface.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by Nicholas Zubrisky

View all

26 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.