CVE-2017-2625: Medium severity libxdmcp6 vulnerability

Published Feb 20, 2017
·
Updated

It was discovered that libXdmcp before 1.1.2 including used weak entropy to generate session keys. On a multi-user system using xdmcp, a local attacker could potentially use information available from the process list to brute force the key, allowing them to hijack other users' sessions.

Other sources

The following flaw was reported in libXdmcp:

Summary and Impact ------------------

XDM uses weak entropy to generate the session keys on non-BSD systems:

void XdmcpGenerateKey (XdmAuthKeyPtr key) { #ifndef HAVEARC4RANDOMBUF long lowbits, highbits; srandom ((int)getpid() ^ time((Timet )0)); lowbits = random (); highbits = random (); getbits (lowbits, key->data); getbits (highbits, key->data + 4); #else arc4randombuf(key->data, 8); #endif }

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.

Red Hat

Affected Software

8 affected components
X.Org libXdmcp<1.1.2
redhat Enterprise Linux=7.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Server Aus=7.4
redhat Enterprise Linux Server Eus=7.4
redhat Enterprise Linux Server Eus=7.5
redhat Enterprise Linux Workstation=7.0

Event History

Feb 20, 2017
Data Sourced
via Red Hat·09:25 AM
DescriptionSeverityAffected Software
Jul 27, 2018
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2017-2625?

CVE-2017-2625 has been assigned a high severity rating due to the potential for local attackers to hijack user sessions.

2

How do I fix CVE-2017-2625?

To mitigate CVE-2017-2625, update libXdmcp to version 1.1.2 or later.

3

Which systems are affected by CVE-2017-2625?

CVE-2017-2625 affects versions of libXdmcp prior to 1.1.2 on multi-user systems utilizing XDMCP.

4

Can CVE-2017-2625 be exploited remotely?

CVE-2017-2625 is not remotely exploitable; it requires local access to the system.

5

What are the consequences of an exploited CVE-2017-2625 vulnerability?

Exploiting CVE-2017-2625 allows attackers to potentially hijack other users' sessions and access sensitive information.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203