8.8high
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-2020 v1.01rc001 Wi-F…
- Severity
- 8.8high CVSS:3.0 by zdi
- Exploit likelihood
- 2.88% (higher than 87% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- zdi
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| D-Link DAP-2020 | v1.01rc001 | CVE List |
| dlink dap-2020_firmware | 1.01 | NVD |
All scores
| zdi | 8.8high CVSS:3.0 | CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 8.3high CVSS:2.0 | AV:A/AC:L/Au:N/C:C/I:C/A:C |
Classification
What each source says
CVE List
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.
NVD (es)
Esta vulnerabilidad permite a atacantes adyacentes a la red ejecutar código arbitrario en las instalaciones afectadas de los puntos de acceso Wi-Fi D-Link DAP-2020 v1.01rc001. No es requerida una autenticación para explotar esta vulnerabilidad. El fallo específico se presenta dentro del procesamiento de scripts CGI. Cuando se analiza el parámetro getpage, el proceso no comprueba apropiadamente la longitud de los datos suministrados por el usuario antes de copiarlos en un búfer en la región stack de la memoria de longitud fija. Un atacante puede aprovechar esta vulnerabilidad para ejecutar código en el contexto de root. Era ZDI-CAN-10932
References
| https://www.zerodayinitiative.com/advisories/ZDI-21-203/ | third-party-advisory, vdb-entry | |
| https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10201 | patch, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-27248 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-27248 changed 2026-06-17 | Public domain |