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

exploitDog

nvd логотип

CVE-2021-20134

Опубликовано: 30 дек. 2021
Источник: nvd
CVSS3: 8.4
CVSS2: 7.4
EPSS Низкий

Описание

Quagga Services on D-Link DIR-2640 less than or equal to version 1.11B02 are affected by an absolute path traversal vulnerability that allows a remote, authenticated attacker to set an arbitrary file on the router's filesystem as the log file used by either Quagga service (zebra or ripd). Subsequent log messages will be appended to the file, prefixed by a timestamp and some logging metadata. Remote code execution can be achieved by using this vulnerability to append to a shell script on the router's filesystem, and then awaiting or triggering the execution of that script. A remote, unauthenticated root shell can easily be obtained on the device in this fashion.

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

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

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

cpe:2.3:o:dlink:dir-2640-us_firmware:*:*:*:*:*:*:*:*
Версия до 1.11b02 (включая)
cpe:2.3:h:dlink:dir-2640-us:-:*:*:*:*:*:*:*

EPSS

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

8.4 High

CVSS3

7.4 High

CVSS2

Дефекты

CWE-22

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

github
около 4 лет назад

Quagga Services on D-Link DIR-2640 less than or equal to version 1.11B02 are affected by an absolute path traversal vulnerability that allows a remote, authenticated attacker to set an arbitrary file on the router's filesystem as the log file used by either Quagga service (zebra or ripd). Subsequent log messages will be appended to the file, prefixed by a timestamp and some logging metadata. Remote code execution can be achieved by using this vulnerability to append to a shell script on the router's filesystem, and then awaiting or triggering the execution of that script. A remote, unauthenticated root shell can easily be obtained on the device in this fashion.

EPSS

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

8.4 High

CVSS3

7.4 High

CVSS2

Дефекты

CWE-22