Bug 16809 - Pidgin sipe plugin no longer authenticates to Skype for business
Summary: Pidgin sipe plugin no longer authenticates to Skype for business
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 5
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: has_procedure advisory MGA5-64-OK MGA...
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2015-09-23 10:48 CEST by Giuseppe Merigo
Modified: 2016-03-10 00:28 CET (History)
7 users (show)

See Also:
Source RPM: pidgin-sipe
CVE:
Status comment:


Attachments

Description Giuseppe Merigo 2015-09-23 10:48:23 CEST
After some modifications to the accepted cyphers on TLS negotiation on Skype for Business (former Lync or Office Communicator) by Microsoft, pidgin-sipe plugin is unable to authenticate to a Microsoft Skype for Business server

A patch has been issued upstream, unfortunately I'm unable right now to install all the dependencies to rebuild the package and test it by myself.

This is the thread post in which the backward compatible patch has been announced:

http://sourceforge.net/p/sipe/bugs/285/?limit=25&page=1#a385

And this is the patch url:

http://sourceforge.net/p/sipe/bugs/_discuss/thread/1fd86f04/a385/attachment/0001-Fix-285-backport-for-1.18.x-1.19.x.patch

Maybe the package maintainer has all the required infrastructure to rebuild the patch. I can then test it for both architectures (i586 and x86_64).
Comment 1 Rémi Verschelde 2015-09-23 10:56:50 CEST
Neither pidgin-sipe nor pidgin have official maintainers, so CC'ing packagers who already did some work on either packages.

Keywords: (none) => PATCH
CC: (none) => fundawang, geiger.david68210, jani.valimaa, luigiwalser, mageia, shlomif
Source RPM: (none) => pidgin-sipe

Comment 2 David GEIGER 2015-09-23 11:46:47 CEST
Thanks for your report Giuseppe Merigo :)

Now fixed for mga5 Core/Updates_testing with upstream patch.

I'll do an update for Cauldron too with latest 1.20.0 version.
Comment 3 Giuseppe Merigo 2015-09-23 11:58:57 CEST
Thank you David, I'm enabling testing to see if works, I'll report as soon as I'm able.
Comment 4 Giuseppe Merigo 2015-09-23 12:07:56 CEST
I've installed pidgin-sipe-1.18.3-4.1.mga5.i586.rpm from core/updates i586 but I've the same problem as before. Maybe I have to tinker with the settings.
Comment 5 Giuseppe Merigo 2015-09-23 12:16:51 CEST
The same for the x86_64 version. I'll report back when I find which settings need to be applied (e.g. the correct user agent seems to be a requirement).
David GEIGER 2015-09-23 12:55:05 CEST

Assignee: bugsquad => geiger.david68210

Comment 6 Giuseppe Merigo 2015-09-24 10:50:19 CEST
Unfortunately I'm still unable to login. I tracked the issue to a permission denied on an http certificate request to my user on the Skype for Business server and requested assistance from its admins, but I think it will be a long time since there's no official support to Pidgin in my organization.

So I'll probably be unable to verify these updated packages for a long time.
Comment 7 David GEIGER 2016-03-08 17:32:55 CET
So, as there is no more reporter and no more test for this update for some months now I'll close this bug as a WONTFIX.

Could a sysadmin nuke from Core/Updates_testing repo the following packages, please?

- pidgin-sipe-1.18.3-4.1.mga5.i586.rpm
- pidgin-sipe-1.18.3-4.1.mga5.x86_64.rpm

from srpm:

- pidgin-sipe-1.18.3-4.1.mga5.src.rpm
Comment 8 David Walser 2016-03-08 17:34:18 CET
CC'ing the sysadmins.  See the request in Comment 7 to remove pidgin-sipe from updates_testing.  Thanks.

CC: (none) => sysadmin-bugs

Comment 9 Giuseppe Merigo 2016-03-08 18:35:16 CET
Could you please wait until tomorrow? We had an upgrade this week and I would like to try again. Of course I already have the packages but if I could test against the new configuration it could be worth trying. I will check tonight with the 64 bit version and tomorrow with the 32bit one.
Comment 10 Giuseppe Merigo 2016-03-08 19:08:30 CET
On a 64 bit system you can use these parameters to log in on skyper for business:

Server/Port: sipdir.online.lync.com:443
Connection type: Auto
User Agent: UCCAPI/4.0.7577.314 OC/4.0.7577.314 (Microsoft Lync 2010)
Auth. Scheme: TLS-DSK

I've been able to test only login and messaging but I don't remember if something else worked, it's just good enough for me.

Tomorrow I can test the 32 bit system.
Comment 11 David Walser 2016-03-08 19:16:15 CET
Thanks Giuseppe.

David, please assign to QA with an advisory.

Whiteboard: (none) => MGA5-64-OK

Comment 12 David GEIGER 2016-03-08 19:48:45 CET
Assigning to QA,


Advisory:
=============================
Microsoft seems to be rolling out a server configuration change that disables RC4 stream cipher support in SChannel (== Windows crypto implementation). Therefore (some) Office365 servers no longer accept the SIPE ClientHello message in the TLS-DSK handshake. The server responds without sending any TLS-DSK GSSAPI data back, i.e. sipe-tls is called with an empty TLS record.

Depending on the authentication settings the end user sees one of the following error messages:

   o Failed to authenticate to server
   o Incompatible authentication scheme chosen

We need to add (at least) AES-128/256-CBC stream cipher support in SIPE.


This update fix this issue applying the upstream patch.

=============================


Packages in 5/core/updates_testing:
========================
pidgin-sipe-1.18.3-4.1.mga5.i586.rpm
pidgin-sipe-1.18.3-4.1.mga5.x86_64.rpm

Source RPM: 
========================
pidgin-sipe-1.18.3-4.1.mga5.src.rpm

Assignee: geiger.david68210 => qa-bugs

Comment 13 Giuseppe Merigo 2016-03-09 09:25:40 CET
I confirm the 32 bit version working too.
Comment 14 David Walser 2016-03-09 13:13:47 CET
Thanks again Giuseppe.

Validating this now.  Please push to core/updates.  Thanks.

Keywords: PATCH => validated_update
Whiteboard: MGA5-64-OK => MGA5-64-OK MGA5-32-OK

Comment 15 claire robinson 2016-03-09 14:20:11 CET
Advisory uploaded.

Whiteboard: MGA5-64-OK MGA5-32-OK => has_procedure advisory MGA5-64-OK MGA5-32-OK

Comment 16 Mageia Robot 2016-03-10 00:28:05 CET
An update for this issue has been pushed to the Mageia Updates repository.

http://advisories.mageia.org/MGAA-2016-0039.html

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


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