Synology DiskStation Manager Out-of-bounds Write (CVE-2021-31439)

high Tenable OT Security Plugin ID 502422

Synopsis

The remote OT asset is affected by a vulnerability.

Description

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Synology DiskStation Manager. 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. Was ZDI-CAN-12326.

This plugin only works with Tenable.ot.
Please visit https://www.tenable.com/products/tenable-ot for more information.

Solution

Refer to the vendor advisory.

See Also

https://lists.debian.org/debian-lts-announce/2023/05/msg00018.html

https://security.gentoo.org/glsa/202311-02

https://www.debian.org/security/2023/dsa-5503

https://www.synology.com/zh-hk/security/advisory/Synology_SA_20_26

https://www.zerodayinitiative.com/advisories/ZDI-21-492/

Plugin Details

Severity: High

ID: 502422

Version: 1.2

Type: remote

Family: Tenable.ot

Published: 10/1/2024

Updated: 10/2/2024

Supported Sensors: Tenable OT Security

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 5.8

Temporal Score: 4.3

Vector: CVSS2#AV:A/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2021-31439

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:synology:diskstation_manager

Required KB Items: Tenable.ot/Synology

Exploit Ease: No known exploits are available

Patch Publication Date: 5/21/2021

Vulnerability Publication Date: 5/21/2021

Reference Information

CVE: CVE-2021-31439

CWE: 122, 787