Buffer overflow in D-Link Dap-2020

CVE-2021-27248

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-2020 v1.01rc001 Wi-Fi access points. Authentication is not required to exploit this vulnerability. The specific flaw exists within the processing of CGI scripts. When parsing the getpage parameter, the process does not properly validate 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-10932.

Vulnerability class: Buffer Overflow

EPSS: 0.026 (84.3th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-27248?
CVE-2021-27248 is a high-severity vulnerability in D-Link Dap-2020, classified under Stack-based Buffer Overflow. CVSS score: 8.8/10. Published 2021-04-14.
How severe is CVE-2021-27248?
High severity. CVSS v3 base score is 8.8 out of 10.
Is CVE-2021-27248 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.