{"id":"CVE-2018-14665","published":"2018-10-25T20:00:00Z","modified":"2024-08-05T09:38:13Z","title":"A flaw was found in xorg-x11-server before 1.20.3","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"A flaw in xorg-x11-server before version 1.20.3 lies in the handling of the -modulepath and -logfile options when the Xorg X server starts, where an incorrect permission check is applied. An attacker with a local, unprivileged account who can log in through the physical console can exploit this to escalate privileges and run arbitrary code with root privileges.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T13:44:32Z"},"cvss":null,"epss":{"score":0.27241,"percentile":0.98057,"date":"2026-11-01","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2020-10-01","exploitedFirstSeen":"2020-10-01","ransomware":true,"evidence":[{"url":"https://know.netenrich.com/blog/ragnar-locker-petya-and-ryuk-know-your-ransomware/","date":"2020-10-01"}],"evidenceTotal":1,"provenance":"source"},"exploited":true,"otx":{"pulseCount":1,"pulses":[{"name":"Microsoft Telnet Server MS-TNAP Guest Access Restriction Bypass Exploit","url":"https://otx.alienvault.com/pulse/68132cf4352ace6544f645c3","created":"2025-05-01"}],"provenance":"machine"},"cwes":[],"references":[{"url":"https://www.exploit-db.com/exploits/45742/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://lists.x.org/archives/xorg-announce/2018-October/002927.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.exploit-db.com/exploits/45922/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://usn.ubuntu.com/3802-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://gitlab.freedesktop.org/xorg/xserver/commit/50c0cf885a6e91c0ea71fb49fa8f1b7c86fe330e","tags":["x_refsource_CONFIRM"]},{"url":"https://www.exploit-db.com/exploits/45697/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3410","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.securityfocus.com/bid/105741","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://www.exploit-db.com/exploits/45908/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://www.securepatterns.com/2018/10/cve-2018-14665-xorg-x-server.html","tags":["x_refsource_MISC"]},{"url":"https://www.exploit-db.com/exploits/46142/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://security.gentoo.org/glsa/201810-09","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://www.securitytracker.com/id/1041948","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14665","tags":["x_refsource_CONFIRM"]},{"url":"https://www.exploit-db.com/exploits/45832/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://gitlab.freedesktop.org/xorg/xserver/commit/8a59e3b7dbb30532a7c3769c555e00d7c4301170","tags":["x_refsource_CONFIRM"]},{"url":"https://www.exploit-db.com/exploits/45938/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://www.debian.org/security/2018/dsa-4328","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://packetstormsecurity.com/files/154942/Xorg-X11-Server-SUID-modulepath-Privilege-Escalation.html","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/155276/Xorg-X11-Server-Local-Privilege-Escalation.html","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2018-6560","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2018-6560","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":45697,"url":"https://www.exploit-db.com/exploits/45697","title":"xorg-x11-server < 1.20.3 - Local Privilege Escalation","type":"local","platform":"multiple","date":"2018-10-25","verified":false,"provenance":"source"},{"id":45742,"url":"https://www.exploit-db.com/exploits/45742","title":"xorg-x11-server 1.20.3 - Privilege Escalation","type":"local","platform":"openbsd","date":"2018-10-30","verified":false,"provenance":"source"},{"id":45832,"url":"https://www.exploit-db.com/exploits/45832","title":"xorg-x11-server < 1.20.1 - Local Privilege Escalation","type":"local","platform":"linux","date":"2018-11-13","verified":false,"provenance":"source"},{"id":45908,"url":"https://www.exploit-db.com/exploits/45908","title":"Xorg X11 Server - SUID privilege escalation (Metasploit)","type":"local","platform":"multiple","date":"2018-11-26","verified":true,"provenance":"source"},{"id":45908,"url":"https://www.exploit-db.com/exploits/45908","title":"Xorg X11 Server - SUID privilege escalation (Metasploit)","type":"local","platform":"multiple","date":"2018-11-26","verified":true,"provenance":"source"},{"id":45922,"url":"https://www.exploit-db.com/exploits/45922","title":"xorg-x11-server < 1.20.3 - 'modulepath' Local Privilege Escalation","type":"local","platform":"multiple","date":"2018-11-30","verified":false,"provenance":"source"},{"id":45938,"url":"https://www.exploit-db.com/exploits/45938","title":"Xorg X11 Server (AIX) - Local Privilege Escalation","type":"local","platform":"aix","date":"2018-12-04","verified":false,"provenance":"source"},{"id":46142,"url":"https://www.exploit-db.com/exploits/46142","title":"xorg-x11-server < 1.20.3 (Solaris 11) - 'inittab Local Privilege Escalation","type":"local","platform":"solaris","date":"2019-01-14","verified":false,"provenance":"source"},{"id":47701,"url":"https://www.exploit-db.com/exploits/47701","title":"Xorg X11 Server - Local Privilege Escalation (Metasploit)","type":"local","platform":"unix","date":"2019-11-20","verified":true,"provenance":"source"},{"id":47701,"url":"https://www.exploit-db.com/exploits/47701","title":"Xorg X11 Server - Local Privilege Escalation (Metasploit)","type":"local","platform":"unix","date":"2019-11-20","verified":true,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":10,"earliest":"2018-10-25"},"pocGithub":{"count":1,"skipped":1,"earliest":"2018-10-27","earliestUrl":"https://github.com/jas502n/CVE-2018-14665","repos":[{"name":"jas502n/CVE-2018-14665","url":"https://github.com/jas502n/CVE-2018-14665","stars":17,"created":"2018-10-27"}]},"metasploit":[{"name":"Xorg X11 Server Local Privilege Escalation","module":"exploit/aix/local/xorg_x11_server","type":"exploit","disclosureDate":"2018-10-25","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/aix/local/xorg_x11_server.rb"},{"name":"Xorg X11 Server SUID logfile Privilege Escalation","module":"exploit/multi/local/xorg_x11_suid_server","type":"exploit","disclosureDate":"2018-10-25","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/local/xorg_x11_suid_server.rb"},{"name":"Xorg X11 Server SUID modulepath Privilege Escalation","module":"exploit/multi/local/xorg_x11_suid_server_modulepath","type":"exploit","disclosureDate":"2018-10-25","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/local/xorg_x11_suid_server_modulepath.rb"}],"first":{"date":"2018-10-25","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/45697"},"provenance":"source"},"exploitRefs":["https://www.exploit-db.com/exploits/45742/","https://www.exploit-db.com/exploits/45922/","https://www.exploit-db.com/exploits/45697/","https://www.exploit-db.com/exploits/45908/","https://www.exploit-db.com/exploits/46142/","https://www.exploit-db.com/exploits/45832/","https://www.exploit-db.com/exploits/45938/","http://packetstormsecurity.com/files/154942/Xorg-X11-Server-SUID-modulepath-Privilege-Escalation.html","http://packetstormsecurity.com/files/155276/Xorg-X11-Server-Local-Privilege-Escalation.html"],"flow":[],"timeline":[{"date":"2018-10-25","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2018-14665","provenance":"source"},{"date":"2018-10-25","kind":"exploit-public","label":"First public exploit: Exploit-DB (EDB-45697); later: Metasploit 2018-10-25, PoC-in-GitHub 2018-10-27","url":"https://www.exploit-db.com/exploits/45697","provenance":"source"},{"date":"2020-10-01","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://know.netenrich.com/blog/ragnar-locker-petya-and-ryuk-know-your-ransomware/","provenance":"source"}],"speed":{"daysToPublicExploit":0,"firstExploitFrom":"Exploit-DB","daysToKev":null},"priority":{"score":70.3,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 2222 days ago"},{"name":"Known ransomware use","points":10.0,"detail":"VulnCheck KEV: Known"},{"name":"EPSS percentile","points":19.61,"detail":"percentile 0.9806"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"7 NVD references tagged Exploit; 10 Exploit-DB entries; 2 NVD exploit links; 1 PoC-in-GitHub repo; 3 Metasploit modules"},{"name":"Mentioned in OTX pulses","points":0.68,"detail":"1 pulse"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}