Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Dlink | Dir-2640-Us Firmware | <= 1.11b02 |
| Dlink | Dir-2640-Us | - |
Related Weaknesses (CWE)
References
- https://www.tenable.com/security/research/tra-2021-44ExploitThird Party Advisory
- https://www.tenable.com/security/research/tra-2021-44ExploitThird Party Advisory
FAQ
What is CVE-2021-20134?
CVE-2021-20134 is a vulnerability with a CVSS score of 8.4 (HIGH). 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 ...
How severe is CVE-2021-20134?
CVE-2021-20134 has been rated HIGH with a CVSS base score of 8.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-20134?
Check the references section above for vendor advisories and patch information. Affected products include: Dlink Dir-2640-Us Firmware, Dlink Dir-2640-Us.