CVE-2021-34827: (0Day) D-Link DAP-1330 HNAP checkValidRequest 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 SOAPAction 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-12029.
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 SOAPAction 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 the vulnerability ID of the D-Link DAP-1330 vulnerability?
The vulnerability ID of the D-Link DAP-1330 vulnerability is CVE-2021-34827.
What is the severity level of CVE-2021-34827?
The severity level of CVE-2021-34827 is high with a score of 8.8.
How does CVE-2021-34827 allow attackers to execute arbitrary code?
CVE-2021-34827 allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-1330 1.13B01 BETA routers through a stack-based buffer overflow.
Do attackers require authentication to exploit CVE-2021-34827?
No, authentication is not required to exploit CVE-2021-34827.
Is there any fix available for CVE-2021-34827?
At the time of writing, there is no available fix for CVE-2021-34827. It is recommended to follow the vendor's security advisory and apply any patches or updates as soon as they are released.