CVE-2021-20134

HIGH

D-Link DIR-2640-US Firmware <= 1.11B02 - Authenticated Path Traversal and Remote Code Execution via Quagga Log File

Title source: llm
STIX 2.1

Description

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.

References (1)

Core 1
Core References
Exploit, Third Party Advisory x_refsource_misc
https://www.tenable.com/security/research/tra-2021-44

Scores

CVSS v3 8.4
EPSS 0.0109
EPSS Percentile 78.2%
Attack Vector ADJACENT_NETWORK
CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Details

CWE
CWE-22
Status published
Products (1)
dlink/dir-2640-us_firmware < 1.11b02
Published Dec 30, 2021
Tracked Since Feb 18, 2026