ZDI-21-682: (0Day) D-Link DAP-1330 HNAP Cookie Header Stack-based Buffer Overflow Remote Code Execution Vulnerability
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-1330 routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the handling of the Cookie HTTP header. The issue results from the lack of proper validation of the length of 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 the device.
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-21-682?
The severity of ZDI-21-682 is critical as it allows remote code execution without authentication.
How do I fix ZDI-21-682?
To fix ZDI-21-682, update your D-Link DAP-1330 router to the latest firmware provided by the manufacturer.
Who is affected by ZDI-21-682?
Users of D-Link DAP-1330 routers are affected by ZDI-21-682.
What type of vulnerability is ZDI-21-682?
ZDI-21-682 is a remote code execution vulnerability due to improper handling of the Cookie HTTP header.
Can ZDI-21-682 be exploited remotely?
Yes, ZDI-21-682 can be exploited remotely since authentication is not required.