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-23-1517?
The severity of ZDI-23-1517 is critical due to the potential for remote code execution without authentication.
Who is affected by ZDI-23-1517?
ZDI-23-1517 affects users of the D-Link DIR-X3260 routers.
How do I fix ZDI-23-1517?
To fix ZDI-23-1517, update the D-Link DIR-X3260 router to the latest firmware version recommended by the manufacturer.
What type of vulnerability is ZDI-23-1517?
ZDI-23-1517 is a remote code execution vulnerability caused by improper handling of HNAP requests.
Can ZDI-23-1517 be exploited remotely?
Yes, ZDI-23-1517 can be exploited remotely by network-adjacent attackers without requiring authentication.