Advisory Details

August 18th, 2021

D-Link DAP-2020 webproc getpage Directory Traversal Information Disclosure Vulnerability

ZDI-21-976
ZDI-CAN-12103

CVE ID CVE-2021-34860
CVSS SCORE 6.5, AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
AFFECTED VENDORS D-Link
AFFECTED PRODUCTS DAP-2020
VULNERABILITY DETAILS

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.

ADDITIONAL DETAILS D-Link has issued an update to correct this vulnerability. More details can be found at:
https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10201
DISCLOSURE TIMELINE
  • 2021-03-12 - Vulnerability reported to vendor
  • 2021-08-18 - Coordinated public release of advisory
CREDIT chung96vn of Vietnam National Cyber Security Center
BACK TO ADVISORIES