Buffer overflow in D-Link Dap-2020
CVE-2021-34862
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:menu 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-13270.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.008 (56.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 56th percentile — 56.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.008 · newest: 0.008 · change: 0.000
Affected products
- D-Link Dap-2020 — versions 1.01rc001
- Dlink Dap-2020
- Dlink Dap-2020 Firmware
Weakness classification (CWE)
Public proof-of-concept exploits
References
- supportannouncement.us.dlink.com/announcement/publication.aspx (Patch, Vendor Advisory)
- www.zerodayinitiative.com/advisories/ZDI-21-978/ (VDB Entry, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-34862?
- CVE-2021-34862 is a high-severity vulnerability in D-Link Dap-2020, classified under Stack-based Buffer Overflow. CVSS score: 8.8/10. Published 2021-10-25.
- How severe is CVE-2021-34862?
- High severity. CVSS v3 base score is 8.8 out of 10.
- Is CVE-2021-34862 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.