Vulnerability Details : CVE-2023-41229
D-Link DIR-3040 HTTP Request Processing Referer Heap-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 heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-21671.
Vulnerability category: OverflowExecute code
Products affected by CVE-2023-41229
Please log in to view affected product information.
Exploit prediction scoring system (EPSS) score for CVE-2023-41229
1.35%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 79 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-41229
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
8.8
|
HIGH | CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
2.8
|
5.9
|
Zero Day Initiative | 2024-05-03 |
CWE ids for CVE-2023-41229
-
A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().Assigned by: zdi-disclosures@trendmicro.com (Secondary)
References for CVE-2023-41229
-
https://www.zerodayinitiative.com/advisories/ZDI-23-1337/
ZDI-23-1337 | Zero Day Initiative
-
https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10350
D-Link Technical Support
Jump to