Skip to content

Quagga Services on D-Link DIR-2640 less than or equal to...

High severity Unreviewed Published Dec 31, 2021 to the GitHub Advisory Database • Updated Feb 3, 2023

Package

No package listedSuggest a package

Affected versions

Unknown

Patched versions

Unknown

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.

References

Published by the National Vulnerability Database Dec 30, 2021
Published to the GitHub Advisory Database Dec 31, 2021
Last updated Feb 3, 2023

Severity

High

EPSS score

0.081%
(36th percentile)

Weaknesses

CVE ID

CVE-2021-20134

GHSA ID

GHSA-v4h7-5mx9-q833

Source code

No known source code

Dependabot alerts are not supported on this advisory because it does not have a package from a supported ecosystem with an affected and fixed version.

Learn more about GitHub language support

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.