Bug 27032 - remmina broken by recent freerdp updates
Summary: remmina broken by recent freerdp updates
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: David GEIGER
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-04 09:20 CEST by Jose Manuel López
Modified: 2020-09-07 09:29 CEST (History)
1 user (show)

See Also:
Source RPM: remmina-1.4.7-1.mga7.src.rpm
CVE:
Status comment:


Attachments

Description Jose Manuel López 2020-08-04 09:20:37 CEST
Description of problem:I have a connection to a server with Dynamics Nav, which I connect to using Remmina. After the last update, it is continuously disconnected.


Version-Release number of selected component (if applicable): Mageia 7 and Remmina 1.4.7


How reproducible: Install the last version of remmina and configure conection to server


Steps to Reproduce:
1. Install remmina
2. Configure rdp conection
3. Conection it is continuously disconnected.
Comment 1 Jose Manuel López 2020-08-04 09:23:00 CEST
This is appears in konsole with the conection server:
[jose@localhost ~]$ remmina -c /home/jose/.local/share/remmina/group_rdp_bigdvweb005-bigmat-local_bigdvweb005-bigmat-local.remmina
Gtk-Message: 09:13:55.274: Failed to load module "appmenu-gtk-module"
StatusNotifier/Appindicator support: your desktop does support it and libappindicator is compiled in Remmina. Good.
Warning: Remmina is running without a secret plugin. Passwords will be saved in a less secure way.
loading channel rdpdr
[09:13:55:371] [13016:13021] [WARN][com.freerdp.core.client] - Skipping, channel already loaded
loading channel rdpdr
[09:13:56:425] [13016:13021] [INFO][com.freerdp.core] - freerdp_connect:freerdp_set_last_error_ex resetting error state
[09:13:56:425] [13016:13021] [WARN][com.freerdp.core.client] - Skipping, channel already loaded
[09:13:56:425] [13016:13021] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpdr
[09:13:56:425] [13016:13021] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpsnd
[09:13:56:425] [13016:13021] [INFO][com.freerdp.client.common.cmdline] - loading channelEx cliprdr
[09:13:56:425] [13016:13021] [INFO][com.freerdp.client.common.cmdline] - loading channelEx drdynvc
[09:13:56:774] [13016:13021] [INFO][com.freerdp.primitives] - primitives autodetect, using optimized
[09:13:56:776] [13016:13021] [INFO][com.freerdp.core.nego] - Detecting if host can be reached locally. - This might take some time.
[09:13:56:776] [13016:13021] [INFO][com.freerdp.core.nego] - To disable auto detection use /gateway-usage-method:direct
[09:14:06:792] [13016:13021] [ERROR][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex ERRCONNECT_DNS_NAME_NOT_FOUND [0x00020005]
[09:14:06:799] [13016:13021] [INFO][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex resetting error state
[09:14:06:827] [13016:13021] [WARN][com.freerdp.crypto] - Certificate verification failure 'unable to get local issuer certificate (20)' at stack position 1
[09:14:06:827] [13016:13021] [WARN][com.freerdp.crypto] - C = ES, ST = Illes Balears, L = Manacor, O = "Soluciones Corporativas IP, SL", CN = Don Dominio / MrDomain RSA DV CA
[09:14:06:844] [13016:13021] [INFO][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex resetting error state
[09:14:08:175] [13016:13021] [INFO][com.freerdp.gdi] - Local framebuffer format  PIXEL_FORMAT_BGRX32
[09:14:08:176] [13016:13021] [INFO][com.freerdp.gdi] - Remote framebuffer format PIXEL_FORMAT_RGB16
[09:14:08:176] [13016:13037] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive [Compartidos] (static)
[09:14:08:177] [13016:13021] [INFO][com.freerdp.channels.rdpsnd.client] - [static] Loaded fake backend for rdpsnd
[09:14:08:177] [13016:13021] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel audin
[09:14:08:179] [13016:13037] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service printer [MFCL8900CDW] (static)
[09:14:08:190] [13016:13021] [INFO][com.freerdp.channels.audin.client] - Loaded pulse backend for audin
[09:14:08:190] [13016:13021] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel disp
[09:14:08:736] [13016:13021] [INFO][com.freerdp.core] - rdp_set_error_info:freerdp_set_last_error_ex resetting error state
[09:14:09:093] [13016:13021] [WARN][com.freerdp.channels.cliprdr.common] - [cliprdr_packet_format_list_new] called with invalid type 00009000
[09:14:09:099] [13016:13037] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: Compartidos (type=8 id=1)
[09:14:09:099] [13016:13037] [INFO][com.freerdp.channels.rdpdr.client] - registered device #2: PRN1 (type=4 id=2)
[09:14:12:818] [13016:13037] [ERROR][com.freerdp.channels.rdpdr.client] - Unknown message: Component: 0x5052 PacketId: 0x5043
[09:14:12:818] [13016:13037] [ERROR][com.freerdp.channels.rdpdr.client] - rdpdr_process_receive failed with error 1359!
[09:14:12:818] [13016:13021] [ERROR][com.freerdp.core] - rdpdr_virtual_channel_client_thread reported an error. Error was 1359
[09:14:12:818] [13016:13021] [ERROR][com.freerdp.core] - checkChannelErrorEvent() failed - 0
[09:14:13:320] [13016:13021] [INFO][com.freerdp.core.nego] - Detecting if host can be reached locally. - This might take some time.
[09:14:13:320] [13016:13021] [INFO][com.freerdp.core.nego] - To disable auto detection use /gateway-usage-method:direct
[09:14:23:333] [13016:13021] [ERROR][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex ERRCONNECT_DNS_NAME_NOT_FOUND [0x00020005]
[09:14:23:339] [13016:13021] [INFO][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex resetting error state
[09:14:23:385] [13016:13021] [INFO][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex resetting error state
[09:14:24:708] [13016:13057] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive [Compartidos] (static)
[09:14:24:708] [13016:13021] [INFO][com.freerdp.channels.rdpsnd.client] - [static] Loaded fake backend for rdpsnd
[09:14:24:708] [13016:13021] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel audin
[09:14:24:708] [13016:13057] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service printer [MFCL8900CDW] (static)
[09:14:24:712] [13016:13021] [INFO][com.freerdp.channels.audin.client] - Loaded pulse backend for audin
[09:14:24:712] [13016:13021] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel disp
[09:14:24:779] [13016:13021] [WARN][com.freerdp.channels.cliprdr.common] - [cliprdr_packet_format_list_new] called with invalid type 00006fc0
[09:14:24:800] [13016:13057] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: Compartidos (type=8 id=1)
[09:14:24:800] [13016:13057] [INFO][com.freerdp.channels.rdpdr.client] - registered device #2: PRN2 (type=4 id=2)
[09:14:31:525] [13016:13057] [ERROR][com.freerdp.channels.rdpdr.client] - Unknown message: Component: 0x5052 PacketId: 0x5043
[09:14:31:525] [13016:13057] [ERROR][com.freerdp.channels.rdpdr.client] - rdpdr_process_receive failed with error 1359!
[09:14:31:525] [13016:13021] [ERROR][com.freerdp.core] - rdpdr_virtual_channel_client_thread reported an error. Error was 1359
[09:14:31:525] [13016:13021] [ERROR][com.freerdp.core] - checkChannelErrorEvent() failed - 0
[09:14:32:054] [13016:13021] [INFO][com.freerdp.core.nego] - Detecting if host can be reached locally. - This might take some time.
[09:14:32:054] [13016:13021] [INFO][com.freerdp.core.nego] - To disable auto detection use /gateway-usage-method:direct
[09:14:42:066] [13016:13021] [ERROR][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex ERRCONNECT_DNS_NAME_NOT_FOUND [0x00020005]
[09:14:42:072] [13016:13021] [INFO][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex resetting error state
[09:14:42:129] [13016:13021] [INFO][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex resetting error state
[09:14:43:457] [13016:13084] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive [Compartidos] (static)
[09:14:43:457] [13016:13021] [INFO][com.freerdp.channels.rdpsnd.client] - [static] Loaded fake backend for rdpsnd
[09:14:43:458] [13016:13021] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel audin
[09:14:43:458] [13016:13084] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service printer [MFCL8900CDW] (static)
[09:14:43:462] [13016:13021] [INFO][com.freerdp.channels.audin.client] - Loaded pulse backend for audin
[09:14:43:462] [13016:13021] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel disp
[09:14:43:538] [13016:13021] [WARN][com.freerdp.channels.cliprdr.common] - [cliprdr_packet_format_list_new] called with invalid type 000091a0
[09:14:43:563] [13016:13084] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: Compartidos (type=8 id=1)
[09:14:43:563] [13016:13084] [INFO][com.freerdp.channels.rdpdr.client] - registered device #2: PRN3 (type=4 id=2)
[09:14:48:077] [13016:13021] [INFO][com.freerdp.core] - ERRINFO_LOGOFF_BY_USER (0x0000000C):The disconnection was initiated by the user logging off their session on the server.
[09:14:48:077] [13016:13021] [ERROR][com.freerdp.core] - rdp_set_error_info:freerdp_set_last_error_ex ERRINFO_LOGOFF_BY_USER [0x0001000C]
[jose@localhost ~]$
Comment 2 Jose Manuel López 2020-08-04 09:45:02 CEST
Maybe it's because we need the latest version of Freerdp 2.2 on Mageia?
Jose Manuel López 2020-08-04 09:57:05 CEST

Priority: Normal => High

Comment 3 David GEIGER 2020-08-04 23:14:16 CEST
Know issue in freerdp 2.1.2:

https://github.com/FreeRDP/FreeRDP/issues/6298
and
https://github.com/FreeRDP/FreeRDP/issues/6299


So it should be fixed in upcoming freerdp-2.1.2-1.1.mga7 update in Core/Updates_testing repo!

CC: (none) => geiger.david68210

Comment 4 David Walser 2020-08-04 23:15:44 CEST
Updating to 2.2.0 probably isn't a bad idea:
https://github.com/FreeRDP/FreeRDP/releases/tag/2.2.0

In the mean time, David Geiger identified a possible patch from upstream for your issue.

He should still either update it or add the patch for CVE-2020-15103:
https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-4r38-6hq7-j3j9

Priority: High => Normal
Source RPM: Remmina and freerdp => freerdp-2.1.2-1.mga7.src.rpm
Component: RPM Packages => Security
QA Contact: (none) => security
Assignee: bugsquad => geiger.david68210
Severity: critical => normal
Summary: Remmina does not work properly, it is continuously disconnected. => freerdp new security issue CVE-2020-15103 (and regression breaking remmina)

Comment 5 David Walser 2020-08-05 02:51:52 CEST
Fedora has issued an advisory for this on July 30:
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/6Y35HBHG2INICLSGCIKNAR7GCXEHQACQ/
Comment 6 Jose Manuel López 2020-08-05 07:46:23 CEST
I have updated the package to the version that is in the testing repositories, but it keeps generating the disconnection error with the server.

Greetings!!
Comment 7 David GEIGER 2020-08-05 08:10:23 CEST
Ok so please test upcoming freerdp-2.2.0-1.mga7, it should fix your issue and also fixes CVE-2020-15103.
Comment 8 Jose Manuel López 2020-08-05 14:45:04 CEST
I have tried with the new version of freerdp. and the bug appears...

This is appears in konsole:

[sara@localhost ~]$ remmina -c /home/sara/.local/share/remmina/1557817704885.remmina
Remmina plugin glibsecret (type=Secret) has registered but not yet initialized/activated. Initialization order is 2000.

** (process:3703): CRITICAL **: 14:39:07.786: secret_service_load_collections_sync: assertion 'paths != NULL' failed
[glibsecret] unable to get secret service: Unknown error.
StatusNotifier/Appindicator support: your desktop does support it and libappindicator is compiled in Remmina. Good.
Warning: Remmina is running without a secret plugin. Passwords will be saved in a less secure way.
loading channel rdpdr
[14:39:08:669] [3703:3707] [WARN][com.freerdp.core.client] - Skipping, channel already loaded
loading channel rdpdr
[14:39:08:669] [3703:3707] [WARN][com.freerdp.core.client] - Skipping, channel already loaded
loading channel rdpdr
[14:39:09:675] [3703:3707] [INFO][com.freerdp.core] - freerdp_connect:freerdp_set_last_error_ex resetting error state
[14:39:09:675] [3703:3707] [WARN][com.freerdp.core.client] - Skipping, channel already loaded
[14:39:09:676] [3703:3707] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpdr
[14:39:09:676] [3703:3707] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpsnd
[14:39:09:676] [3703:3707] [INFO][com.freerdp.client.common.cmdline] - loading channelEx cliprdr
[14:39:09:676] [3703:3707] [INFO][com.freerdp.client.common.cmdline] - loading channelEx drdynvc
[14:39:09:032] [3703:3707] [INFO][com.freerdp.primitives] - primitives autodetect, using optimized
[14:39:09:035] [3703:3707] [INFO][com.freerdp.core.nego] - Detecting if host can be reached locally. - This might take some time.
[14:39:09:035] [3703:3707] [INFO][com.freerdp.core.nego] - To disable auto detection use /gateway-usage-method:direct
[14:39:19:090] [3703:3707] [ERROR][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex ERRCONNECT_DNS_NAME_NOT_FOUND [0x00020005]
[14:39:19:097] [3703:3707] [INFO][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex resetting error state
[14:39:19:132] [3703:3707] [WARN][com.freerdp.crypto] - Certificate verification failure 'unable to get local issuer certificate (20)' at stack position 1
[14:39:19:132] [3703:3707] [WARN][com.freerdp.crypto] - C = ES, ST = Illes Balears, L = Manacor, O = "Soluciones Corporativas IP, SL", CN = Don Dominio / MrDomain RSA DV CA
[14:39:19:152] [3703:3707] [INFO][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex resetting error state
[14:39:19:308] [3703:3707] [WARN][com.freerdp.crypto] - Certificate verification failure 'unable to get local issuer certificate (20)' at stack position 1
[14:39:19:308] [3703:3707] [WARN][com.freerdp.crypto] - C = ES, ST = Illes Balears, L = Manacor, O = "Soluciones Corporativas IP, SL", CN = Don Dominio / MrDomain RSA DV CA
[14:39:21:316] [3703:3707] [INFO][com.freerdp.gdi] - Local framebuffer format  PIXEL_FORMAT_BGRX32
[14:39:21:316] [3703:3707] [INFO][com.freerdp.gdi] - Remote framebuffer format PIXEL_FORMAT_RGB16
[14:39:21:316] [3703:4305] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive [Compartidos] (static)
[14:39:21:317] [3703:4305] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service printer [HLL2360D] (static)
[14:39:21:317] [3703:3707] [INFO][com.freerdp.channels.rdpsnd.client] - [static] Loaded fake backend for rdpsnd
[14:39:21:318] [3703:3707] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel audin
[14:39:21:322] [3703:4305] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service printer [MFCL8900CDW] (static)
[14:39:21:324] [3703:3707] [INFO][com.freerdp.channels.audin.client] - Loaded pulse backend for audin
[14:39:21:324] [3703:3707] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel disp
[14:39:22:797] [3703:4305] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: Compartidos (type=8 id=1)
[14:39:22:797] [3703:4305] [INFO][com.freerdp.channels.rdpdr.client] - registered device #2: PRN1 (type=4 id=2)
[14:39:22:797] [3703:4305] [INFO][com.freerdp.channels.rdpdr.client] - registered device #3: PRN2 (type=4 id=3)
[14:39:22:999] [3703:3707] [WARN][com.freerdp.channels.cliprdr.common] - [cliprdr_packet_format_list_new] called with invalid type 00003ee0
[14:39:30:355] [3703:4305] [ERROR][com.freerdp.channels.rdpdr.client] - Unknown message: Component: 0x5052 PacketId: 0x5043
[14:39:30:356] [3703:4305] [ERROR][com.freerdp.channels.rdpdr.client] - rdpdr_process_receive failed with error 1359!
[14:39:30:356] [3703:3707] [ERROR][com.freerdp.core] - rdpdr_virtual_channel_client_thread reported an error. Error was 1359
[14:39:30:356] [3703:3707] [ERROR][com.freerdp.core] - checkChannelErrorEvent() failed - 0
[14:39:31:862] [3703:3707] [INFO][com.freerdp.core.nego] - Detecting if host can be reached locally. - This might take some time.
[14:39:31:862] [3703:3707] [INFO][com.freerdp.core.nego] - To disable auto detection use /gateway-usage-method:direct
[14:39:41:920] [3703:3707] [ERROR][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex ERRCONNECT_DNS_NAME_NOT_FOUND [0x00020005]
[14:39:41:926] [3703:3707] [INFO][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex resetting error state
[14:39:41:978] [3703:3707] [INFO][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex resetting error state
[14:39:42:624] [3703:4828] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive [Compartidos] (static)
[14:39:42:624] [3703:3707] [INFO][com.freerdp.channels.rdpsnd.client] - [static] Loaded fake backend for rdpsnd
[14:39:42:624] [3703:3707] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel audin
[14:39:42:624] [3703:4828] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service printer [HLL2360D] (static)
[14:39:43:625] [3703:4828] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service printer [MFCL8900CDW] (static)
[14:39:43:626] [3703:3707] [INFO][com.freerdp.channels.audin.client] - Loaded pulse backend for audin
[14:39:43:626] [3703:3707] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel disp
[14:39:43:649] [3703:3707] [WARN][com.freerdp.channels.cliprdr.common] - [cliprdr_packet_format_list_new] called with invalid type 00006330
[14:39:43:697] [3703:4828] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: Compartidos (type=8 id=1)
[14:39:43:697] [3703:4828] [INFO][com.freerdp.channels.rdpdr.client] - registered device #2: PRN3 (type=4 id=2)
[14:39:43:697] [3703:4828] [INFO][com.freerdp.channels.rdpdr.client] - registered device #3: PRN4 (type=4 id=3)
[14:39:51:740] [3703:4828] [ERROR][com.freerdp.channels.rdpdr.client] - Unknown message: Component: 0x5052 PacketId: 0x5043
[14:39:51:740] [3703:4828] [ERROR][com.freerdp.channels.rdpdr.client] - rdpdr_process_receive failed with error 1359!
[14:39:51:740] [3703:3707] [ERROR][com.freerdp.core] - rdpdr_virtual_channel_client_thread reported an error. Error was 1359
[14:39:51:740] [3703:3707] [ERROR][com.freerdp.core] - checkChannelErrorEvent() failed - 0
[14:39:51:258] [3703:3707] [INFO][com.freerdp.core.nego] - Detecting if host can be reached locally. - This might take some time.
[14:39:51:258] [3703:3707] [INFO][com.freerdp.core.nego] - To disable auto detection use /gateway-usage-method:direct
[14:40:01:280] [3703:3707] [ERROR][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex ERRCONNECT_DNS_NAME_NOT_FOUND [0x00020005]
[14:40:01:333] [3703:3707] [INFO][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex resetting error state
[14:40:01:380] [3703:3707] [INFO][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex resetting error state
[14:40:03:026] [3703:5333] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive [Compartidos] (static)
[14:40:03:026] [3703:3707] [INFO][com.freerdp.channels.rdpsnd.client] - [static] Loaded fake backend for rdpsnd
[14:40:03:026] [3703:3707] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel audin
[14:40:03:026] [3703:5333] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service printer [HLL2360D] (static)
[14:40:03:027] [3703:5333] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service printer [MFCL8900CDW] (static)
[14:40:03:028] [3703:3707] [INFO][com.freerdp.channels.audin.client] - Loaded pulse backend for audin
[14:40:03:028] [3703:3707] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel disp
[14:40:03:043] [3703:3707] [WARN][com.freerdp.channels.cliprdr.common] - [cliprdr_packet_format_list_new] called with invalid type 00006330
[14:40:03:099] [3703:5333] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: Compartidos (type=8 id=1)
[14:40:03:099] [3703:5333] [INFO][com.freerdp.channels.rdpdr.client] - registered device #2: PRN5 (type=4 id=2)
[14:40:03:099] [3703:5333] [INFO][com.freerdp.channels.rdpdr.client] - registered device #3: PRN6 (type=4 id=3)
[14:40:11:674] [3703:5333] [ERROR][com.freerdp.channels.rdpdr.client] - Unknown message: Component: 0x5052 PacketId: 0x5043
[14:40:11:674] [3703:5333] [ERROR][com.freerdp.channels.rdpdr.client] - rdpdr_process_receive failed with error 1359!
[14:40:11:674] [3703:3707] [ERROR][com.freerdp.core] - rdpdr_virtual_channel_client_thread reported an error. Error was 1359
[14:40:11:674] [3703:3707] [ERROR][com.freerdp.core] - checkChannelErrorEvent() failed - 0
[14:40:11:192] [3703:3707] [INFO][com.freerdp.core.nego] - Detecting if host can be reached locally. - This might take some time.
[14:40:11:192] [3703:3707] [INFO][com.freerdp.core.nego] - To disable auto detection use /gateway-usage-method:direct
[14:40:21:205] [3703:3707] [ERROR][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex ERRCONNECT_DNS_NAME_NOT_FOUND [0x00020005]
[14:40:21:211] [3703:3707] [INFO][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex resetting error state
[14:40:21:266] [3703:3707] [INFO][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex resetting error state
[14:40:23:917] [3703:5805] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive [Compartidos] (static)
[14:40:23:917] [3703:3707] [INFO][com.freerdp.channels.rdpsnd.client] - [static] Loaded fake backend for rdpsnd
[14:40:23:918] [3703:5805] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service printer [HLL2360D] (static)
[14:40:23:918] [3703:3707] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel audin
[14:40:23:918] [3703:5805] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service printer [MFCL8900CDW] (static)
[14:40:23:922] [3703:3707] [INFO][com.freerdp.channels.audin.client] - Loaded pulse backend for audin
[14:40:23:922] [3703:3707] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel disp
[14:40:23:940] [3703:3707] [WARN][com.freerdp.channels.cliprdr.common] - [cliprdr_packet_format_list_new] called with invalid type 00006330
[14:40:23:995] [3703:5805] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: Compartidos (type=8 id=1)
[14:40:23:995] [3703:5805] [INFO][com.freerdp.channels.rdpdr.client] - registered device #2: PRN7 (type=4 id=2)
[14:40:23:995] [3703:5805] [INFO][com.freerdp.channels.rdpdr.client] - registered device #3: PRN8 (type=4 id=3)
[14:40:31:692] [3703:5805] [ERROR][com.freerdp.channels.rdpdr.client] - Unknown message: Component: 0x5052 PacketId: 0x5043
[14:40:31:692] [3703:5805] [ERROR][com.freerdp.channels.rdpdr.client] - rdpdr_process_receive failed with error 1359!
[14:40:31:692] [3703:3707] [ERROR][com.freerdp.core] - rdpdr_virtual_channel_client_thread reported an error. Error was 1359
[14:40:31:692] [3703:3707] [ERROR][com.freerdp.core] - checkChannelErrorEvent() failed - 0
[14:40:31:199] [3703:3707] [INFO][com.freerdp.core.nego] - Detecting if host can be reached locally. - This might take some time.
[14:40:31:199] [3703:3707] [INFO][com.freerdp.core.nego] - To disable auto detection use /gateway-usage-method:direct
[14:40:41:210] [3703:3707] [ERROR][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex ERRCONNECT_DNS_NAME_NOT_FOUND [0x00020005]
[14:40:41:290] [3703:3707] [INFO][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex resetting error state
[14:40:41:347] [3703:3707] [INFO][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex resetting error state
[14:40:43:003] [3703:6285] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive [Compartidos] (static)
[14:40:43:003] [3703:3707] [INFO][com.freerdp.channels.rdpsnd.client] - [static] Loaded fake backend for rdpsnd
[14:40:43:003] [3703:3707] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel audin
[14:40:43:004] [3703:6285] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service printer [HLL2360D] (static)
[14:40:43:004] [3703:6285] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service printer [MFCL8900CDW] (static)
[14:40:43:005] [3703:3707] [INFO][com.freerdp.channels.audin.client] - Loaded pulse backend for audin
[14:40:43:005] [3703:3707] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel disp
[14:40:43:030] [3703:3707] [WARN][com.freerdp.channels.cliprdr.common] - [cliprdr_packet_format_list_new] called with invalid type 00006ee0
[14:40:43:084] [3703:6285] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: Compartidos (type=8 id=1)
[14:40:43:084] [3703:6285] [INFO][com.freerdp.channels.rdpdr.client] - registered device #2: PRN9 (type=4 id=2)
[14:40:43:084] [3703:6285] [INFO][com.freerdp.channels.rdpdr.client] - registered device #3: PRN10 (type=4 id=3)
[14:40:51:876] [3703:6285] [ERROR][com.freerdp.channels.rdpdr.client] - Unknown message: Component: 0x5052 PacketId: 0x5043
[14:40:51:876] [3703:6285] [ERROR][com.freerdp.channels.rdpdr.client] - rdpdr_process_receive failed with error 1359!
[14:40:51:876] [3703:3707] [ERROR][com.freerdp.core] - rdpdr_virtual_channel_client_thread reported an error. Error was 1359
[14:40:51:876] [3703:3707] [ERROR][com.freerdp.core] - checkChannelErrorEvent() failed - 0
[14:40:51:385] [3703:3707] [INFO][com.freerdp.core.nego] - Detecting if host can be reached locally. - This might take some time.
[14:40:51:385] [3703:3707] [INFO][com.freerdp.core.nego] - To disable auto detection use /gateway-usage-method:direct
[14:41:01:429] [3703:3707] [ERROR][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex ERRCONNECT_DNS_NAME_NOT_FOUND [0x00020005]
[14:41:01:448] [3703:3707] [INFO][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex resetting error state
[14:41:01:501] [3703:3707] [INFO][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex resetting error state
[14:41:03:149] [3703:6794] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive [Compartidos] (static)
[14:41:03:149] [3703:3707] [INFO][com.freerdp.channels.rdpsnd.client] - [static] Loaded fake backend for rdpsnd
[14:41:03:149] [3703:3707] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel audin
[14:41:03:149] [3703:6794] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service printer [HLL2360D] (static)
[14:41:03:150] [3703:6794] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service printer [MFCL8900CDW] (static)
[14:41:03:153] [3703:3707] [INFO][com.freerdp.channels.audin.client] - Loaded pulse backend for audin
[14:41:03:153] [3703:3707] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel disp
[14:41:03:171] [3703:3707] [WARN][com.freerdp.channels.cliprdr.common] - [cliprdr_packet_format_list_new] called with invalid type 0000fd00
[14:41:03:230] [3703:6794] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: Compartidos (type=8 id=1)
[14:41:03:230] [3703:6794] [INFO][com.freerdp.channels.rdpdr.client] - registered device #2: PRN11 (type=4 id=2)
[14:41:03:231] [3703:6794] [INFO][com.freerdp.channels.rdpdr.client] - registered device #3: PRN12 (type=4 id=3)
[14:41:07:629] [3703:3707] [INFO][com.freerdp.core] - ERRINFO_LOGOFF_BY_USER (0x0000000C):The disconnection was initiated by the user logging off their session on the server.
[14:41:07:629] [3703:3707] [ERROR][com.freerdp.core] - rdp_set_error_info:freerdp_set_last_error_ex ERRINFO_LOGOFF_BY_USER [0x0001000C]
[sara@localhost ~]$
Comment 9 David Walser 2020-08-05 14:59:56 CEST
Advisory below for the freerdp part.  Does remmina need to be updated to fix the other issue?

Advisory:
========================

Updated freerdp packages fix security vulnerability:

Integer overflow due to missing input sanitation in rdpegfx channel. The input
rectangles from the server are not checked against local surface coordinates
and blindly accepted. A malicious server can send data that will crash the
client later on (invalid length arguments to a memcpy) (CVE-2020-15103).

The freerdp package has been updated to version 2.2.0, fixing this issue and
other bugs.

References:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-16135
https://github.com/FreeRDP/FreeRDP/releases/tag/2.2.0
https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-4r38-6hq7-j3j9
========================

Updated packages in core/updates_testing:
========================
freerdp-2.2.0-1.mga7
libfreerdp2-2.2.0-1.mga7
libfreerdp-devel-2.2.0-1.mga7

from freerdp-2.2.0-1.mga7.src.rpm
Comment 10 David GEIGER 2020-08-05 17:13:30 CEST
@ Jose Manuel López

So please file a new bug upstream at https://gitlab.com/Remmina/Remmina/-/issues
Comment 11 David Walser 2020-08-05 17:45:22 CEST
Moved freerdp update to Bug 27047.  Keeping this bug for remmina issue.

Summary: freerdp new security issue CVE-2020-15103 (and regression breaking remmina) => remmina broken by recent freerdp updates
Source RPM: freerdp-2.1.2-1.mga7.src.rpm => remmina-1.4.7-1.mga7.src.rpm

David Walser 2020-08-05 17:45:52 CEST

QA Contact: security => (none)
Component: Security => RPM Packages

Comment 12 Jose Manuel López 2020-08-05 21:46:28 CEST
Hi, 

I reported upstream in remmina issues: https://gitlab.com/Remmina/Remmina/-/issues/2264

Greetings!!
Comment 13 Jose Manuel López 2020-08-06 08:57:19 CEST
Hi,

If I connect through xfreerdp, the connection isn't lost. For what seems to be a bug in remmina. Right now I have the latest versions of both Remmina and Freerdp (1.4.7 and 2.2.0 respectively) on Mageia 7.1 with kernel 5.7.13.

From what I have been able to verify, if I deactivate the option of "Printer sharing", the connection is stable and is not lost.
Comment 14 Jose Manuel López 2020-08-07 09:01:16 CEST
I have opened a new issue in gitlab with the last information: https://gitlab.com/Remmina/Remmina/-/issues/2267
Comment 15 Jose Manuel López 2020-09-07 09:29:49 CEST
Hi!

Since the freerdp package has been successfully updated in Mageia, and this remittance error related to printer sharing when connecting to the server does not appear to be Mageia's fault, we should close this bug.

After the latest updates Remmina works well on Mageia except on one of the connections I have to a server running Windows Server 2012, so it might be somewhat server-side up-to-date that is causing the problem.

I close the matter if there is no further clarification.

Best regards!!

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.