PT-2021-13791 · D Link · D-Link Dir-2640
Olivia Fraser
·
Published
2021-12-30
·
Updated
2022-01-12
·
CVE-2021-20134
CVSS v3.1
8.4
High
| Vector | AV:A/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions:
D-Link DIR-2640 versions less than or equal to 1.11B02
Description:
The issue allows a remote, authenticated attacker to exploit an absolute path traversal vulnerability in Quagga Services. This enables the attacker to set an arbitrary file on the router's filesystem as the log file used by Quagga services, such as
zebra or ripd. By appending log messages to a shell script on the router's filesystem, an attacker can achieve remote code execution. This can be leveraged to obtain a remote, unauthenticated root shell on the device.Recommendations:
For D-Link DIR-2640 versions less than or equal to 1.11B02, as a temporary workaround, consider restricting access to the Quagga Services until a patch is available. Avoid using the vulnerable Quagga services to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
D-Link Dir-2640