QNAP QTS / QuTS hero Buffer Overflow Vulnerabilities in Samba (QSA-23-02)

medium Nessus Plugin ID 174225

Synopsis

The remote device is missing a vendor-supplied security patch.

Description

The version of QNAP QTS / QuTS hero installed on the remote host is affected by multiple vulnerabilities as referenced in the QSA-23-02 advisory.

- A heap-based buffer overflow vulnerability was found in Samba within the GSSAPI unwrap_des() and unwrap_des3() routines of Heimdal. The DES and Triple-DES decryption routines in the Heimdal GSSAPI library allow a length-limited write buffer overflow on malloc() allocated memory when presented with a maliciously small packet. This flaw allows a remote user to send specially crafted malicious data to the application, possibly resulting in a denial of service (DoS) attack. (CVE-2022-3437)

- A symlink following vulnerability was found in Samba, where a user can create a symbolic link that will make 'smbd' escape the configured share path. This flaw allows a remote user with access to the exported part of the file system under a share via SMB1 unix extensions or NFS to create symlinks to files outside the 'smbd' configured share path and gain access to another restricted server's filesystem.
(CVE-2022-3592)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Apply the solution referenced in the QSA-23-02 advisory

See Also

https://www.qnap.com/en/security-advisory/QSA-23-02

Plugin Details

Severity: Medium

ID: 174225

File Name: qnap_qts_quts_hero_QSA-23-02.nasl

Version: 1.5

Type: combined

Family: Misc.

Published: 4/13/2023

Updated: 11/7/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

CVSS Score Source: CVE-2022-3592

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

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

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

Vulnerability Information

CPE: cpe:/o:qnap:qts, cpe:/a:qnap:qts, cpe:/o:qnap:quts_hero

Exploit Ease: No known exploits are available

Patch Publication Date: 3/30/2023

Vulnerability Publication Date: 10/25/2022

Reference Information

CVE: CVE-2022-3437, CVE-2022-3592