The remote Redhat Enterprise Linux 6 host has one or more packages installed that are affected by multiple vulnerabilities that have been acknowledged by the vendor but will not be patched.
freerdp: Out-of-bounds write in nsc_rle_decode() function (CVE-2018-8788)
freerdp: Integer Overflow leading to Heap Overflow in freerdp_bitmap_planar_context_reset (CVE-2024-22211)
An exploitable code execution vulnerability exists in the authentication functionality of FreeRDP 2.0.0-beta1+android11. A specially crafted server response can cause an out-of-bounds write resulting in an exploitable condition. An attacker can compromise the server or use a man in the middle attack to trigger this vulnerability. (CVE-2017-2834)
An exploitable code execution vulnerability exists in the RDP receive functionality of FreeRDP 2.0.0-beta1+android11. A specially crafted server response can cause an out-of-bounds write resulting in an exploitable condition. An attacker can compromise the server or use a man in the middle to trigger this vulnerability. (CVE-2017-2835)
An exploitable denial of service vulnerability exists within the reading of proprietary server certificates in FreeRDP 2.0.0-beta1+android11. A specially crafted challenge packet can cause the program termination leading to a denial of service condition. An attacker can compromise the server or use man in the middle to trigger this vulnerability. (CVE-2017-2836)
An exploitable denial of service vulnerability exists within the handling of security data in FreeRDP 2.0.0-beta1+android11. A specially crafted challenge packet can cause the program termination leading to a denial of service condition. An attacker can compromise the server or use man in the middle to trigger this vulnerability. (CVE-2017-2837)
An exploitable denial of service vulnerability exists within the handling of challenge packets in FreeRDP 2.0.0-beta1+android11. A specially crafted challenge packet can cause the program termination leading to a denial of service condition. An attacker can compromise the server or use man in the middle to trigger this vulnerability. (CVE-2017-2838, CVE-2017-2839)
FreeRDP FreeRDP 2.0.0-rc3 released version before commit 205c612820dac644d665b5bb1cdf437dc5ca01e3 contains a Other/Unknown vulnerability in channels/drdynvc/client/drdynvc_main.c, drdynvc_process_capability_request that can result in The RDP server can read the client’s memory… This attack appear to be exploitable via RDPClient must connect the rdp server with echo option. This vulnerability appears to have been fixed in after commit 205c612820dac644d665b5bb1cdf437dc5ca01e3.
(CVE-2018-1000852)
FreeRDP prior to version 2.0.0-rc4 contains an Integer Truncation that leads to a Heap-Based Buffer Overflow in function update_read_bitmap_update() and results in a memory corruption and probably even a remote code execution. (CVE-2018-8786)
FreeRDP prior to version 2.0.0-rc4 contains an Integer Overflow that leads to a Heap-Based Buffer Overflow in function gdi_Bitmap_Decompress() and results in a memory corruption and probably even a remote code execution. (CVE-2018-8787)
In FreeRDP less than or equal to 2.0.0, a possible resource exhaustion vulnerability can be performed.
Malicious clients could trigger out of bound reads causing memory allocation with random size. This has been fixed in 2.1.0. (CVE-2020-11018)
In FreeRDP less than or equal to 2.0.0, when running with logger set to WLOG_TRACE, a possible crash of application could occur due to a read of an invalid array index. Data could be printed as string to local terminal. This has been fixed in 2.1.0. (CVE-2020-11019)
In FreeRDP less than or equal to 2.0.0, an Integer Overflow to Buffer Overflow exists. When using /video redirection, a manipulated server can instruct the client to allocate a buffer with a smaller size than requested due to an integer overflow in size calculation. With later messages, the server can manipulate the client to write data out of bound to the previously allocated buffer. This has been patched in 2.1.0.
(CVE-2020-11038)
In FreeRDP less than or equal to 2.0.0, when using a manipulated server with USB redirection enabled (nearly) arbitrary memory can be read and written due to integer overflows in length checks. This has been patched in 2.1.0. (CVE-2020-11039)
In FreeRDP less than or equal to 2.0.0, there is an out-of-bound data read from memory in clear_decompress_subcode_rlex, visualized on screen as color. This has been patched in 2.1.0.
(CVE-2020-11040)
In FreeRDP less than or equal to 2.0.0, an outside controlled array index is used unchecked for data used as configuration for sound backend (alsa, oss, pulse, …). The most likely outcome is a crash of the client instance followed by no or distorted sound or a session disconnect. If a user cannot upgrade to the patched version, a workaround is to disable sound for the session. This has been patched in 2.1.0.
(CVE-2020-11041)
In FreeRDP greater than 1.1 and before 2.0.0, there is an out-of-bounds read in update_read_icon_info. It allows reading a attacker-defined amount of client memory (32bit unsigned -> 4GB) to an intermediate buffer. This can be used to crash the client or store information for later retrieval. This has been patched in 2.0.0. (CVE-2020-11042)
In FreeRDP less than or equal to 2.0.0, there is an out-of-bounds read in rfx_process_message_tileset.
Invalid data fed to RFX decoder results in garbage on screen (as colors). This has been patched in 2.1.0.
(CVE-2020-11043)
In FreeRDP greater than 1.2 and before 2.0.0, a double free in update_read_cache_bitmap_v3_order crashes the client application if corrupted data from a manipulated server is parsed. This has been patched in 2.0.0. (CVE-2020-11044)
In FreeRDP after 1.0 and before 2.0.0, there is an out-of-bound read in in update_read_bitmap_data that allows client memory to be read to an image buffer. The result displayed on screen as colour.
(CVE-2020-11045)
In FreeRDP after 1.0 and before 2.0.0, there is a stream out-of-bounds seek in update_read_synchronize that could lead to a later out-of-bounds read. (CVE-2020-11046)
In FreeRDP after 1.1 and before 2.0.0, there is an out-of-bounds read in autodetect_recv_bandwidth_measure_results. A malicious server can extract up to 8 bytes of client memory with a manipulated message by providing a short input and reading the measurement result data. This has been patched in 2.0.0. (CVE-2020-11047)
In FreeRDP after 1.0 and before 2.0.0, there is an out-of-bounds read. It only allows to abort a session.
No data extraction is possible. This has been fixed in 2.0.0. (CVE-2020-11048)
In FreeRDP after 1.1 and before 2.0.0, there is an out-of-bound read of client memory that is then passed on to the protocol parser. This has been patched in 2.0.0. (CVE-2020-11049)
In FreeRDP after 1.1 and before 2.0.0, a stream out-of-bounds seek in rdp_read_font_capability_set could lead to a later out-of-bounds read. As a result, a manipulated client or server might force a disconnect due to an invalid data read. This has been fixed in 2.0.0. (CVE-2020-11058)
In FreeRDP less than or equal to 2.0.0, there is an out-of-bound read in ntlm_read_ntlm_v2_client_challenge that reads up to 28 bytes out-of-bound to an internal structure. This has been fixed in 2.1.0. (CVE-2020-11086)
In FreeRDP less than or equal to 2.0.0, there is an out-of-bound read in ntlm_read_AuthenticateMessage.
This has been fixed in 2.1.0. (CVE-2020-11087)
In FreeRDP less than or equal to 2.0.0, there is an out-of-bound read in ntlm_read_NegotiateMessage. This has been fixed in 2.1.0. (CVE-2020-11088)
In FreeRDP before 2.1.0, there is an out-of-bound read in irp functions (parallel_process_irp_create, serial_process_irp_create, drive_process_irp_write, printer_process_irp_write, rdpei_recv_pdu, serial_process_irp_write). This has been fixed in 2.1.0. (CVE-2020-11089)
In FreeRDP before version 2.1.2, an out of bound reads occurs resulting in accessing a memory location that is outside of the boundaries of the static array PRIMARY_DRAWING_ORDER_FIELD_BYTES. This is fixed in version 2.1.2. (CVE-2020-11095)
In FreeRDP before version 2.1.2, there is a global OOB read in update_read_cache_bitmap_v3_order. As a workaround, one can disable bitmap cache with -bitmap-cache (default). This is fixed in version 2.1.2.
(CVE-2020-11096)
In FreeRDP before version 2.1.2, there is an out-of-bound read in glyph_cache_put. This affects all FreeRDP clients with +glyph-cache
option enabled This is fixed in version 2.1.2. (CVE-2020-11098)
In FreeRDP before version 2.1.2, there is an out of bounds read in license_read_new_or_upgrade_license_packet. A manipulated license packet can lead to out of bound reads to an internal buffer. This is fixed in version 2.1.2. (CVE-2020-11099)
libfreerdp/codec/planar.c in FreeRDP version > 1.0 through 2.0.0-rc4 has an Out-of-bounds Write.
(CVE-2020-11521)
libfreerdp/gdi/gdi.c in FreeRDP > 1.0 through 2.0.0-rc4 has an Out-of-bounds Read. (CVE-2020-11522)
libfreerdp/gdi/region.c in FreeRDP versions > 1.0 through 2.0.0-rc4 has an Integer Overflow.
(CVE-2020-11523)
libfreerdp/codec/interleaved.c in FreeRDP versions > 1.0 through 2.0.0-rc4 has an Out-of-bounds Write.
(CVE-2020-11524)
libfreerdp/cache/bitmap.c in FreeRDP versions > 1.0 through 2.0.0-rc4 has an Out of bounds read.
(CVE-2020-11525)
libfreerdp/core/update.c in FreeRDP versions > 1.1 through 2.0.0-rc4 has an Out-of-bounds Read.
(CVE-2020-11526)
An issue was discovered in FreeRDP before 2.1.1. An out-of-bounds (OOB) read vulnerability has been detected in ntlm_read_ChallengeMessage in winpr/libwinpr/sspi/NTLM/ntlm_message.c. (CVE-2020-13396)
An issue was discovered in FreeRDP before 2.1.1. An out-of-bounds (OOB) read vulnerability has been detected in security_fips_decrypt in libfreerdp/core/security.c due to an uninitialized value.
(CVE-2020-13397)
In FreeRDP before version 2.1.2, there is an out of bounds read in RLEDECOMPRESS. All FreeRDP based clients with sessions with color depth < 32 are affected. This is fixed in version 2.1.2. (CVE-2020-4033)
FreeRDP is a free remote desktop protocol library and clients. FreeRDP based clients on unix systems using /parallel
command line switch might read uninitialized data and send it to the server the client is currently connected to. FreeRDP based server implementations are not affected. Please upgrade to 2.8.1 where this issue is patched. If unable to upgrade, do not use parallel port redirection (/parallel
command line switch) as a workaround. (CVE-2022-39282)
FreeRDP is a free remote desktop protocol library and clients. All FreeRDP based clients when using the /video
command line switch might read uninitialized data, decode it as audio/video and display the result. FreeRDP based server implementations are not affected. This issue has been patched in version 2.8.1. If you cannot upgrade do not use the /video
switch. (CVE-2022-39283)
FreeRDP is a free remote desktop protocol library and clients. In affected versions there is an out of bound read in ZGFX decoder component of FreeRDP. A malicious server can trick a FreeRDP based client to read out of bound data and try to decode it likely resulting in a crash. This issue has been addressed in the 2.9.0 release. Users are advised to upgrade. (CVE-2022-39316)
FreeRDP is a free remote desktop protocol library and clients. Affected versions of FreeRDP are missing a range check for input offset index in ZGFX decoder. A malicious server can trick a FreeRDP based client to read out of bound data and try to decode it. This issue has been addressed in version 2.9.0. There are no known workarounds for this issue. (CVE-2022-39317)
FreeRDP is a free remote desktop protocol library and clients. Affected versions of FreeRDP are missing input validation in urbdrc
channel. A malicious server can trick a FreeRDP based client to crash with division by zero. This issue has been addressed in version 2.9.0. All users are advised to upgrade. Users unable to upgrade should not use the /usb
redirection switch. (CVE-2022-39318)
FreeRDP is a free remote desktop protocol library and clients. Affected versions of FreeRDP are missing input length validation in the urbdrc
channel. A malicious server can trick a FreeRDP based client to read out of bound data and send it back to the server. This issue has been addressed in version 2.9.0 and all users are advised to upgrade. Users unable to upgrade should not use the /usb
redirection switch.
(CVE-2022-39319)
FreeRDP is a free remote desktop protocol library and clients. Affected versions of FreeRDP may attempt integer addition on too narrow types leads to allocation of a buffer too small holding the data written. A malicious server can trick a FreeRDP based client to read out of bound data and send it back to the server. This issue has been addressed in version 2.9.0 and all users are advised to upgrade. Users unable to upgrade should not use the /usb
redirection switch. (CVE-2022-39320)
FreeRDP is a free remote desktop protocol library and clients. Affected versions of FreeRDP are missing path canonicalization and base path check for drive
channel. A malicious server can trick a FreeRDP based client to read files outside the shared directory. This issue has been addressed in version 2.9.0 and all users are advised to upgrade. Users unable to upgrade should not use the /drive
, /drives
or +home-drive
redirection switch. (CVE-2022-39347)
FreeRDP is a free remote desktop protocol library and clients. Affected versions of FreeRDP are missing input length validation in drive
channel. A malicious server can trick a FreeRDP based client to read out of bound data and send it back to the server. This issue has been addressed in version 2.9.0 and all users are advised to upgrade. Users unable to upgrade should not use the drive redirection channel - command line options /drive
, +drives
or +home-drive
. (CVE-2022-41877)
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license.
This issue affects Clients only. Integer underflow leading to DOS (e.g. abort due to WINPR_ASSERT
with default compilation flags). When an insufficient blockLen is provided, and proper length validation is not performed, an Integer Underflow occurs, leading to a Denial of Service (DOS) vulnerability. This issue has been addressed in versions 2.11.0 and 3.0.0-beta3. Users are advised to upgrade. There are no known workarounds for this vulnerability. (CVE-2023-39350)
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license.
Affected versions of FreeRDP are subject to a Null Pointer Dereference leading a crash in the RemoteFX (rfx) handling. Inside the rfx_process_message_tileset
function, the program allocates tiles using rfx_allocate_tiles
for the number of numTiles. If the initialization process of tiles is not completed for various reasons, tiles will have a NULL pointer. Which may be accessed in further processing and would cause a program crash. This issue has been addressed in versions 2.11.0 and 3.0.0-beta3. Users are advised to upgrade. There are no known workarounds for this vulnerability. (CVE-2023-39351)
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license.
Affected versions are subject to an invalid offset validation leading to Out Of Bound Write. This can be triggered when the values rect->left
and rect->top
are exactly equal to surface->width
and surface->height
. eg. rect->left
== surface->width
&& rect->top
== surface->height
. In practice this should cause a crash. This issue has been addressed in versions 2.11.0 and 3.0.0-beta3. Users are advised to upgrade. There are no known workarounds for this vulnerability. (CVE-2023-39352)
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license.
Affected versions are subject to a missing offset validation leading to Out Of Bound Read. In the libfreerdp/codec/rfx.c
file there is no offset validation in tile->quantIdxY
, tile->quantIdxCb
, and tile->quantIdxCr
. As a result crafted input can lead to an out of bounds read access which in turn will cause a crash. This issue has been addressed in versions 2.11.0 and 3.0.0-beta3. Users are advised to upgrade. There are no known workarounds for this vulnerability. (CVE-2023-39353)
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license.
Affected versions are subject to an Out-Of-Bounds Read in the nsc_rle_decompress_data
function. The Out- Of-Bounds Read occurs because it processes context->Planes
without checking if it contains data of sufficient length. Should an attacker be able to leverage this vulnerability they may be able to cause a crash. This issue has been addressed in versions 2.11.0 and 3.0.0-beta3. Users are advised to upgrade.
There are no known workarounds for this vulnerability. (CVE-2023-39354)
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license.
In affected versions a missing offset validation may lead to an Out Of Bound Read in the function gdi_multi_opaque_rect
. In particular there is no code to validate if the value multi_opaque_rect->numRectangles
is less than 45. Looping through multi_opaque_rect->
numRectangles without proper boundary checks can lead to Out-of-Bounds Read errors which will likely lead to a crash.
This issue has been addressed in versions 2.11.0 and 3.0.0-beta3. Users are advised to upgrade. There are no known workarounds for this vulnerability. (CVE-2023-39356)
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license.
Affected versions are subject to an Integer-Underflow leading to Out-Of-Bound Read in the zgfx_decompress_segment
function. In the context of CopyMemory
, it’s possible to read data beyond the transmitted packet range and likely cause a crash. This issue has been addressed in versions 2.11.0 and 3.0.0-beta3. Users are advised to upgrade. There are no known workarounds for this issue. (CVE-2023-40181)
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license.
Affected versions are subject to an IntegerOverflow leading to Out-Of-Bound Write Vulnerability in the gdi_CreateSurface
function. This issue affects FreeRDP based clients only. FreeRDP proxies are not affected as image decoding is not done by a proxy. This issue has been addressed in versions 2.11.0 and 3.0.0-beta3. Users are advised to upgrade. There are no known workarounds for this issue. (CVE-2023-40186)
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license.
Affected versions are subject to an Out-Of-Bounds Read in the general_LumaToYUV444
function. This Out- Of-Bounds Read occurs because processing is done on the in
variable without checking if it contains data of sufficient length. Insufficient data for the in
variable may cause errors or crashes. This issue has been addressed in versions 2.11.0 and 3.0.0-beta3. Users are advised to upgrade. There are no known workarounds for this issue. (CVE-2023-40188)
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license.
Affected versions are subject to an Out-Of-Bounds Write in the clear_decompress_bands_data
function in which there is no offset validation. Abuse of this vulnerability may lead to an out of bounds write. This issue has been addressed in versions 2.11.0 and 3.0.0-beta3. Users are advised to upgrade. there are no known workarounds for this vulnerability. (CVE-2023-40567)
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license.
Affected versions are subject to an Out-Of-Bounds Write in the progressive_decompress
function. This issue is likely down to incorrect calculations of the nXSrc
and nYSrc
variables. This issue has been addressed in versions 2.11.0 and 3.0.0-beta3. Users are advised to upgrade. there are no known workarounds for this vulnerability. (CVE-2023-40569)
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license.
In affected versions there is a Global-Buffer-Overflow in the ncrush_decompress function. Feeding crafted input into this function can trigger the overflow which has only been shown to cause a crash. This issue has been addressed in versions 2.11.0 and 3.0.0-beta3. Users are advised to upgrade. There are no known workarounds for this issue. (CVE-2023-40589)
FreeRDP is a free implementation of the Remote Desktop Protocol. FreeRDP based clients using a version of FreeRDP prior to 3.5.0 or 2.11.6 are vulnerable to integer overflow and out-of-bounds write. Versions 3.5.0 and 2.11.6 patch the issue. As a workaround, do not use /gfx
options (e.g. deactivate with /bpp:32
or /rfx
as it is on by default). (CVE-2024-32039)
FreeRDP is a free implementation of the Remote Desktop Protocol. FreeRDP based clients that use a version of FreeRDP prior to 3.5.0 or 2.11.6 and have connections to servers using the NSC
codec are vulnerable to integer underflow. Versions 3.5.0 and 2.11.6 patch the issue. As a workaround, do not use the NSC codec (e.g. use -nsc
). (CVE-2024-32040)
FreeRDP is a free implementation of the Remote Desktop Protocol. FreeRDP based clients that use a version of FreeRDP prior to 3.5.0 or 2.11.6 are vulnerable to out-of-bounds read. Versions 3.5.0 and 2.11.6 patch the issue. As a workaround, deactivate /gfx
(on by default, set /bpp
or /rfx
options instead.
(CVE-2024-32041)
FreeRDP is a free implementation of the Remote Desktop Protocol. FreeRDP based clients that use a version of FreeRDP prior to 3.5.0 or 2.11.6 are vulnerable to out-of-bounds read. Versions 3.5.0 and 2.11.6 patch the issue. As a workaround, use /gfx
or /rfx
modes (on by default, require server side support).
(CVE-2024-32458)
FreeRDP is a free implementation of the Remote Desktop Protocol. FreeRDP based clients and servers that use a version of FreeRDP prior to 3.5.0 or 2.11.6 are vulnerable to out-of-bounds read. Versions 3.5.0 and 2.11.6 patch the issue. No known workarounds are available. (CVE-2024-32459)
FreeRDP is a free implementation of the Remote Desktop Protocol. FreeRDP based based clients using /bpp:32
legacy GDI
drawing path with a version of FreeRDP prior to 3.5.0 or 2.11.6 are vulnerable to out-of-bounds read. Versions 3.5.0 and 2.11.6 patch the issue. As a workaround, use modern drawing paths (e.g. /rfx
or /gfx
options). The workaround requires server side support. (CVE-2024-32460)
FreeRDP is a free implementation of the Remote Desktop Protocol. FreeRDP based clients prior to version 3.5.1 are vulnerable to out-of-bounds read. Version 3.5.1 contains a patch for the issue. No known workarounds are available. (CVE-2024-32658)
FreeRDP is a free implementation of the Remote Desktop Protocol. FreeRDP based clients prior to version 3.5.1 are vulnerable to out-of-bounds read if ((nWidth == 0) and (nHeight == 0))
. Version 3.5.1 contains a patch for the issue. No known workarounds are available. (CVE-2024-32659)
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.5.1, a malicious server can crash the FreeRDP client by sending invalid huge allocation size. Version 3.5.1 contains a patch for the issue. No known workarounds are available. (CVE-2024-32660)
FreeRDP is a free implementation of the Remote Desktop Protocol. FreeRDP based clients prior to version 3.5.1 are vulnerable to a possible NULL
access and crash. Version 3.5.1 contains a patch for the issue.
No known workarounds are available. (CVE-2024-32661)
FreeRDP is a free implementation of the Remote Desktop Protocol. FreeRDP based clients prior to version 3.5.1 are vulnerable to out-of-bounds read. This occurs when WCHAR
string is read with twice the size it has and converted to UTF-8
, base64
decoded. The string is only used to compare against the redirection server certificate. Version 3.5.1 contains a patch for the issue. No known workarounds are available.
(CVE-2024-32662)
Note that Nessus has not tested for these issues but has instead relied on the package manager’s report that the package is installed.
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
#
# The descriptive text and package checks in this plugin were
# extracted from Red Hat Security Advisory freerdp. The text
# itself is copyright (C) Red Hat, Inc.
##
include('compat.inc');
if (description)
{
script_id(195673);
script_version("1.0");
script_set_attribute(attribute:"plugin_modification_date", value:"2024/05/11");
script_cve_id(
"CVE-2017-2834",
"CVE-2017-2835",
"CVE-2017-2836",
"CVE-2017-2837",
"CVE-2017-2838",
"CVE-2017-2839",
"CVE-2018-8786",
"CVE-2018-8787",
"CVE-2018-8788",
"CVE-2018-1000852",
"CVE-2020-4033",
"CVE-2020-11018",
"CVE-2020-11019",
"CVE-2020-11038",
"CVE-2020-11039",
"CVE-2020-11040",
"CVE-2020-11041",
"CVE-2020-11042",
"CVE-2020-11043",
"CVE-2020-11044",
"CVE-2020-11045",
"CVE-2020-11046",
"CVE-2020-11047",
"CVE-2020-11048",
"CVE-2020-11049",
"CVE-2020-11058",
"CVE-2020-11086",
"CVE-2020-11087",
"CVE-2020-11088",
"CVE-2020-11089",
"CVE-2020-11095",
"CVE-2020-11096",
"CVE-2020-11098",
"CVE-2020-11099",
"CVE-2020-11521",
"CVE-2020-11522",
"CVE-2020-11523",
"CVE-2020-11524",
"CVE-2020-11525",
"CVE-2020-11526",
"CVE-2020-13396",
"CVE-2020-13397",
"CVE-2022-39282",
"CVE-2022-39283",
"CVE-2022-39316",
"CVE-2022-39317",
"CVE-2022-39318",
"CVE-2022-39319",
"CVE-2022-39320",
"CVE-2022-39347",
"CVE-2022-41877",
"CVE-2023-39350",
"CVE-2023-39351",
"CVE-2023-39352",
"CVE-2023-39353",
"CVE-2023-39354",
"CVE-2023-39356",
"CVE-2023-40181",
"CVE-2023-40186",
"CVE-2023-40188",
"CVE-2023-40567",
"CVE-2023-40569",
"CVE-2023-40589",
"CVE-2024-22211",
"CVE-2024-32039",
"CVE-2024-32040",
"CVE-2024-32041",
"CVE-2024-32458",
"CVE-2024-32459",
"CVE-2024-32460",
"CVE-2024-32658",
"CVE-2024-32659",
"CVE-2024-32660",
"CVE-2024-32661",
"CVE-2024-32662"
);
script_name(english:"RHEL 6 : freerdp (Unpatched Vulnerability)");
script_set_attribute(attribute:"synopsis", value:
"The remote Red Hat 6 host is affected by multiple vulnerabilities that will not be patched.");
script_set_attribute(attribute:"description", value:
"The remote Redhat Enterprise Linux 6 host has one or more packages installed that are affected by multiple
vulnerabilities that have been acknowledged by the vendor but will not be patched.
- freerdp: Out-of-bounds write in nsc_rle_decode() function (CVE-2018-8788)
- freerdp: Integer Overflow leading to Heap Overflow in freerdp_bitmap_planar_context_reset (CVE-2024-22211)
- An exploitable code execution vulnerability exists in the authentication functionality of FreeRDP
2.0.0-beta1+android11. A specially crafted server response can cause an out-of-bounds write resulting in
an exploitable condition. An attacker can compromise the server or use a man in the middle attack to
trigger this vulnerability. (CVE-2017-2834)
- An exploitable code execution vulnerability exists in the RDP receive functionality of FreeRDP
2.0.0-beta1+android11. A specially crafted server response can cause an out-of-bounds write resulting in
an exploitable condition. An attacker can compromise the server or use a man in the middle to trigger this
vulnerability. (CVE-2017-2835)
- An exploitable denial of service vulnerability exists within the reading of proprietary server
certificates in FreeRDP 2.0.0-beta1+android11. A specially crafted challenge packet can cause the program
termination leading to a denial of service condition. An attacker can compromise the server or use man in
the middle to trigger this vulnerability. (CVE-2017-2836)
- An exploitable denial of service vulnerability exists within the handling of security data in FreeRDP
2.0.0-beta1+android11. A specially crafted challenge packet can cause the program termination leading to a
denial of service condition. An attacker can compromise the server or use man in the middle to trigger
this vulnerability. (CVE-2017-2837)
- An exploitable denial of service vulnerability exists within the handling of challenge packets in FreeRDP
2.0.0-beta1+android11. A specially crafted challenge packet can cause the program termination leading to a
denial of service condition. An attacker can compromise the server or use man in the middle to trigger
this vulnerability. (CVE-2017-2838, CVE-2017-2839)
- FreeRDP FreeRDP 2.0.0-rc3 released version before commit 205c612820dac644d665b5bb1cdf437dc5ca01e3 contains
a Other/Unknown vulnerability in channels/drdynvc/client/drdynvc_main.c,
drdynvc_process_capability_request that can result in The RDP server can read the client's memory.. This
attack appear to be exploitable via RDPClient must connect the rdp server with echo option. This
vulnerability appears to have been fixed in after commit 205c612820dac644d665b5bb1cdf437dc5ca01e3.
(CVE-2018-1000852)
- FreeRDP prior to version 2.0.0-rc4 contains an Integer Truncation that leads to a Heap-Based Buffer
Overflow in function update_read_bitmap_update() and results in a memory corruption and probably even a
remote code execution. (CVE-2018-8786)
- FreeRDP prior to version 2.0.0-rc4 contains an Integer Overflow that leads to a Heap-Based Buffer Overflow
in function gdi_Bitmap_Decompress() and results in a memory corruption and probably even a remote code
execution. (CVE-2018-8787)
- In FreeRDP less than or equal to 2.0.0, a possible resource exhaustion vulnerability can be performed.
Malicious clients could trigger out of bound reads causing memory allocation with random size. This has
been fixed in 2.1.0. (CVE-2020-11018)
- In FreeRDP less than or equal to 2.0.0, when running with logger set to WLOG_TRACE, a possible crash of
application could occur due to a read of an invalid array index. Data could be printed as string to local
terminal. This has been fixed in 2.1.0. (CVE-2020-11019)
- In FreeRDP less than or equal to 2.0.0, an Integer Overflow to Buffer Overflow exists. When using /video
redirection, a manipulated server can instruct the client to allocate a buffer with a smaller size than
requested due to an integer overflow in size calculation. With later messages, the server can manipulate
the client to write data out of bound to the previously allocated buffer. This has been patched in 2.1.0.
(CVE-2020-11038)
- In FreeRDP less than or equal to 2.0.0, when using a manipulated server with USB redirection enabled
(nearly) arbitrary memory can be read and written due to integer overflows in length checks. This has been
patched in 2.1.0. (CVE-2020-11039)
- In FreeRDP less than or equal to 2.0.0, there is an out-of-bound data read from memory in
clear_decompress_subcode_rlex, visualized on screen as color. This has been patched in 2.1.0.
(CVE-2020-11040)
- In FreeRDP less than or equal to 2.0.0, an outside controlled array index is used unchecked for data used
as configuration for sound backend (alsa, oss, pulse, ...). The most likely outcome is a crash of the
client instance followed by no or distorted sound or a session disconnect. If a user cannot upgrade to the
patched version, a workaround is to disable sound for the session. This has been patched in 2.1.0.
(CVE-2020-11041)
- In FreeRDP greater than 1.1 and before 2.0.0, there is an out-of-bounds read in update_read_icon_info. It
allows reading a attacker-defined amount of client memory (32bit unsigned -> 4GB) to an intermediate
buffer. This can be used to crash the client or store information for later retrieval. This has been
patched in 2.0.0. (CVE-2020-11042)
- In FreeRDP less than or equal to 2.0.0, there is an out-of-bounds read in rfx_process_message_tileset.
Invalid data fed to RFX decoder results in garbage on screen (as colors). This has been patched in 2.1.0.
(CVE-2020-11043)
- In FreeRDP greater than 1.2 and before 2.0.0, a double free in update_read_cache_bitmap_v3_order crashes
the client application if corrupted data from a manipulated server is parsed. This has been patched in
2.0.0. (CVE-2020-11044)
- In FreeRDP after 1.0 and before 2.0.0, there is an out-of-bound read in in update_read_bitmap_data that
allows client memory to be read to an image buffer. The result displayed on screen as colour.
(CVE-2020-11045)
- In FreeRDP after 1.0 and before 2.0.0, there is a stream out-of-bounds seek in update_read_synchronize
that could lead to a later out-of-bounds read. (CVE-2020-11046)
- In FreeRDP after 1.1 and before 2.0.0, there is an out-of-bounds read in
autodetect_recv_bandwidth_measure_results. A malicious server can extract up to 8 bytes of client memory
with a manipulated message by providing a short input and reading the measurement result data. This has
been patched in 2.0.0. (CVE-2020-11047)
- In FreeRDP after 1.0 and before 2.0.0, there is an out-of-bounds read. It only allows to abort a session.
No data extraction is possible. This has been fixed in 2.0.0. (CVE-2020-11048)
- In FreeRDP after 1.1 and before 2.0.0, there is an out-of-bound read of client memory that is then passed
on to the protocol parser. This has been patched in 2.0.0. (CVE-2020-11049)
- In FreeRDP after 1.1 and before 2.0.0, a stream out-of-bounds seek in rdp_read_font_capability_set could
lead to a later out-of-bounds read. As a result, a manipulated client or server might force a disconnect
due to an invalid data read. This has been fixed in 2.0.0. (CVE-2020-11058)
- In FreeRDP less than or equal to 2.0.0, there is an out-of-bound read in
ntlm_read_ntlm_v2_client_challenge that reads up to 28 bytes out-of-bound to an internal structure. This
has been fixed in 2.1.0. (CVE-2020-11086)
- In FreeRDP less than or equal to 2.0.0, there is an out-of-bound read in ntlm_read_AuthenticateMessage.
This has been fixed in 2.1.0. (CVE-2020-11087)
- In FreeRDP less than or equal to 2.0.0, there is an out-of-bound read in ntlm_read_NegotiateMessage. This
has been fixed in 2.1.0. (CVE-2020-11088)
- In FreeRDP before 2.1.0, there is an out-of-bound read in irp functions (parallel_process_irp_create,
serial_process_irp_create, drive_process_irp_write, printer_process_irp_write, rdpei_recv_pdu,
serial_process_irp_write). This has been fixed in 2.1.0. (CVE-2020-11089)
- In FreeRDP before version 2.1.2, an out of bound reads occurs resulting in accessing a memory location
that is outside of the boundaries of the static array PRIMARY_DRAWING_ORDER_FIELD_BYTES. This is fixed in
version 2.1.2. (CVE-2020-11095)
- In FreeRDP before version 2.1.2, there is a global OOB read in update_read_cache_bitmap_v3_order. As a
workaround, one can disable bitmap cache with -bitmap-cache (default). This is fixed in version 2.1.2.
(CVE-2020-11096)
- In FreeRDP before version 2.1.2, there is an out-of-bound read in glyph_cache_put. This affects all
FreeRDP clients with `+glyph-cache` option enabled This is fixed in version 2.1.2. (CVE-2020-11098)
- In FreeRDP before version 2.1.2, there is an out of bounds read in
license_read_new_or_upgrade_license_packet. A manipulated license packet can lead to out of bound reads to
an internal buffer. This is fixed in version 2.1.2. (CVE-2020-11099)
- libfreerdp/codec/planar.c in FreeRDP version > 1.0 through 2.0.0-rc4 has an Out-of-bounds Write.
(CVE-2020-11521)
- libfreerdp/gdi/gdi.c in FreeRDP > 1.0 through 2.0.0-rc4 has an Out-of-bounds Read. (CVE-2020-11522)
- libfreerdp/gdi/region.c in FreeRDP versions > 1.0 through 2.0.0-rc4 has an Integer Overflow.
(CVE-2020-11523)
- libfreerdp/codec/interleaved.c in FreeRDP versions > 1.0 through 2.0.0-rc4 has an Out-of-bounds Write.
(CVE-2020-11524)
- libfreerdp/cache/bitmap.c in FreeRDP versions > 1.0 through 2.0.0-rc4 has an Out of bounds read.
(CVE-2020-11525)
- libfreerdp/core/update.c in FreeRDP versions > 1.1 through 2.0.0-rc4 has an Out-of-bounds Read.
(CVE-2020-11526)
- An issue was discovered in FreeRDP before 2.1.1. An out-of-bounds (OOB) read vulnerability has been
detected in ntlm_read_ChallengeMessage in winpr/libwinpr/sspi/NTLM/ntlm_message.c. (CVE-2020-13396)
- An issue was discovered in FreeRDP before 2.1.1. An out-of-bounds (OOB) read vulnerability has been
detected in security_fips_decrypt in libfreerdp/core/security.c due to an uninitialized value.
(CVE-2020-13397)
- In FreeRDP before version 2.1.2, there is an out of bounds read in RLEDECOMPRESS. All FreeRDP based
clients with sessions with color depth < 32 are affected. This is fixed in version 2.1.2. (CVE-2020-4033)
- FreeRDP is a free remote desktop protocol library and clients. FreeRDP based clients on unix systems using
`/parallel` command line switch might read uninitialized data and send it to the server the client is
currently connected to. FreeRDP based server implementations are not affected. Please upgrade to 2.8.1
where this issue is patched. If unable to upgrade, do not use parallel port redirection (`/parallel`
command line switch) as a workaround. (CVE-2022-39282)
- FreeRDP is a free remote desktop protocol library and clients. All FreeRDP based clients when using the
`/video` command line switch might read uninitialized data, decode it as audio/video and display the
result. FreeRDP based server implementations are not affected. This issue has been patched in version
2.8.1. If you cannot upgrade do not use the `/video` switch. (CVE-2022-39283)
- FreeRDP is a free remote desktop protocol library and clients. In affected versions there is an out of
bound read in ZGFX decoder component of FreeRDP. A malicious server can trick a FreeRDP based client to
read out of bound data and try to decode it likely resulting in a crash. This issue has been addressed in
the 2.9.0 release. Users are advised to upgrade. (CVE-2022-39316)
- FreeRDP is a free remote desktop protocol library and clients. Affected versions of FreeRDP are missing a
range check for input offset index in ZGFX decoder. A malicious server can trick a FreeRDP based client to
read out of bound data and try to decode it. This issue has been addressed in version 2.9.0. There are no
known workarounds for this issue. (CVE-2022-39317)
- FreeRDP is a free remote desktop protocol library and clients. Affected versions of FreeRDP are missing
input validation in `urbdrc` channel. A malicious server can trick a FreeRDP based client to crash with
division by zero. This issue has been addressed in version 2.9.0. All users are advised to upgrade. Users
unable to upgrade should not use the `/usb` redirection switch. (CVE-2022-39318)
- FreeRDP is a free remote desktop protocol library and clients. Affected versions of FreeRDP are missing
input length validation in the `urbdrc` channel. A malicious server can trick a FreeRDP based client to
read out of bound data and send it back to the server. This issue has been addressed in version 2.9.0 and
all users are advised to upgrade. Users unable to upgrade should not use the `/usb` redirection switch.
(CVE-2022-39319)
- FreeRDP is a free remote desktop protocol library and clients. Affected versions of FreeRDP may attempt
integer addition on too narrow types leads to allocation of a buffer too small holding the data written. A
malicious server can trick a FreeRDP based client to read out of bound data and send it back to the
server. This issue has been addressed in version 2.9.0 and all users are advised to upgrade. Users unable
to upgrade should not use the `/usb` redirection switch. (CVE-2022-39320)
- FreeRDP is a free remote desktop protocol library and clients. Affected versions of FreeRDP are missing
path canonicalization and base path check for `drive` channel. A malicious server can trick a FreeRDP
based client to read files outside the shared directory. This issue has been addressed in version 2.9.0
and all users are advised to upgrade. Users unable to upgrade should not use the `/drive`, `/drives` or
`+home-drive` redirection switch. (CVE-2022-39347)
- FreeRDP is a free remote desktop protocol library and clients. Affected versions of FreeRDP are missing
input length validation in `drive` channel. A malicious server can trick a FreeRDP based client to read
out of bound data and send it back to the server. This issue has been addressed in version 2.9.0 and all
users are advised to upgrade. Users unable to upgrade should not use the drive redirection channel -
command line options `/drive`, `+drives` or `+home-drive`. (CVE-2022-41877)
- FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license.
This issue affects Clients only. Integer underflow leading to DOS (e.g. abort due to `WINPR_ASSERT` with
default compilation flags). When an insufficient blockLen is provided, and proper length validation is not
performed, an Integer Underflow occurs, leading to a Denial of Service (DOS) vulnerability. This issue has
been addressed in versions 2.11.0 and 3.0.0-beta3. Users are advised to upgrade. There are no known
workarounds for this vulnerability. (CVE-2023-39350)
- FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license.
Affected versions of FreeRDP are subject to a Null Pointer Dereference leading a crash in the RemoteFX
(rfx) handling. Inside the `rfx_process_message_tileset` function, the program allocates tiles using
`rfx_allocate_tiles` for the number of numTiles. If the initialization process of tiles is not completed
for various reasons, tiles will have a NULL pointer. Which may be accessed in further processing and would
cause a program crash. This issue has been addressed in versions 2.11.0 and 3.0.0-beta3. Users are advised
to upgrade. There are no known workarounds for this vulnerability. (CVE-2023-39351)
- FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license.
Affected versions are subject to an invalid offset validation leading to Out Of Bound Write. This can be
triggered when the values `rect->left` and `rect->top` are exactly equal to `surface->width` and
`surface->height`. eg. `rect->left` == `surface->width` && `rect->top` == `surface->height`. In practice
this should cause a crash. This issue has been addressed in versions 2.11.0 and 3.0.0-beta3. Users are
advised to upgrade. There are no known workarounds for this vulnerability. (CVE-2023-39352)
- FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license.
Affected versions are subject to a missing offset validation leading to Out Of Bound Read. In the
`libfreerdp/codec/rfx.c` file there is no offset validation in `tile->quantIdxY`, `tile->quantIdxCb`, and
`tile->quantIdxCr`. As a result crafted input can lead to an out of bounds read access which in turn will
cause a crash. This issue has been addressed in versions 2.11.0 and 3.0.0-beta3. Users are advised to
upgrade. There are no known workarounds for this vulnerability. (CVE-2023-39353)
- FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license.
Affected versions are subject to an Out-Of-Bounds Read in the `nsc_rle_decompress_data` function. The Out-
Of-Bounds Read occurs because it processes `context->Planes` without checking if it contains data of
sufficient length. Should an attacker be able to leverage this vulnerability they may be able to cause a
crash. This issue has been addressed in versions 2.11.0 and 3.0.0-beta3. Users are advised to upgrade.
There are no known workarounds for this vulnerability. (CVE-2023-39354)
- FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license.
In affected versions a missing offset validation may lead to an Out Of Bound Read in the function
`gdi_multi_opaque_rect`. In particular there is no code to validate if the value
`multi_opaque_rect->numRectangles` is less than 45. Looping through `multi_opaque_rect->`numRectangles
without proper boundary checks can lead to Out-of-Bounds Read errors which will likely lead to a crash.
This issue has been addressed in versions 2.11.0 and 3.0.0-beta3. Users are advised to upgrade. There are
no known workarounds for this vulnerability. (CVE-2023-39356)
- FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license.
Affected versions are subject to an Integer-Underflow leading to Out-Of-Bound Read in the
`zgfx_decompress_segment` function. In the context of `CopyMemory`, it's possible to read data beyond the
transmitted packet range and likely cause a crash. This issue has been addressed in versions 2.11.0 and
3.0.0-beta3. Users are advised to upgrade. There are no known workarounds for this issue. (CVE-2023-40181)
- FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license.
Affected versions are subject to an IntegerOverflow leading to Out-Of-Bound Write Vulnerability in the
`gdi_CreateSurface` function. This issue affects FreeRDP based clients only. FreeRDP proxies are not
affected as image decoding is not done by a proxy. This issue has been addressed in versions 2.11.0 and
3.0.0-beta3. Users are advised to upgrade. There are no known workarounds for this issue. (CVE-2023-40186)
- FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license.
Affected versions are subject to an Out-Of-Bounds Read in the `general_LumaToYUV444` function. This Out-
Of-Bounds Read occurs because processing is done on the `in` variable without checking if it contains data
of sufficient length. Insufficient data for the `in` variable may cause errors or crashes. This issue has
been addressed in versions 2.11.0 and 3.0.0-beta3. Users are advised to upgrade. There are no known
workarounds for this issue. (CVE-2023-40188)
- FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license.
Affected versions are subject to an Out-Of-Bounds Write in the `clear_decompress_bands_data` function in
which there is no offset validation. Abuse of this vulnerability may lead to an out of bounds write. This
issue has been addressed in versions 2.11.0 and 3.0.0-beta3. Users are advised to upgrade. there are no
known workarounds for this vulnerability. (CVE-2023-40567)
- FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license.
Affected versions are subject to an Out-Of-Bounds Write in the `progressive_decompress` function. This
issue is likely down to incorrect calculations of the `nXSrc` and `nYSrc` variables. This issue has been
addressed in versions 2.11.0 and 3.0.0-beta3. Users are advised to upgrade. there are no known workarounds
for this vulnerability. (CVE-2023-40569)
- FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license.
In affected versions there is a Global-Buffer-Overflow in the ncrush_decompress function. Feeding crafted
input into this function can trigger the overflow which has only been shown to cause a crash. This issue
has been addressed in versions 2.11.0 and 3.0.0-beta3. Users are advised to upgrade. There are no known
workarounds for this issue. (CVE-2023-40589)
- FreeRDP is a free implementation of the Remote Desktop Protocol. FreeRDP based clients using a version of
FreeRDP prior to 3.5.0 or 2.11.6 are vulnerable to integer overflow and out-of-bounds write. Versions
3.5.0 and 2.11.6 patch the issue. As a workaround, do not use `/gfx` options (e.g. deactivate with
`/bpp:32` or `/rfx` as it is on by default). (CVE-2024-32039)
- FreeRDP is a free implementation of the Remote Desktop Protocol. FreeRDP based clients that use a version
of FreeRDP prior to 3.5.0 or 2.11.6 and have connections to servers using the `NSC` codec are vulnerable
to integer underflow. Versions 3.5.0 and 2.11.6 patch the issue. As a workaround, do not use the NSC codec
(e.g. use `-nsc`). (CVE-2024-32040)
- FreeRDP is a free implementation of the Remote Desktop Protocol. FreeRDP based clients that use a version
of FreeRDP prior to 3.5.0 or 2.11.6 are vulnerable to out-of-bounds read. Versions 3.5.0 and 2.11.6 patch
the issue. As a workaround, deactivate `/gfx` (on by default, set `/bpp` or `/rfx` options instead.
(CVE-2024-32041)
- FreeRDP is a free implementation of the Remote Desktop Protocol. FreeRDP based clients that use a version
of FreeRDP prior to 3.5.0 or 2.11.6 are vulnerable to out-of-bounds read. Versions 3.5.0 and 2.11.6 patch
the issue. As a workaround, use `/gfx` or `/rfx` modes (on by default, require server side support).
(CVE-2024-32458)
- FreeRDP is a free implementation of the Remote Desktop Protocol. FreeRDP based clients and servers that
use a version of FreeRDP prior to 3.5.0 or 2.11.6 are vulnerable to out-of-bounds read. Versions 3.5.0 and
2.11.6 patch the issue. No known workarounds are available. (CVE-2024-32459)
- FreeRDP is a free implementation of the Remote Desktop Protocol. FreeRDP based based clients using
`/bpp:32` legacy `GDI` drawing path with a version of FreeRDP prior to 3.5.0 or 2.11.6 are vulnerable to
out-of-bounds read. Versions 3.5.0 and 2.11.6 patch the issue. As a workaround, use modern drawing paths
(e.g. `/rfx` or `/gfx` options). The workaround requires server side support. (CVE-2024-32460)
- FreeRDP is a free implementation of the Remote Desktop Protocol. FreeRDP based clients prior to version
3.5.1 are vulnerable to out-of-bounds read. Version 3.5.1 contains a patch for the issue. No known
workarounds are available. (CVE-2024-32658)
- FreeRDP is a free implementation of the Remote Desktop Protocol. FreeRDP based clients prior to version
3.5.1 are vulnerable to out-of-bounds read if `((nWidth == 0) and (nHeight == 0))`. Version 3.5.1 contains
a patch for the issue. No known workarounds are available. (CVE-2024-32659)
- FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.5.1, a malicious
server can crash the FreeRDP client by sending invalid huge allocation size. Version 3.5.1 contains a
patch for the issue. No known workarounds are available. (CVE-2024-32660)
- FreeRDP is a free implementation of the Remote Desktop Protocol. FreeRDP based clients prior to version
3.5.1 are vulnerable to a possible `NULL` access and crash. Version 3.5.1 contains a patch for the issue.
No known workarounds are available. (CVE-2024-32661)
- FreeRDP is a free implementation of the Remote Desktop Protocol. FreeRDP based clients prior to version
3.5.1 are vulnerable to out-of-bounds read. This occurs when `WCHAR` string is read with twice the size it
has and converted to `UTF-8`, `base64` decoded. The string is only used to compare against the redirection
server certificate. Version 3.5.1 contains a patch for the issue. No known workarounds are available.
(CVE-2024-32662)
Note that Nessus has not tested for these issues but has instead relied on the package manager's report that the package
is installed.");
script_set_attribute(attribute:"solution", value:
"The vendor has acknowledged the vulnerabilities but no solution has been provided. Refer to the vendor for remediation
guidance.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2018-8788");
script_set_attribute(attribute:"cvss3_score_source", value:"CVE-2024-22211");
script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
script_set_attribute(attribute:"exploit_available", value:"true");
script_set_attribute(attribute:"vendor_unpatched", value:"true");
script_set_attribute(attribute:"vuln_publication_date", value:"2017/07/25");
script_set_attribute(attribute:"plugin_publication_date", value:"2024/05/11");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:6");
script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:7");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:freerdp");
script_set_attribute(attribute:"generated_plugin", value:"current");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Red Hat Local Security Checks");
script_copyright(english:"This script is Copyright (C) 2024 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("ssh_get_info.nasl", "redhat_repos.nasl");
script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list", "Host/cpu");
exit(0);
}
include('rpm.inc');
include('rhel.inc');
if (!get_kb_item("global_settings/vendor_unpatched"))
exit(0, "Unpatched Vulnerabilities Detection not active.");
if (!get_kb_item('Host/local_checks_enabled')) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
var os_release = get_kb_item('Host/RedHat/release');
if (isnull(os_release) || 'Red Hat' >!< os_release) audit(AUDIT_OS_NOT, 'Red Hat');
var os_ver = pregmatch(pattern: "Red Hat Enterprise Linux.*release ([0-9]+(\.[0-9]+)?)", string:os_release);
if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, 'Red Hat');
os_ver = os_ver[1];
if (!rhel_check_release(operator: 'ge', os_version: os_ver, rhel_version: '6')) audit(AUDIT_OS_NOT, 'Red Hat 6.x', 'Red Hat ' + os_ver);
if (!get_kb_item('Host/RedHat/rpm-list')) audit(AUDIT_PACKAGE_LIST_MISSING);
var cpu = get_kb_item('Host/cpu');
if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
if ('x86_64' >!< cpu && cpu !~ "^i[3-6]86$" && 's390' >!< cpu && 'aarch64' >!< cpu && 'ppc' >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, 'Red Hat', cpu);
var constraints = [
{
'pkgs': [
{'reference':'freerdp', 'release':'6', 'rpm_spec_vers_cmp':TRUE, 'unpatched_pkg':'freerdp'}
]
}
];
var flag = 0;
foreach var constraint_array ( constraints ) {
var repo_relative_urls = NULL;
var enterprise_linux_flag = rhel_repo_urls_has_content_dist_rhel(repo_urls:repo_relative_urls);
foreach var pkg ( constraint_array['pkgs'] ) {
var unpatched_pkg = NULL;
var _release = NULL;
var sp = NULL;
var el_string = NULL;
var rpm_spec_vers_cmp = NULL;
var exists_check = NULL;
var cves = NULL;
if (!empty_or_null(pkg['unpatched_pkg'])) unpatched_pkg = pkg['unpatched_pkg'];
if (!empty_or_null(pkg['release'])) _release = 'RHEL' + pkg['release'];
if (!empty_or_null(pkg['sp'])) sp = pkg['sp'];
if (!empty_or_null(pkg['rpm_spec_vers_cmp'])) rpm_spec_vers_cmp = pkg['rpm_spec_vers_cmp'];
if (!empty_or_null(pkg['exists_check'])) exists_check = pkg['exists_check'];
if (!empty_or_null(pkg['cves'])) cves = pkg['cves'];
if (unpatched_pkg &&
_release &&
(!exists_check || rpm_exists(release:_release, rpm:exists_check)) &&
unpatched_package_exists(release:_release, package:unpatched_pkg, cves: cves)) flag++;
}
}
if (flag)
{
var extra = NULL;
security_report_v4(
port : 0,
severity : SECURITY_HOLE,
extra : unpatched_packages_report()
);
exit(0);
}
else
{
var tested = pkg_tests_get();
if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
else audit(AUDIT_PACKAGE_NOT_INSTALLED, 'freerdp');
}
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-2834
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-2835
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-2836
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-2837
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-2838
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-2839
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1000852
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8786
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8787
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8788
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11018
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11019
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11038
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11039
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11040
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11041
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11042
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11043
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11044
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11045
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11046
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11047
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11048
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11049
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11058
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11086
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11087
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11088
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11089
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11095
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11096
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11098
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11099
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11521
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11522
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11523
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11524
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11525
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11526
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-13396
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-13397
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-4033
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-39282
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-39283
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-39316
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-39317
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-39318
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-39319
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-39320
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-39347
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-41877
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-39350
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-39351
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-39352
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-39353
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-39354
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-39356
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-40181
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-40186
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-40188
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-40567
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-40569
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-40589
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-22211
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-32039
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-32040
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-32041
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-32458
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-32459
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-32460
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-32658
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-32659
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-32660
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-32661
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-32662