Remote Code Execution Vulnerability in D-Link DIR-2640 HTTP Referer Stack-Based Buffer Overflow
CVE-2024-5293
Key Information:
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
Check today
Find out if you're affected. If you are, patch.
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 "Check today"
- Its CVSS severity is high (8.8).
What is CVE-2024-5293?
The D-Link DIR-2640 router is susceptible to a stack-based buffer overflow vulnerability, which allows remote code execution by network-adjacent attackers without requiring authentication. The flaw lies in the handling of HNAP requests within the prog.cgi script, part of the lighttpd webserver. Insufficient validation of user-supplied data enables an attacker to exceed the bounds of a fixed-length stack buffer, leading to the potential execution of arbitrary code in the root context. Organizations using the D-Link DIR-2640 routers should urgently review their systems and apply the necessary security patches.
Affected Version(s)
DIR-2640 1.11B02_BETA02
References
More D-link Vulnerabilities
Out-of-Bounds Write Vulnerability in D-Link DIR-895L Router
Stack-Based Buffer Overflow in D-Link DIR-868L Authentication Component
Stack-based Buffer Overflow in D-Link DI-8400 Router
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities ยท Report a correction