Path Traversal in D-Link Dap-2020

CVE-2021-34860

This vulnerability allows network-adjacent attackers to disclose sensitive information on affected installations of D-Link DAP-2020 1.01rc001 routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the handling of the getpage parameter provided to the webproc endpoint. The issue results from the lack of proper validation of a user-supplied path prior to using it in file operations. An attacker can leverage this vulnerability to disclose information in the context of root. Was ZDI-CAN-12103.

Vulnerability class: Path Traversal (Directory Traversal)

EPSS: 0.015 (71.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-34860?
CVE-2021-34860 is a medium-severity vulnerability in D-Link Dap-2020, classified under Path Traversal. CVSS score: 6.5/10. Published 2021-10-25.
How severe is CVE-2021-34860?
Medium severity. CVSS v3 base score is 6.5 out of 10.
Is CVE-2021-34860 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.