PoC Watch
Synology DiskStation Manager remote code execution
Exploited in the wildCritical 9.8
Improper output encoding in DSM allows remote code execution. It was patched in 2024 and is now being used in ransomware attacks on NAS devices, which makes it a two-year-old bug taking out the thing people use for backups. CISA added it to KEV on November 18 and lists ransomware use as known. See Synology's advisory for fixed versions.
Mitigation by layer
Patch
- Update DSM to the current release for your model (Control Panel > Update & Restore) and enable automatic installation of important updates.
Reduce exposure
- Remove port forwards to the NAS and do not expose the DSM login to the internet. Reach it over a VPN instead.
Harden access
- Disable the default admin account, enforce two-factor authentication for administrators, and turn on auto-block for repeated failed logins.
Detect
- Review Log Center for logins from unfamiliar addresses, new user accounts, and scheduled tasks you did not create.
Contain and recover
- A NAS is often the backup. Keep a second copy offline or with immutable snapshots, so ransomware on the NAS does not take the only backup with it.