CVE-2018-14665
A flaw was found in xorg-x11-server before 1.20.3
Check your servers for CVE-2018-14665
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2018-14665 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
A flaw was found in xorg-x11-server before 1.20.3. An incorrect permission check for -modulepath and -logfile options when starting Xorg. X server allows unprivileged users with the ability to log in to the system via physical console to escalate their privileges and run arbitrary code under root privileges.
Exploitation
EPSS 27.2%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 98.5% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2018-14665 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2018-14665RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2018-14665Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2018-14665
trivy image --scanners vuln IMAGE | grep CVE-2018-14665
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- USN-3802-1 usn.ubuntu.com · vendor advisory
- https://gitlab.freedesktop.org/xorg/xserver/commit/50c0cf885a6e91c0ea71fb49fa8f1b7c86fe330e gitlab.freedesktop.org
- RHSA-2018:3410 access.redhat.com · vendor advisory
- GLSA-201810-09 security.gentoo.org · vendor advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14665 bugzilla.redhat.com
- https://gitlab.freedesktop.org/xorg/xserver/commit/8a59e3b7dbb30532a7c3769c555e00d7c4301170 gitlab.freedesktop.org
- DSA-4328 debian.org · vendor advisory
Exploits and proof of concept
- 45742 exploit-db.com · exploit
- 45922 exploit-db.com · exploit
- 45697 exploit-db.com · exploit
- 45908 exploit-db.com · exploit
- 46142 exploit-db.com · exploit
- 45832 exploit-db.com · exploit
- 45938 exploit-db.com · exploit
Other references
- [xorg-announce] 20181025 X.Org security advisory: October 25, 2018 lists.x.org · mailing list
- 105741 securityfocus.com · vdb entry
- https://www.securepatterns.com/2018/10/cve-2018-14665-xorg-x-server.html securepatterns.com
- 1041948 securitytracker.com · vdb entry
- http://packetstormsecurity.com/files/154942/Xorg-X11-Server-SUID-modulepath-Privilege-Escalation.html packetstormsecurity.com
- http://packetstormsecurity.com/files/155276/Xorg-X11-Server-Local-Privilege-Escalation.html packetstormsecurity.com
Source: the record CVE-2018-14665 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse