Vulnerability Description
D-Link DIR-3040 HTTP Request Processing Referer Stack-Based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code 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 binary, which handles HNAP requests made to the lighttpd webserver listening on TCP ports 80 and 443. The issue results from the lack of proper validation of a user-supplied string before copying it to a fixed size stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-21674.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Dlink | Dir-3040 Firmware | <= 1.20b03 |
| Dlink | Dir-3040 | - |
Related Weaknesses (CWE)
References
- https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP1PatchVendor Advisory
- https://www.zerodayinitiative.com/advisories/ZDI-23-1338/Third Party Advisory
- https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP1PatchVendor Advisory
- https://www.zerodayinitiative.com/advisories/ZDI-23-1338/Third Party Advisory
FAQ
What is CVE-2023-41230?
CVE-2023-41230 is a vulnerability with a CVSS score of 8.8 (HIGH). D-Link DIR-3040 HTTP Request Processing Referer Stack-Based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affec...
How severe is CVE-2023-41230?
CVE-2023-41230 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-41230?
Check the references section above for vendor advisories and patch information. Affected products include: Dlink Dir-3040 Firmware, Dlink Dir-3040.