Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

nvd логотип

CVE-2023-41227

Опубликовано: 03 мая 2024
Источник: nvd
CVSS3: 6.8
CVSS3: 6.8
EPSS Низкий

Описание

D-Link DIR-3040 prog.cgi SetTriggerPPPoEValidate Stack-Based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DIR-3040 routers. Authentication is required to exploit this vulnerability.

The specific flaw exists within the prog.cgi binary, which handles HNAP requests made to the lighttpd webserver listening on TCP ports 80 and 443. The issue results from the lack of proper validation of a user-supplied string before copying it to a fixed-size stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-21653.

Уязвимые конфигурации

Конфигурация 1

Одновременно

cpe:2.3:o:dlink:dir-3040_firmware:*:*:*:*:*:*:*:*
Версия до 1.20b03 (включая)
cpe:2.3:h:dlink:dir-3040:-:*:*:*:*:*:*:*

EPSS

Процентиль: 72%
0.00718
Низкий

6.8 Medium

CVSS3

6.8 Medium

CVSS3

Дефекты

CWE-121
CWE-787

Связанные уязвимости

CVSS3: 6.8
github
почти 2 года назад

D-Link DIR-3040 prog.cgi SetTriggerPPPoEValidate Stack-Based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DIR-3040 routers. Authentication is required to exploit this vulnerability. The specific flaw exists within the prog.cgi binary, which handles HNAP requests made to the lighttpd webserver listening on TCP ports 80 and 443. The issue results from the lack of proper validation of a user-supplied string before copying it to a fixed-size stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-21653.

CVSS3: 6.8
fstec
больше 2 лет назад

Уязвимость функции SetTriggerPPPoEValidate() микропрограммного обеспечения беспроводных маршрутизаторов D-Link DIR-3040, позволяющая нарушителю выполнить произвольный код

EPSS

Процентиль: 72%
0.00718
Низкий

6.8 Medium

CVSS3

6.8 Medium

CVSS3

Дефекты

CWE-121
CWE-787