Auth bypass in X.org X Server
CVE-2018-14665
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.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.6 (Medium). Vector: CVSS:3.0/AV:P/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.272, 98.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- X.org X Server
- Canonical Ubuntu Linux — versions 16.04, 18.04, 18.10
- Debian Linux — versions 9.0
- Red Hat Enterprise Linux Desktop — versions 7.0
- Red Hat Enterprise Linux Server — versions 7.0
- Red Hat Enterprise Linux Server Aus — versions 7.6
- Red Hat Enterprise Linux Server Eus — versions 7.6
- Red Hat Enterprise Linux Server Tus — versions 7.6
- Red Hat Enterprise Linux Workstation — versions 7.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Metasploit modules
- [Exploit · Great] Xorg X11 Server Local Privilege Escalation
- [Exploit · Good] Xorg X11 Server SUID modulepath Privilege Escalation
- [Exploit · Good] Xorg X11 Server SUID logfile Privilege Escalation
2 public repositories with exploit or proof-of-concept code for this CVE:
- jas502n/CVE-2018-14665 (17 stars, last pushed 2018-10-27): OpenBsd_CVE-2018-14665
- bolonobolo/CVE-2018-14665 (last pushed 2019-03-22)
Also mentioned in 35 other repositories (0xdea/exploits, 0xT11/CVE-POC, 1o24er/RedTeam, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.exploit-db.com/exploits/45742/ (Exploit, exploit, Third Party Advisory, VDB Entry)
- [xorg-announce] 20181025 X.Org security advisory: October 25, 2018 (Vendor Advisory, mailing-list, Patch, Mitigation)
- www.exploit-db.com/exploits/45922/ (Exploit, exploit, Third Party Advisory, VDB Entry)
- USN-3802-1 (vendor-advisory, Third Party Advisory)
- gitlab.freedesktop.org/xorg/xserver/commit/50c0cf885a6e91c0ea71fb49fa8f1b7c86fe… (Patch, Third Party Advisory)
- www.exploit-db.com/exploits/45697/ (Exploit, exploit, Third Party Advisory, VDB Entry)
- RHSA-2018:3410 (vendor-advisory, Third Party Advisory)
- www.securityfocus.com/bid/105741 (Third Party Advisory, VDB Entry, vdb-entry)
- www.exploit-db.com/exploits/45908/ (Exploit, exploit, Third Party Advisory, VDB Entry)
- www.securepatterns.com/2018/10/cve-2018-14665-xorg-x-server.html (Exploit, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.