ZDI-CAN-20774: ZDI-23-1517: (0Day) D-Link DIR-X3260 Prog.cgi 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-X3260 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. The issue results from the lack of proper validation of the length an user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root.
Other sources
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DIR-X3260 routers. Authentication is not required to exploit this vulnerability. The ZDI has assigned a CVSS rating of 8.8. The following CVEs are assigned: CVE-2023-44419.
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-CAN-20774?
The severity of ZDI-CAN-20774 is considered high due to the potential for arbitrary code execution without authentication.
How do I fix ZDI-CAN-20774?
To fix ZDI-CAN-20774, update your D-Link DIR-X3260 router firmware to the latest version provided by D-Link.
What software is affected by ZDI-CAN-20774?
ZDI-CAN-20774 affects the D-Link DIR-X3260 router.
Can ZDI-CAN-20774 be exploited remotely?
Yes, ZDI-CAN-20774 can be exploited by network-adjacent attackers without authentication.
What impact does ZDI-CAN-20774 have on my router?
ZDI-CAN-20774 allows attackers to execute arbitrary code, posing a risk to the integrity and confidentiality of the router's data.