CVE-2021-20134: Path Traversal

Published Dec 30, 2021
·
Updated

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 Software

2 affected components
Dlink Dir-2640-us Firmware<=1.11b02
Dlink Dir-2640-us

Event History

Dec 30, 2021
CVE Published
via MITRE·09:31 PM
Data Sourced
via MITRE·09:31 PM
DescriptionWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2021-20134?

CVE-2021-20134 has a medium severity rating due to its potential to allow authenticated attackers to manipulate log files on affected devices.

2

How do I fix CVE-2021-20134?

To fix CVE-2021-20134, upgrade the D-Link DIR-2640 firmware to a version later than 1.11B02.

3

What types of devices are affected by CVE-2021-20134?

CVE-2021-20134 affects D-Link DIR-2640 routers running firmware version 1.11B02 or earlier.

4

Can CVE-2021-20134 be exploited remotely?

Yes, CVE-2021-20134 can be exploited remotely by an authenticated attacker.

5

What is the impact of CVE-2021-20134?

The impact of CVE-2021-20134 is the potential for unauthorized file manipulation on the router's filesystem.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203