TROYANOSYVIRUS
Back to CVEs

CVE-2021-20134

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.

CVE Details

CVSS v3.1 Score8.4
SeverityHIGH
CVSS VectorCVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Attack VectorADJACENT_NETWORK
ComplexityLOW
Privileges RequiredHIGH
User InteractionNONE
Published12/30/2021
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0

Affected Products

dlink:dir-2640-usdlink:dir-2640-us_firmware

Weaknesses (CWE)

CWE-22

References

IOC Correlations

No correlations recorded

This product uses data from the NVD API but is not endorsed or certified by the NVD.