Information disclosure in Debian Linux - CVE-2017-2624
Published: July 27, 2018 / Updated: August 8, 2020
Vulnerability details
The vulnerability allows a local authenticated user to execute arbitrary code.
It was found that xorg-x11-server before 1.19.0 including uses memcmp() to check the received MIT cookie against a series of valid cookies. If the cookie is correct, it is allowed to attach to the Xorg session. Since most memcmp() implementations return after an invalid byte is seen, this causes a time difference between a valid and invalid byte, which could allow an efficient brute force attack.
Affected software
Gentoo Linux
Fedora
Ubuntu
xorg-server (Debian package)
xserver-xorg-core (Ubuntu package)
xserver-xorg-core-lts-xenial (Ubuntu package)
xserver-xorg-core-hwe-16.04 (Ubuntu package)
nx-libs
x2goserver
How to mitigate CVE-2017-2624
xserver-xorg-core (Ubuntu package) - addressed in versions 2:1.15.1-0ubuntu2.9, 2:1.18.4-0ubuntu0.3, 2:1.19.3-1ubuntu1.1
xserver-xorg-core-lts-xenial (Ubuntu package) - update to 2:1.18.3-1ubuntu2.3~trusty2
xserver-xorg-core-hwe-16.04 (Ubuntu package) - update to 2:1.18.4-1ubuntu6.1~16.04.2
nx-libs - addressed in versions 3.5.0.33-1.el6, 3.5.0.33-1.fc25, 3.5.0.33-4.fc26, 3.5.0.33-4.fc27
x2goserver - addressed in versions 4.0.1.21-1.el6, 4.0.1.21-1.fc25, 4.0.1.22-2.fc26, 4.0.1.22-2.fc27
External References
- http://www.securityfocus.com/bid/96480
- http://www.securitytracker.com/id/1037919
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-2624
- https://gitlab.freedesktop.org/xorg/xserver/commit/d7ac755f0b618eb1259d93c8a16ec6e39a18627c
- https://lists.debian.org/debian-lts-announce/2017/11/msg00032.html
- https://security.gentoo.org/glsa/201704-03
- https://security.gentoo.org/glsa/201710-30
- https://www.x41-dsec.de/lab/advisories/x41-2017-001-xorg/
Related Security Bulletins
- Information disclosure in Debian Linux
- Gentoo update for X.Org Server
- Gentoo update for X.Org
- Fedora 26 update for nx-libs, x2goserver
- Fedora 27 update for nx-libs, x2goserver
- Fedora EPEL 6 update for nx-libs, x2goserver
- Fedora 25 update for nx-libs, x2goserver
- Ubuntu update for xorg-server, xorg-server-hwe-16.04, xorg-server-lts-xenial
- Debian update for xorg-server