CVE-2021-20134Dlink Dir-2640-us Firmware
High 8.4
Follow: this CVE · Dlink · Dlink Dir-2640-us Firmware We alert you by email or Slack (account required).
- Priority
- 51
- CVSS 3.1
- 8.4
- EPSS
- 7.8% probability of exploitation in 30 days · percentile 95
- Auth required
- Yes
- Published
- Dec 30, 2021
- Updated
- Jun 17, 2026
- Category
- Network & edge · Network appliance
- Weakness (CWE)
- CWE-22
- Vector
CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Dir-2640-us Firmware.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| dlink | dir-2640-us_firmware | ≤ 1.11b02 |
Official sources
References
Links published by the sources. Open them with care.
- www.tenable.com Exploit Third Party Advisory