Vulnerability Details : CVE-2023-41225
D-Link DIR-3040 prog.cgi SetIPv6PppoeSettings 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-21651.
Vulnerability category: OverflowExecute code
Products affected by CVE-2023-41225
Please log in to view affected product information.
Exploit prediction scoring system (EPSS) score for CVE-2023-41225
0.05%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 16 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-41225
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.8
|
MEDIUM | CVSS:3.0/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
0.9
|
5.9
|
Zero Day Initiative | 2024-05-03 |
CWE ids for CVE-2023-41225
-
A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).Assigned by: zdi-disclosures@trendmicro.com (Secondary)
References for CVE-2023-41225
-
https://www.zerodayinitiative.com/advisories/ZDI-23-1333/
ZDI-23-1333 | Zero Day Initiative
-
https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10350
D-Link Technical Support
Jump to