inferwire
/
Cybersecurity·3 min read

Critical RCE Flaw in Synology DSM and BeeStation OS

A critical remote code execution vulnerability (CVE-2024-10441) in Synology DiskStation Manager and BeeStation OS allows remote attackers to execute arbitrary code with a CVSS score of 9.8.

TL;DR

  • A critical vulnerability (CVE-2024-10441) allows remote attackers to execute arbitrary code on Synology DSM and BeeStation OS [^1].
  • Rated 9.8 CVSS, the flaw affects multiple software versions and requires immediate update [^2].

Background

Network-attached storage (NAS) devices, like those running Synology DiskStation Manager (DSM) or BeeStation OS (BSM), serve as central hubs for data storage, backup, and sharing. These systems often handle sensitive information and are exposed to networks, making their security critical. Improper encoding or escaping of output is a common vulnerability class (CWE-116) where systems fail to correctly sanitize data, potentially allowing malicious input to be interpreted as executable code.

What happened

Synology has addressed a critical remote code execution vulnerability, CVE-2024-10441, affecting its DiskStation Manager (DSM) and BeeStation OS (BSM) products [^1], [^2], [^3]. The flaw, categorized as improper encoding or escaping of output, resides within the system plugin daemon [^1], [^2], [^3]. This vulnerability carries a CVSS 3.1 base score of 9.8, indicating its critical severity [^1], [^2], [^3].

Remote attackers can exploit this weakness to execute arbitrary code on affected devices via unspecified vectors [^1], [^2], [^3]. The vulnerability was reported as part of Pwn2Own 2024 [^2], [^3], with acknowledgements to researchers Pumpkin Chang and Orange Tsai from DEVCORE Research Team, Ryan Emmons, and Team Smoking Barrels [^2], [^3]. The issue has been resolved, but no mitigation is available other than upgrading [^2], [^3].

The vulnerability affects Synology BeeStation OS (BSM) before version 1.1-65374 [^1], [^3]. For Synology DiskStation Manager (DSM), affected versions include those before 7.2-64570-4, 7.2.1-69057-6, and 7.2.2-72806-1 [^1], [^2], [^3]. Older DSM versions 7.1 (before 7.1.1-42962-7) and 6.2 (before 6.2.4-25556-8) are also impacted [^2]. Users are advised to upgrade to the specified fixed releases or above to secure their devices [^2], [^3].

Why it matters

A remote code execution (RCE) vulnerability with a CVSS score of 9.8 is among the most severe types of security flaws, particularly for network-attached storage devices. These devices often contain an organization's or individual's most sensitive data, including backups, personal files, and critical business documents. An attacker exploiting such a vulnerability gains full control over the device, allowing them to steal, modify, or delete data, install malware, or use the compromised device as a pivot point to attack other systems on the network [^1], [^2], [^3].

The fact that this vulnerability was disclosed through a competition like Pwn2Own underscores its significance and the attention it received from security researchers [^2], [^3]. The lack of a direct mitigation highlights the urgency for users to apply the available software updates. Given the widespread use of Synology products, this RCE could have far-reaching implications if not promptly addressed by users.

Practical example

Say Maya manages a small business and uses a Synology DiskStation Manager (DSM) device for file storage and backups. Her device runs an older DSM 7.2 version, specifically 7.2-64570-3, which is vulnerable to CVE-2024-10441 [^2].

An attacker scans for vulnerable Synology devices exposed to the internet. They identify Maya's device and, without needing any credentials, exploit the improper encoding vulnerability in the system plugin daemon [^1], [^2]. The attacker sends a specially crafted request that the DSM device's daemon interprets as executable code. This grants the attacker remote access to the DiskStation, allowing them to execute arbitrary commands [^1].

Once inside, the attacker could encrypt all of Maya's business files for a ransomware demand, exfiltrate sensitive customer data, or install a backdoor to maintain persistent access. Maya would only discover the compromise when her files become inaccessible or her network shows unusual activity. To fix this, she would need to upgrade her DSM to version 7.2-64570-4 or later [^2], patching the critical flaw before further damage occurs.

Sources

  1. [1]NVD — CVE-2024-10441
  2. [2]synology.com — Synology_SA_24_20
  3. [3]synology.com — Synology_SA_24_23