D-Link DIR-3040 HTTP Request Processing Referer Stack-Based Buffer Overflow Remote Code Execution Vulnerability
CVE-2023-41230
Key Information:
Timeline
Vulnerability published
Vulnerability Reserved
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.
Read the vendor advisory โ2Why it's rated "Check today"
- Its CVSS severity is high (8.8).
What is CVE-2023-41230?
The D-Link DIR-3040 router is subject to a vulnerability that allows network-adjacent attackers to perform remote code execution. This flaw is traced to the prog.cgi binary responsible for processing HNAP (Home Network Administration Protocol) requests on the lighttpd webserver. It arises from improper validation of input strings, which can lead attackers to exploit a stack-based buffer overflow. As a result, they can execute arbitrary code with root privileges, leading to unauthorized control over affected devices without requiring authentication.
Affected Version(s)
DIR-3040 120B03
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