PT-2023-1285 · D Link · D-Link Dap-2020+1

·

CVE-2023-32146

·

Publicado

2023-01-19

·

Atualizado

2024-09-18

CVSS v3.1

8.8

Alta

VetorAV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions D-Link DAP-1360 (affected versions not specified) D-Link DAP-2020 (affected versions not specified)
Description This issue allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link routers. Authentication is not required to exploit this issue. The specific flaw exists within the "/cgi-bin/webproc" endpoint. When parsing the errorpage and nextpage parameters, 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 issue to execute code in the context of root.
Recommendations For D-Link DAP-1360, as a temporary workaround, consider disabling access to the "/cgi-bin/webproc" endpoint until a patch is available. For D-Link DAP-2020, restrict access to the vulnerable parameters errorpage and nextpage in the affected API endpoint until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this issue.

Correção

Stack Overflow

Buffer Overflow

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

BDU:2023-00554
CVE-2023-32146
ZDI-23-538

Produtos afetados

D-Link Dap-1360
D-Link Dap-2020