CVE-2021-20134

CVSS V2 High 7.4 CVSS V3 High 8.4
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.
Overview
  • CVE ID
  • CVE-2021-20134
  • Assigner
  • vulnreport@tenable.com
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2021-12-30T22:15:08
  • Last Modified Date
  • 2022-01-12T19:52:28
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
AND
cpe:2.3:o:dlink:dir-2640-us_firmware:*:*:*:*:*:*:*:* 1 OR 1.11b02
cpe:2.3:h:dlink:dir-2640-us:-:*:*:*:*:*:*:* 0 OR
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:A/AC:M/Au:S/C:C/I:C/A:C
  • Access Vector
  • ADJACENT_NETWORK
  • Access Compatibility
  • MEDIUM
  • Authentication
  • SINGLE
  • Confidentiality Impact
  • COMPLETE
  • Integrity Impact
  • COMPLETE
  • Availability Impact
  • COMPLETE
  • Base Score
  • 7.4
  • Severity
  • HIGH
  • Exploitability Score
  • 4.4
  • Impact Score
  • 10
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
  • Attack Vector
  • ADJACENT_NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • HIGH
  • User Interaction
  • NONE
  • Scope
  • CHANGED
  • Confidentiality Impact
  • HIGH
  • Availability Impact
  • HIGH
  • Base Score
  • 8.4
  • Base Severity
  • HIGH
  • Exploitability Score
  • 1.7
  • Impact Score
  • 6
References
Reference URL Reference Tags
https://www.tenable.com/security/research/tra-2021-44 Exploit Third Party Advisory
History
Created Old Value New Value Data Type Notes
2022-05-10 06:37:40 Added to TrackCVE
2022-12-06 05:20:53 2021-12-30T22:15Z 2021-12-30T22:15:08 CVE Published Date updated
2022-12-06 05:20:53 2022-01-12T19:52:28 CVE Modified Date updated
2022-12-06 05:20:53 Analyzed Vulnerability Status updated