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.
Published 2021-12-30 22:15:08
Updated 2022-01-12 19:52:29
View at NVD,   CVE.org
Vulnerability category: Directory traversalExecute code

Products affected by CVE-2021-20134

Exploit prediction scoring system (EPSS) score for CVE-2021-20134

0.08%
Probability of exploitation activity in the next 30 days EPSS Score History
~ 35 %
Percentile, the proportion of vulnerabilities that are scored at or less

CVSS scores for CVE-2021-20134

Base Score Base Severity CVSS Vector Exploitability Score Impact Score Score Source First Seen
7.4
HIGH AV:A/AC:M/Au:S/C:C/I:C/A:C
4.4
10.0
NIST
8.4
HIGH CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
1.7
6.0
NIST

CWE ids for CVE-2021-20134

  • The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
    Assigned by: nvd@nist.gov (Primary)

References for CVE-2021-20134

Jump to
This web site uses cookies for managing your session, storing preferences, website analytics and additional purposes described in our privacy policy.
By using this web site you are agreeing to CVEdetails.com terms of use!