CVE-2023-41219
Last modified
CVE-2023-41219 is a medium-severity vulnerability rated 6.8/10 on the CVSS scale. D-Link DIR-3040 prog.cgi SetWanSettings 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. EPSS estimates a 0.70% chance of exploitation in the next 30 days.
Description
D-Link DIR-3040 prog.cgi SetWanSettings 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 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-21619.
Metrics
CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Dlink | Dir-3040 Firmware | <= 1.20b03 |
References
- https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10350Patch, Vendor Advisory
- https://www.zerodayinitiative.com/advisories/ZDI-23-1327/Third Party Advisory
- https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10350Patch, Vendor Advisory
- https://www.zerodayinitiative.com/advisories/ZDI-23-1327/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2023-41219?
How severe is CVE-2023-41219?
How do I fix CVE-2023-41219?
Are you affected by CVE-2023-41219?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
