NewStart CGSL CORE 5.05 / MAIN 5.05 : freerdp Multiple Vulnerabilities (NS-SA-2023-0025)

high Nessus Plugin ID 174063

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 freerdp packages installed that are affected by multiple vulnerabilities:

- FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license.
All FreeRDP clients prior to version 2.4.1 using gateway connections (`/gt:rpc`) fail to validate input data. A malicious gateway might allow client memory to be written out of bounds. This issue has been resolved in version 2.4.1. If you are unable to update then use `/gt:http` rather than /gt:rdp connections if possible or use a direct connection without a gateway. (CVE-2021-41159)

- FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license.
In affected versions a malicious server might trigger out of bound writes in a connected client.
Connections using GDI or SurfaceCommands to send graphics updates to the client might send `0` width/height or out of bound rectangles to trigger out of bound writes. With `0` width or heigth the memory allocation will be `0` but the missing bounds checks allow writing to the pointer at this (not allocated) region. This issue has been patched in FreeRDP 2.4.1. (CVE-2021-41160)

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

Solution

Upgrade the vulnerable CGSL freerdp 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-2023-0025

http://security.gd-linux.com/info/CVE-2021-41159

http://security.gd-linux.com/info/CVE-2021-41160

Plugin Details

Severity: High

ID: 174063

File Name: newstart_cgsl_NS-SA-2023-0025_freerdp.nasl

Version: 1.0

Type: local

Published: 4/11/2023

Updated: 4/11/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

CVSS Score Source: CVE-2021-41160

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

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

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

Vulnerability Information

CPE: p-cpe:/a:zte:cgsl_core:libwinpr-devel, p-cpe:/a:zte:cgsl_main:freerdp-libs, p-cpe:/a:zte:cgsl_main:libwinpr-devel, p-cpe:/a:zte:cgsl_main:freerdp, p-cpe:/a:zte:cgsl_main:freerdp-debuginfo, cpe:/o:zte:cgsl_main:5, p-cpe:/a:zte:cgsl_main:libwinpr, p-cpe:/a:zte:cgsl_core:freerdp-devel, cpe:/o:zte:cgsl_core:5, p-cpe:/a:zte:cgsl_main:freerdp-devel, p-cpe:/a:zte:cgsl_core:freerdp-libs, p-cpe:/a:zte:cgsl_core:libwinpr, p-cpe:/a:zte:cgsl_core:freerdp, p-cpe:/a:zte:cgsl_core:freerdp-debuginfo

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

Exploit Ease: No known exploits are available

Patch Publication Date: 4/11/2023

Vulnerability Publication Date: 10/21/2021

Reference Information

CVE: CVE-2021-41159, CVE-2021-41160