Bug 20377 - libxdmcp new security issue CVE-2017-2625
Summary: libxdmcp new security issue CVE-2017-2625
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Security (show other bugs)
Version: 5
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact: Sec team
URL:
Whiteboard: MGA5-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2017-03-01 12:20 CET by David Walser
Modified: 2017-09-07 11:08 CEST (History)
5 users (show)

See Also:
Source RPM: libxdmcp-1.1.2-4.mga6.src.rpm
CVE: CVE-2017-2625
Status comment:


Attachments

Description David Walser 2017-03-01 12:20:47 CET
Upstream has issued an advisory on February 28:
http://openwall.com/lists/oss-security/2017/02/28/3
https://www.x41-dsec.de/lab/advisories/x41-2017-001-xorg/

More info available here:
http://openwall.com/lists/oss-security/2017/03/01/1

Mageia 5 is also affected.
David Walser 2017-03-01 12:20:57 CET

Whiteboard: (none) => MGA5TOO

Comment 1 Thierry Vignaud 2017-03-01 14:25:44 CET
I added BR on libbsd-devel for cauldron:
http://svnweb.mageia.org/packages?view=revision&revision=1088369
Comment 2 Nicolas Lécureuil 2017-04-24 21:57:46 CEST
thierry, this is a fix for this CVE ?

CC: (none) => mageia

Nicolas Lécureuil 2017-05-03 23:37:54 CEST

CVE: (none) => CVE-2017-2625

Comment 3 Nicolas Lécureuil 2017-05-03 23:40:15 CEST
confirmed with debian, this fixes the CVE

Version: Cauldron => 5
Whiteboard: MGA5TOO => (none)

Comment 4 Nicolas Lécureuil 2017-08-11 12:42:04 CEST
pushed in updates_testing for mageia 5

src.rpm:    libxdmcp-1.1.1-7.1.mga5

Assignee: thierry.vignaud => qa-bugs

Comment 5 David Walser 2017-08-11 14:14:54 CEST
Advisory:
========================

Updated libxdmcp packages fix security vulnerability:

XDM uses weak entropy to generate the session keys on non BSD systems. On multi
user systems it might possible to check the PID of the process and how long it
is running to get an estimate of these values, which could allow an attacker to
attach to the session of a different user (CVE-2017-2625).

References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-2625
https://www.x41-dsec.de/lab/advisories/x41-2017-001-xorg/
========================

Updated packages in core/updates_testing:
========================
libxdmcp6-1.1.1-7.1.mga5
libxdmcp-devel-1.1.1-7.1.mga

from libxdmcp-1.1.1-7.1.mga5.src.rpm
Comment 6 Herman Viaene 2017-08-26 10:29:42 CEST
MGA5-32 on Asus A6000VM Xfce
No installation issues
Under # urpmq --whatrequires libxdmcp6
I found gdm, kdm and xdm, so I rebooted and all went normal.
Most of the other dependencies are servers, and I have no idea how to trace those.
Someone else to jugde if this is suffucient to OK.

CC: (none) => herman.viaene

Comment 7 PC LX 2017-09-03 19:22:54 CEST
Installed and tested without issues.

Have this package installed for several days and javen't noticed any regressions.

Tests included:
- running KDM, xdm and Xorg as usual;
- running multiple user sessions at the same time;
- using xauth to copy a session MIT-MAGIC-COOKIE-1 to a remove machine and running some remote X11 applications;
- X11 tunnelling through ssh.

Didn't actually test a remote X11 session using XDMCP but the changes were related to MIT-MAGIC-COOKIE-1 so the tests should cover the changed code.

System: Mageia 5, x86_64, Plasma, Intel CPU, nVidia GPU using proprietary driver nvidia340.

$ uname -a
Linux marte 4.4.82-desktop-1.mga5 #1 SMP Sun Aug 13 18:03:58 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
$ LANGUAGE=C rpm -q $( urpmq --whatrequires lib64xdmcp6 | sort -u) | grep -v "not installed"
kdm-4.11.22-1.mga5
lib64xcb1-1.11.1-1.mga5
lib64xdmcp6-1.1.1-7.1.mga5
lib64xdmcp-devel-1.1.1-7.1.mga5
x11-server-xorg-1.16.4-2.2.mga5
xdm-1.1.11-14.mga5

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

Lewis Smith 2017-09-06 11:42:14 CEST

Whiteboard: MGA5-64-OK => MGA5-64-OK advisory
Keywords: (none) => validated_update
CC: (none) => lewyssmith, sysadmin-bugs

Comment 8 Samuel Verschelde 2017-09-06 15:10:48 CEST
Moving 'advisory' from whiteboard to keywords now that madb has been updated to handle that keyword.

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

Comment 9 Mageia Robot 2017-09-07 11:08:08 CEST
An update for this issue has been pushed to the Mageia Updates repository.

http://advisories.mageia.org/MGASA-2017-0330.html

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


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