CVE-2023-41218
CVSS V2 None
CVSS V3 None
Description
D-Link DIR-3040 prog.cgi SetWan3Settings 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-21618.
Overview
- CVE ID
- CVE-2023-41218
- Assigner
- zdi
- Vulnerability Status
- PUBLISHED
- Published Version
- 2024-05-03T02:12:11.644Z
- Last Modified Date
- 2024-06-04T17:21:41.780Z
Weakness Enumerations
References
Reference URL | Reference Tags |
---|---|
https://www.zerodayinitiative.com/advisories/ZDI-23-1326/ | x_research-advisory |
https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10350 | vendor-advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2023-41218 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-41218 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2024-06-25 03:23:30 | Added to TrackCVE |