Vulnerabilities · 2021 · Dlink
CVE-2021-20134
Dlink Dir-2640-us Firmware vulnerability
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.
Affected products
Dir-2640-us Firmware. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Dlink Dir-2640-us Firmware runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
More vulnerabilities in Dlink products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.