CVE-2021-34863: D-Link DAP-2020 webproc var:page 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-2020 1.01rc001 routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the handling of the var:page parameter provided to the webproc endpoint. 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 root. Was ZDI-CAN-13271.
Other sources
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-2020 routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the handling of the var:page parameter provided to the webproc endpoint. 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 root.
— ZDI
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the vulnerability ID of this D-Link DAP-2020 vulnerability?
The vulnerability ID is CVE-2021-34863.
What is the title of this D-Link DAP-2020 vulnerability?
The title of this vulnerability is D-Link DAP-2020 webproc var:page Stack-based Buffer Overflow Remote Code Execution Vulnerability.
How severe is CVE-2021-34863?
The severity of CVE-2021-34863 is high.
How can attackers exploit CVE-2021-34863?
Attackers can exploit CVE-2021-34863 by executing arbitrary code on affected D-Link DAP-2020 1.01rc001 routers.
Are authentication credentials required to exploit CVE-2021-34863?
No, authentication is not required to exploit CVE-2021-34863.
Which software versions are affected by CVE-2021-34863?
D-Link DAP-2020 routers running firmware version 1.01 are affected by CVE-2021-34863.
Is the D-Link DAP-2020 device itself vulnerable?
Yes, the D-Link DAP-2020 device is vulnerable to CVE-2021-34863.
What is the Common Weakness Enumeration (CWE) ID of CVE-2021-34863?
The CWE ID of CVE-2021-34863 is CWE-121.