Advisory Details

March 22nd, 2021

(Pwn2Own) Synology DiskStation Manager iscsi_snapshot_comm_core Use-After-Free Remote Code Execution Vulnerability

ZDI-21-340
ZDI-CAN-13476

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

This vulnerability allows local attackers to execute arbitrary code on affected installations of Synology DS418play. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the iscsi_snapshot_comm_core service. The issue results from the lack of proper locking when performing operations on an object, which can cause a pointer to be reused after it has been freed. An attacker can leverage this in conjunction with other vulnerabilities to escalate privileges and 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
  • 2021-03-17 - Vulnerability reported to vendor
  • 2021-03-22 - Coordinated public release of advisory
  • 2021-05-24 - Advisory Updated
CREDIT Anonymous
BACK TO ADVISORIES