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.
Published 2024-05-03 03:15:35
Updated 2024-05-03 12:49:24
View at NVD,   CVE.org
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)
Jump to
This web site uses cookies for managing your session, storing preferences, website analytics and additional purposes described in our privacy policy.
By using this web site you are agreeing to CVEdetails.com terms of use!