Advisory Details

April 29th, 2021

Synology DiskStation Manager Netatalk dsi_doff Heap-based Buffer Overflow Remote Code Execution Vulnerability

ZDI-21-492
ZDI-CAN-12326

CVE ID CVE-2021-31439
CVSS SCORE 8.8, (AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
AFFECTED VENDORS Synology
AFFECTED PRODUCTS DiskStation Manager
VULNERABILITY DETAILS

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Synology DiskStation DS418play. Authentication is not required to exploit this vulnerablity.

The specific flaw exists within the processing of DSI structures in Netatalk. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process.

ADDITIONAL DETAILS Synology has issued an update to correct this vulnerability. More details can be found at:
https://www.synology.com/zh-hk/security/advisory/Synology_SA_20_26
DISCLOSURE TIMELINE
  • 2020-11-07 - Vulnerability reported to vendor
  • 2021-04-29 - Coordinated public release of advisory
  • 2021-05-24 - Advisory Updated
CREDIT Angelboy(@scwuaptx) from DEVCORE Security Team
BACK TO ADVISORIES