Advisory Details

May 24th, 2023

D-Link D-View uploadFile Directory Traversal Arbitrary File Creation Vulnerability

ZDI-23-717
ZDI-CAN-19527

CVE ID CVE-2023-32166
CVSS SCORE 8.1, AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
AFFECTED VENDORS D-Link
AFFECTED PRODUCTS D-View
VULNERABILITY DETAILS

This vulnerability allows remote attackers to create arbitrary files on affected installations of D-Link D-View. Authentication is required to exploit this vulnerability.

The specific flaw exists within the uploadFile function. 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 create files in the context of SYSTEM.

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=SAP10332
DISCLOSURE TIMELINE
  • 2022-12-23 - Vulnerability reported to vendor
  • 2023-05-24 - Coordinated public release of advisory
CREDIT Andrea Micalizzi aka rgod
BACK TO ADVISORIES