NewStart CGSL CORE 5.05 / MAIN 5.05 : tigervnc Multiple Vulnerabilities (NS-SA-2021-0157)

high Nessus Plugin ID 154526

Synopsis

The remote NewStart CGSL host is affected by multiple vulnerabilities.

Description

The remote NewStart CGSL host, running version CORE 5.05 / MAIN 5.05, has tigervnc packages installed that are affected by multiple vulnerabilities:

- TigerVNC version prior to 1.10.1 is vulnerable to stack use-after-return, which occurs due to incorrect usage of stack memory in ZRLEDecoder. If decoding routine would throw an exception, ZRLEDecoder may try to access stack variable, which has been already freed during the process of stack unwinding. Exploitation of this vulnerability could potentially result into remote code execution. This attack appear to be exploitable via network connectivity. (CVE-2019-15691)

- TigerVNC version prior to 1.10.1 is vulnerable to heap buffer overflow. Vulnerability could be triggered from CopyRectDecoder due to incorrect value checks. Exploitation of this vulnerability could potentially result into remote code execution. This attack appear to be exploitable via network connectivity.
(CVE-2019-15692)

- TigerVNC version prior to 1.10.1 is vulnerable to heap buffer overflow, which occurs in TightDecoder::FilterGradient. Exploitation of this vulnerability could potentially result into remote code execution. This attack appear to be exploitable via network connectivity. (CVE-2019-15693)

- TigerVNC version prior to 1.10.1 is vulnerable to heap buffer overflow, which could be triggered from DecodeManager::decodeRect. Vulnerability occurs due to the signdness error in processing MemOutStream.
Exploitation of this vulnerability could potentially result into remote code execution. This attack appear to be exploitable via network connectivity. (CVE-2019-15694)

- TigerVNC version prior to 1.10.1 is vulnerable to stack buffer overflow, which could be triggered from CMsgReader::readSetCursor. This vulnerability occurs due to insufficient sanitization of PixelFormat.
Since remote attacker can choose offset from start of the buffer to start writing his values, exploitation of this vulnerability could potentially result into remote code execution. This attack appear to be exploitable via network connectivity. (CVE-2019-15695)

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

Solution

Upgrade the vulnerable CGSL tigervnc packages. Note that updated packages may not be available yet. Please contact ZTE for more information.

See Also

http://security.gd-linux.com/notice/NS-SA-2021-0157

http://security.gd-linux.com/info/CVE-2019-15691

http://security.gd-linux.com/info/CVE-2019-15692

http://security.gd-linux.com/info/CVE-2019-15693

http://security.gd-linux.com/info/CVE-2019-15694

http://security.gd-linux.com/info/CVE-2019-15695

Plugin Details

Severity: High

ID: 154526

File Name: newstart_cgsl_NS-SA-2021-0157_tigervnc.nasl

Version: 1.3

Type: local

Published: 10/27/2021

Updated: 11/27/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.1

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

CVSS Score Source: CVE-2019-15695

CVSS v3

Risk Factor: High

Base Score: 7.2

Temporal Score: 6.5

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

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

Vulnerability Information

CPE: p-cpe:/a:zte:cgsl_main:tigervnc-license, p-cpe:/a:zte:cgsl_main:tigervnc-server, p-cpe:/a:zte:cgsl_core:tigervnc, p-cpe:/a:zte:cgsl_core:tigervnc-icons, p-cpe:/a:zte:cgsl_core:tigervnc-license, p-cpe:/a:zte:cgsl_core:tigervnc-server, p-cpe:/a:zte:cgsl_core:tigervnc-server-applet, p-cpe:/a:zte:cgsl_core:tigervnc-server-minimal, p-cpe:/a:zte:cgsl_core:tigervnc-server-module, p-cpe:/a:zte:cgsl_main:tigervnc, p-cpe:/a:zte:cgsl_main:tigervnc-icons, p-cpe:/a:zte:cgsl_main:tigervnc-server-applet, p-cpe:/a:zte:cgsl_main:tigervnc-server-minimal, p-cpe:/a:zte:cgsl_main:tigervnc-server-module, cpe:/o:zte:cgsl_core:5, cpe:/o:zte:cgsl_main:5

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/ZTE-CGSL/release, Host/ZTE-CGSL/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/24/2021

Vulnerability Publication Date: 12/26/2019

Reference Information

CVE: CVE-2019-15691, CVE-2019-15692, CVE-2019-15693, CVE-2019-15694, CVE-2019-15695