CVE-2021-34860: D-Link DAP-2020 webproc getpage Directory Traversal Information Disclosure Vulnerability
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.
Other sources
This vulnerability allows network-adjacent attackers to disclose sensitive information on affected installations of D-Link DAP-2020 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.
— ZDI
Affected Software
Remediation
Event History
Frequently Asked Questions
What is CVE-2021-34860 vulnerability?
CVE-2021-34860 is a vulnerability in D-Link DAP-2020 routers that allows network-adjacent attackers to disclose sensitive information without authentication.
How does the D-Link DAP-2020 webproc getpage Directory Traversal vulnerability work?
The vulnerability is triggered by the handling of the 'getpage' parameter, allowing attackers to perform directory traversal and access sensitive information.
Which D-Link DAP-2020 router versions are affected by CVE-2021-34860?
The vulnerability affects D-Link DAP-2020 routers with firmware version 1.01rc001.
How severe is the CVE-2021-34860 vulnerability?
The severity of CVE-2021-34860 is medium with a CVSS score of 6.5.
What is the Common Weakness Enumeration (CWE) ID associated with CVE-2021-34860?
The Common Weakness Enumeration (CWE) ID associated with CVE-2021-34860 is CWE-22.