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.
Metrics
Affected Vendors & Products
References
Link | Providers |
---|---|
https://www.tenable.com/security/research/tra-2021-44 |
History
No history.
MITRE
Status: PUBLISHED
Assigner: tenable
Published: 2021-12-30T21:31:00
Updated: 2024-08-03T17:30:07.497Z
Reserved: 2020-12-17T00:00:00
Link: CVE-2021-20134
Vulnrichment
No data.
NVD
Status : Modified
Published: 2021-12-30T22:15:08.460
Modified: 2024-11-21T05:45:59.307
Link: CVE-2021-20134
Redhat
No data.