CVE-2021-34862: d-link dap-2020 Stack-based Buffer Overflow
Vulnerability summary
CVE-2021-34862 is a high (CVSS 8.8) Stack-based Buffer Overflow vulnerability in d-link dap-2020. EPSS estimates a 0.82% chance of exploitation in the next 30 days, higher than 56.5% of scored vulnerabilities.
Timeline
- 25-10-2021PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 2 sources · 3 versions- NVDNIST8.8HighCVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.82%
Chance of exploitation in the next 30 days
Percentile
57%
Versus all other CVEs
30-day change
0.00 pp
From 0.82% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
D-link1 product
- dap-20201.01rc001
Dlink1 product
- dap-2020_firmware≤ 1.01
2 vendors · 2 products
References
2 links- supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10201X Refsource MISCPatchVendor Advisory