CVE-2021-34830: (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 1.13B01 BETA 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. Was ZDI-CAN-12028.
Other sources
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.
— ZDI
Affected Software
Event History
Frequently Asked Questions
What is CVE-2021-34830?
CVE-2021-34830 is a vulnerability that allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-1330 1.13B01 BETA routers.
How severe is CVE-2021-34830?
CVE-2021-34830 has a severity rating of 8.8 (high).
Do I need authentication to exploit CVE-2021-34830?
No, authentication is not required to exploit CVE-2021-34830.
What is the affected software for CVE-2021-34830?
The affected software for CVE-2021-34830 is D-Link DAP-1330 1.13B01 BETA routers.
How can I fix CVE-2021-34830?
To fix CVE-2021-34830, update to a non-vulnerable version of the D-Link DAP-1330 firmware.