ID CVE-2018-14665
Summary 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.
References
Vulnerable Configurations
  • X.Org xorg-server 1.7.0
    cpe:2.3:a:x.org:xorg-server:1.7.0
  • X.Org xorg-server 1.7.0.901
    cpe:2.3:a:x.org:xorg-server:1.7.0.901
  • X.Org xorg-server 1.7.0.902
    cpe:2.3:a:x.org:xorg-server:1.7.0.902
  • X.Org xorg-server 1.7.1
    cpe:2.3:a:x.org:xorg-server:1.7.1
  • X.Org xorg-server 1.7.1.901
    cpe:2.3:a:x.org:xorg-server:1.7.1.901
  • X.Org xorg-server 1.7.1.902
    cpe:2.3:a:x.org:xorg-server:1.7.1.902
  • X.Org xorg-server 1.7.2
    cpe:2.3:a:x.org:xorg-server:1.7.2
  • X.Org xorg-server 1.7.2.901
    cpe:2.3:a:x.org:xorg-server:1.7.2.901
  • X.Org xorg-server 1.7.2.902
    cpe:2.3:a:x.org:xorg-server:1.7.2.902
  • X.Org xorg-server 1.7.3
    cpe:2.3:a:x.org:xorg-server:1.7.3
  • X.Org xorg-server 1.7.3.901
    cpe:2.3:a:x.org:xorg-server:1.7.3.901
  • X.Org xorg-server 1.7.3.902
    cpe:2.3:a:x.org:xorg-server:1.7.3.902
  • X.Org xorg-server 1.7.4
    cpe:2.3:a:x.org:xorg-server:1.7.4
  • X.Org xorg-server 1.7.4.901
    cpe:2.3:a:x.org:xorg-server:1.7.4.901
  • X.Org xorg-server 1.7.4.902
    cpe:2.3:a:x.org:xorg-server:1.7.4.902
  • X.Org xorg-server 1.7.5
    cpe:2.3:a:x.org:xorg-server:1.7.5
  • X.Org xorg-server 1.7.5.901
    cpe:2.3:a:x.org:xorg-server:1.7.5.901
  • X.Org xorg-server 1.7.5.902
    cpe:2.3:a:x.org:xorg-server:1.7.5.902
  • X.Org xorg-server 1.7.6
    cpe:2.3:a:x.org:xorg-server:1.7.6
  • X.Org xorg-server 1.7.6.901
    cpe:2.3:a:x.org:xorg-server:1.7.6.901
  • X.Org xorg-server 1.7.6.902
    cpe:2.3:a:x.org:xorg-server:1.7.6.902
  • X.Org xorg-server 1.7.7
    cpe:2.3:a:x.org:xorg-server:1.7.7
  • X.Org xorg-server 1.7.99.1
    cpe:2.3:a:x.org:xorg-server:1.7.99.1
  • X.Org xorg-server 1.7.99.2
    cpe:2.3:a:x.org:xorg-server:1.7.99.2
  • X.Org xorg-server 1.7.99.901
    cpe:2.3:a:x.org:xorg-server:1.7.99.901
  • X.Org xorg-server 1.7.99.902
    cpe:2.3:a:x.org:xorg-server:1.7.99.902
  • X.Org xorg-server 1.8.0
    cpe:2.3:a:x.org:xorg-server:1.8.0
  • X.Org xorg-server 1.8.0.901
    cpe:2.3:a:x.org:xorg-server:1.8.0.901
  • X.Org xorg-server 1.8.0.902
    cpe:2.3:a:x.org:xorg-server:1.8.0.902
  • X.Org xorg-server 1.8.1
    cpe:2.3:a:x.org:xorg-server:1.8.1
  • X.Org xorg-server 1.8.1.901
    cpe:2.3:a:x.org:xorg-server:1.8.1.901
  • X.Org xorg-server 1.8.1.902
    cpe:2.3:a:x.org:xorg-server:1.8.1.902
  • X.Org xorg-server 1.8.2
    cpe:2.3:a:x.org:xorg-server:1.8.2
  • X.Org xorg-server 1.8.2.901
    cpe:2.3:a:x.org:xorg-server:1.8.2.901
  • X.Org xorg-server 1.8.2.902
    cpe:2.3:a:x.org:xorg-server:1.8.2.902
  • X.Org xorg-server 1.8.99.901
    cpe:2.3:a:x.org:xorg-server:1.8.99.901
  • X.Org xorg-server 1.8.99.902
    cpe:2.3:a:x.org:xorg-server:1.8.99.902
  • X.Org xorg-server 1.8.99.903
    cpe:2.3:a:x.org:xorg-server:1.8.99.903
  • X.Org xorg-server 1.8.99.904
    cpe:2.3:a:x.org:xorg-server:1.8.99.904
  • X.Org xorg-server 1.8.99.905
    cpe:2.3:a:x.org:xorg-server:1.8.99.905
  • X.Org xorg-server 1.9.0
    cpe:2.3:a:x.org:xorg-server:1.9.0
  • X.Org xorg-server 1.9.0.901
    cpe:2.3:a:x.org:xorg-server:1.9.0.901
  • X.Org xorg-server 1.9.0.902
    cpe:2.3:a:x.org:xorg-server:1.9.0.902
  • X.Org xorg-server 1.9.1
    cpe:2.3:a:x.org:xorg-server:1.9.1
  • X.Org xorg-server 1.9.2
    cpe:2.3:a:x.org:xorg-server:1.9.2
  • X.Org xorg-server 1.9.2.901
    cpe:2.3:a:x.org:xorg-server:1.9.2.901
  • X.Org xorg-server 1.9.2.902
    cpe:2.3:a:x.org:xorg-server:1.9.2.902
  • X.Org xorg-server 1.9.3
    cpe:2.3:a:x.org:xorg-server:1.9.3
  • X.Org xorg-server 1.9.3.901
    cpe:2.3:a:x.org:xorg-server:1.9.3.901
  • X.Org xorg-server 1.9.3.902
    cpe:2.3:a:x.org:xorg-server:1.9.3.902
  • X.Org xorg-server 1.9.4
    cpe:2.3:a:x.org:xorg-server:1.9.4
  • X.Org xorg-server 1.9.4.901
    cpe:2.3:a:x.org:xorg-server:1.9.4.901
  • X.Org xorg-server 1.9.5
    cpe:2.3:a:x.org:xorg-server:1.9.5
  • X.Org xorg-server 1.9.99.901
    cpe:2.3:a:x.org:xorg-server:1.9.99.901
  • X.Org xorg-server 1.9.99.902
    cpe:2.3:a:x.org:xorg-server:1.9.99.902
  • X.Org xorg-server 1.9.99.903
    cpe:2.3:a:x.org:xorg-server:1.9.99.903
  • X.Org xorg-server 1.10.0
    cpe:2.3:a:x.org:xorg-server:1.10.0
  • X.Org xorg-server 1.10.0.901
    cpe:2.3:a:x.org:xorg-server:1.10.0.901
  • X.Org xorg-server 1.10.0.902
    cpe:2.3:a:x.org:xorg-server:1.10.0.902
  • X.Org xorg-server 1.10.1
    cpe:2.3:a:x.org:xorg-server:1.10.1
  • X.Org xorg-server 1.10.1.901
    cpe:2.3:a:x.org:xorg-server:1.10.1.901
  • X.Org xorg-server 1.10.1.902
    cpe:2.3:a:x.org:xorg-server:1.10.1.902
  • X.Org xorg-server 1.10.2
    cpe:2.3:a:x.org:xorg-server:1.10.2
  • X.Org xorg-server 1.10.2.901
    cpe:2.3:a:x.org:xorg-server:1.10.2.901
  • X.Org xorg-server 1.10.2.902
    cpe:2.3:a:x.org:xorg-server:1.10.2.902
  • X.Org xorg-server 1.10.3
    cpe:2.3:a:x.org:xorg-server:1.10.3
  • X.Org xorg-server 1.10.3.901
    cpe:2.3:a:x.org:xorg-server:1.10.3.901
  • X.Org xorg-server 1.10.3.902
    cpe:2.3:a:x.org:xorg-server:1.10.3.902
  • X.Org xorg-server 1.10.4
    cpe:2.3:a:x.org:xorg-server:1.10.4
  • X.Org xorg-server 1.10.6
    cpe:2.3:a:x.org:xorg-server:1.10.6
  • X.Org xorg-server 1.10.99.901
    cpe:2.3:a:x.org:xorg-server:1.10.99.901
  • X.Org xorg-server 1.10.99.902
    cpe:2.3:a:x.org:xorg-server:1.10.99.902
  • X.Org xorg-server 1.11.0
    cpe:2.3:a:x.org:xorg-server:1.11.0
  • X.Org xorg-server 1.11.1
    cpe:2.3:a:x.org:xorg-server:1.11.1
  • X.Org xorg-server 1.11.1.901
    cpe:2.3:a:x.org:xorg-server:1.11.1.901
  • X.Org xorg-server 1.11.1.902
    cpe:2.3:a:x.org:xorg-server:1.11.1.902
  • X.Org xorg-server 1.11.2
    cpe:2.3:a:x.org:xorg-server:1.11.2
  • X.Org xorg-server 1.11.2.901
    cpe:2.3:a:x.org:xorg-server:1.11.2.901
  • X.Org xorg-server 1.11.2.902
    cpe:2.3:a:x.org:xorg-server:1.11.2.902
  • X.Org xorg-server 1.11.3
    cpe:2.3:a:x.org:xorg-server:1.11.3
  • X.Org xorg-server 1.11.3.901
    cpe:2.3:a:x.org:xorg-server:1.11.3.901
  • X.Org xorg-server 1.11.3.902
    cpe:2.3:a:x.org:xorg-server:1.11.3.902
  • X.Org xorg-server 1.11.4
    cpe:2.3:a:x.org:xorg-server:1.11.4
  • X.Org xorg-server 1.11.99.1
    cpe:2.3:a:x.org:xorg-server:1.11.99.1
  • X.Org xorg-server 1.11.99.2
    cpe:2.3:a:x.org:xorg-server:1.11.99.2
  • X.Org xorg-server 1.11.99.901
    cpe:2.3:a:x.org:xorg-server:1.11.99.901
  • X.Org xorg-server 1.11.99.902
    cpe:2.3:a:x.org:xorg-server:1.11.99.902
  • X.Org xorg-server 1.11.99.903
    cpe:2.3:a:x.org:xorg-server:1.11.99.903
  • X.Org xorg-server 1.12.0
    cpe:2.3:a:x.org:xorg-server:1.12.0
  • X.Org xorg-server 1.12.0.901
    cpe:2.3:a:x.org:xorg-server:1.12.0.901
  • X.Org xorg-server 1.12.0.902
    cpe:2.3:a:x.org:xorg-server:1.12.0.902
  • X.Org xorg-server 1.12.1.901
    cpe:2.3:a:x.org:xorg-server:1.12.1.901
  • X.Org xorg-server 1.12.1.902
    cpe:2.3:a:x.org:xorg-server:1.12.1.902
  • X.Org xorg-server 1.12.2
    cpe:2.3:a:x.org:xorg-server:1.12.2
  • X.Org xorg-server 1.12.2.901
    cpe:2.3:a:x.org:xorg-server:1.12.2.901
  • X.Org xorg-server 1.12.2.902
    cpe:2.3:a:x.org:xorg-server:1.12.2.902
  • X.Org xorg-server 1.12.3
    cpe:2.3:a:x.org:xorg-server:1.12.3
  • X.Org xorg-server 1.12.3.901
    cpe:2.3:a:x.org:xorg-server:1.12.3.901
  • X.Org xorg-server 1.12.3.902
    cpe:2.3:a:x.org:xorg-server:1.12.3.902
  • X.Org xorg-server 1.12.4
    cpe:2.3:a:x.org:xorg-server:1.12.4
  • X.Org xorg-server 1.12.99.901
    cpe:2.3:a:x.org:xorg-server:1.12.99.901
  • X.Org xorg-server 1.12.99.902
    cpe:2.3:a:x.org:xorg-server:1.12.99.902
  • X.Org xorg-server 1.12.99.903
    cpe:2.3:a:x.org:xorg-server:1.12.99.903
  • X.Org xorg-server 1.12.99.904
    cpe:2.3:a:x.org:xorg-server:1.12.99.904
  • X.Org xorg-server 1.12.99.905
    cpe:2.3:a:x.org:xorg-server:1.12.99.905
  • X.Org xorg-server 1.13.0
    cpe:2.3:a:x.org:xorg-server:1.13.0
  • X.Org xorg-server 1.13.0.901
    cpe:2.3:a:x.org:xorg-server:1.13.0.901
  • X.Org xorg-server 1.13.0.902
    cpe:2.3:a:x.org:xorg-server:1.13.0.902
  • X.Org xorg-server 1.13.1
    cpe:2.3:a:x.org:xorg-server:1.13.1
  • X.Org xorg-server 1.13.1.901
    cpe:2.3:a:x.org:xorg-server:1.13.1.901
  • X.Org xorg-server 1.13.2
    cpe:2.3:a:x.org:xorg-server:1.13.2
  • X.Org xorg-server 1.13.2.901
    cpe:2.3:a:x.org:xorg-server:1.13.2.901
  • X.Org xorg-server 1.13.2.902
    cpe:2.3:a:x.org:xorg-server:1.13.2.902
  • X.Org xorg-server 1.13.3
    cpe:2.3:a:x.org:xorg-server:1.13.3
  • X.Org xorg-server 1.13.4
    cpe:2.3:a:x.org:xorg-server:1.13.4
  • X.Org xorg-server 1.13.99.901
    cpe:2.3:a:x.org:xorg-server:1.13.99.901
  • X.Org xorg-server 1.13.99.902
    cpe:2.3:a:x.org:xorg-server:1.13.99.902
  • X.Org xorg-server 1.14.0
    cpe:2.3:a:x.org:xorg-server:1.14.0
  • X.Org xorg-server 1.14.1
    cpe:2.3:a:x.org:xorg-server:1.14.1
  • X.Org xorg-server 1.14.1.901
    cpe:2.3:a:x.org:xorg-server:1.14.1.901
  • X.Org xorg-server 1.14.1.902
    cpe:2.3:a:x.org:xorg-server:1.14.1.902
  • X.Org xorg-server 1.14.2
    cpe:2.3:a:x.org:xorg-server:1.14.2
  • X.Org xorg-server 1.14.2 release candidate 1
    cpe:2.3:a:x.org:xorg-server:1.14.2:rc1
  • X.Org xorg-server 1.14.2.901
    cpe:2.3:a:x.org:xorg-server:1.14.2.901
  • X.Org xorg-server 1.14.2.902
    cpe:2.3:a:x.org:xorg-server:1.14.2.902
  • X.Org xorg-server 1.14.3
    cpe:2.3:a:x.org:xorg-server:1.14.3
  • X.Org xorg-server 1.14.3.901
    cpe:2.3:a:x.org:xorg-server:1.14.3.901
  • X.Org xorg-server 1.14.3.901 release candidate 1
    cpe:2.3:a:x.org:xorg-server:1.14.3.901:rc1
  • X.Org xorg-server 1.14.4
    cpe:2.3:a:x.org:xorg-server:1.14.4
  • X.Org xorg-server 1.14.4.901
    cpe:2.3:a:x.org:xorg-server:1.14.4.901
  • X.Org xorg-server 1.14.5
    cpe:2.3:a:x.org:xorg-server:1.14.5
  • X.Org xorg-server 1.14.5.901
    cpe:2.3:a:x.org:xorg-server:1.14.5.901
  • X.Org xorg-server 1.14.6
    cpe:2.3:a:x.org:xorg-server:1.14.6
  • X.Org xorg-server 1.14.7
    cpe:2.3:a:x.org:xorg-server:1.14.7
  • X.Org xorg-server 1.14.99.1
    cpe:2.3:a:x.org:xorg-server:1.14.99.1
  • X.Org xorg-server 1.14.99.2
    cpe:2.3:a:x.org:xorg-server:1.14.99.2
  • X.Org xorg-server 1.14.99.3
    cpe:2.3:a:x.org:xorg-server:1.14.99.3
  • X.Org xorg-server 1.14.99.901
    cpe:2.3:a:x.org:xorg-server:1.14.99.901
  • X.Org xorg-server 1.14.99.902
    cpe:2.3:a:x.org:xorg-server:1.14.99.902
  • X.Org xorg-server 1.14.99.903
    cpe:2.3:a:x.org:xorg-server:1.14.99.903
  • X.Org xorg-server 1.14.99.904
    cpe:2.3:a:x.org:xorg-server:1.14.99.904
  • X.Org xorg-server 1.14.99.905
    cpe:2.3:a:x.org:xorg-server:1.14.99.905
  • X.Org xorg-server 1.15.0
    cpe:2.3:a:x.org:xorg-server:1.15.0
  • X.Org xorg-server 1.15.0.901
    cpe:2.3:a:x.org:xorg-server:1.15.0.901
  • X.Org xorg-server 1.15.1
    cpe:2.3:a:x.org:xorg-server:1.15.1
  • X.Org xorg-server 1.15.2
    cpe:2.3:a:x.org:xorg-server:1.15.2
  • X.Org xorg-server 1.15.99.901
    cpe:2.3:a:x.org:xorg-server:1.15.99.901
  • X.Org xorg-server 1.15.99.902
    cpe:2.3:a:x.org:xorg-server:1.15.99.902
  • X.Org xorg-server 1.15.99.903
    cpe:2.3:a:x.org:xorg-server:1.15.99.903
  • X.Org xorg-server 1.15.99.904
    cpe:2.3:a:x.org:xorg-server:1.15.99.904
  • X.Org xorg-server 1.16.0
    cpe:2.3:a:x.org:xorg-server:1.16.0
  • X.Org xorg-server 1.16.0.901
    cpe:2.3:a:x.org:xorg-server:1.16.0.901
  • X.Org xorg-server 1.16.1
    cpe:2.3:a:x.org:xorg-server:1.16.1
  • X.Org xorg-server 1.16.1.901
    cpe:2.3:a:x.org:xorg-server:1.16.1.901
  • X.Org xorg-server 1.16.2
    cpe:2.3:a:x.org:xorg-server:1.16.2
  • X.Org xorg-server 1.16.2.99.901
    cpe:2.3:a:x.org:xorg-server:1.16.2.99.901
  • X.Org xorg-server 1.16.2.901
    cpe:2.3:a:x.org:xorg-server:1.16.2.901
  • X.Org xorg-server 1.16.3
    cpe:2.3:a:x.org:xorg-server:1.16.3
  • X.Org xorg-server 1.17.0
    cpe:2.3:a:x.org:xorg-server:1.17.0
  • RedHat Enterprise Linux Desktop 7.0
    cpe:2.3:o:redhat:enterprise_linux_desktop:7.0
  • RedHat Enterprise Linux Server 7.0
    cpe:2.3:o:redhat:enterprise_linux_server:7.0
  • Red Hat Enterprise Linux Server Advanced mission critical Update Support (AUS) 7.6
    cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6
  • Red Hat Enterprise Linux Server Extended Update Support (EUS) 7.6
    cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6
  • Red Hat Enterprise Linux Server Telecommunications Update Service (TUS) 7.6
    cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6
  • RedHat Enterprise Linux Workstation 7.0
    cpe:2.3:o:redhat:enterprise_linux_workstation:7.0
  • Canonical Ubuntu Linux 16.04 LTS (Long-Term Support)
    cpe:2.3:o:canonical:ubuntu_linux:16.04:-:-:-:lts
  • Canonical Ubuntu Linux 18.04 LTS Edition
    cpe:2.3:o:canonical:ubuntu_linux:18.04:-:-:-:lts
  • Canonical Ubuntu Linux 18.10
    cpe:2.3:o:canonical:ubuntu_linux:18.10
  • Debian Linux 9.0
    cpe:2.3:o:debian:debian_linux:9.0
CVSS
Base: 7.2
Impact:
Exploitability:
CWE CWE-264
CAPEC
  • Accessing, Modifying or Executing Executable Files
    An attack of this type exploits a system's configuration that allows an attacker to either directly access an executable file, for example through shell access; or in a possible worst case allows an attacker to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
  • Blue Boxing
    This type of attack against older telephone switches and trunks has been around for decades. A tone is sent by an adversary to impersonate a supervisor signal which has the effect of rerouting or usurping command of the line. While the US infrastructure proper may not contain widespread vulnerabilities to this type of attack, many companies are connected globally through call centers and business process outsourcing. These international systems may be operated in countries which have not upgraded Telco infrastructure and so are vulnerable to Blue boxing. Blue boxing is a result of failure on the part of the system to enforce strong authorization for administrative functions. While the infrastructure is different than standard current applications like web applications, there are historical lessons to be learned to upgrade the access control for administrative functions.
  • Restful Privilege Elevation
    Rest uses standard HTTP (Get, Put, Delete) style permissions methods, but these are not necessarily correlated generally with back end programs. Strict interpretation of HTTP get methods means that these HTTP Get services should not be used to delete information on the server, but there is no access control mechanism to back up this logic. This means that unless the services are properly ACL'd and the application's service implementation are following these guidelines then an HTTP request can easily execute a delete or update on the server side. The attacker identifies a HTTP Get URL such as http://victimsite/updateOrder, which calls out to a program to update orders on a database or other resource. The URL is not idempotent so the request can be submitted multiple times by the attacker, additionally, the attacker may be able to exploit the URL published as a Get method that actually performs updates (instead of merely retrieving data). This may result in malicious or inadvertent altering of data on the server.
  • Target Programs with Elevated Privileges
    This attack targets programs running with elevated privileges. The attacker would try to leverage a bug in the running program and get arbitrary code to execute with elevated privileges. For instance an attacker would look for programs that write to the system directories or registry keys (such as HKLM, which stores a number of critical Windows environment variables). These programs are typically running with elevated privileges and have usually not been designed with security in mind. Such programs are excellent exploit targets because they yield lots of power when they break. The malicious user try to execute its code at the same level as a privileged system call.
  • Manipulating Input to File System Calls
    An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.
exploit-db via4
  • file exploits/multiple/local/45908.rb
    id EDB-ID:45908
    last seen 2018-11-30
    modified 2018-11-26
    platform multiple
    port
    published 2018-11-26
    reporter Exploit-DB
    source https://www.exploit-db.com/download/45908
    title Xorg X11 Server - SUID privilege escalation (Metasploit)
    type local
  • file exploits/linux/local/45832.py
    id EDB-ID:45832
    last seen 2018-11-30
    modified 2018-11-13
    platform linux
    port
    published 2018-11-13
    reporter Exploit-DB
    source https://www.exploit-db.com/download/45832
    title xorg-x11-server < 1.20.1 - Local Privilege Escalation
    type local
  • file exploits/solaris/local/46142.sh
    id EDB-ID:46142
    last seen 2019-01-14
    modified 2019-01-14
    platform solaris
    port
    published 2019-01-14
    reporter Exploit-DB
    source https://www.exploit-db.com/download/46142
    title xorg-x11-server < 1.20.3 - Local Privilege Escalation (Solaris 11 inittab)
    type local
  • file exploits/openbsd/local/45922.sh
    id EDB-ID:45922
    last seen 2018-11-30
    modified 2018-11-30
    platform openbsd
    port
    published 2018-11-30
    reporter Exploit-DB
    source https://www.exploit-db.com/download/45922
    title xorg-x11-server < 1.20.3 - 'modulepath' Local Privilege Escalation
    type local
  • file exploits/openbsd/local/45742.sh
    id EDB-ID:45742
    last seen 2018-11-30
    modified 2018-10-30
    platform openbsd
    port
    published 2018-10-30
    reporter Exploit-DB
    source https://www.exploit-db.com/download/45742
    title xorg-x11-server 1.20.3 - Privilege Escalation
    type local
  • file exploits/aix/local/45938.pl
    id EDB-ID:45938
    last seen 2018-12-04
    modified 2018-12-04
    platform aix
    port
    published 2018-12-04
    reporter Exploit-DB
    source https://www.exploit-db.com/download/45938
    title Xorg X11 Server (AIX) - Local Privilege Escalation
    type local
  • file exploits/multiple/local/45697.txt
    id EDB-ID:45697
    last seen 2018-11-30
    modified 2018-10-25
    platform multiple
    port
    published 2018-10-25
    reporter Exploit-DB
    source https://www.exploit-db.com/download/45697
    title xorg-x11-server < 1.20.3 - Local Privilege Escalation
    type local
metasploit via4
description This module attempts to gain root privileges with SUID Xorg X11 server versions 1.19.0 < 1.20.3. A permission check flaw exists for -modulepath and -logfile options when starting Xorg. This allows unprivileged users that can start the server the ability to elevate privileges and run arbitrary code under root privileges. This module has been tested with OpenBSD 6.3, 6.4, and CentOS 7 (1708). CentOS default install will require console auth for the users session. Cron launches the payload so if Selinux is enforcing exploitation may still be possible, but the module will bail. Xorg must have SUID permissions and may not start if running. On exploitation a crontab.old backup file will be created by Xorg. This module will remove the .old file and restore crontab after successful exploitation. Failed exploitation may result in a corrupted crontab. On successful exploitation artifacts will be created consistant with starting Xorg and running a cron.
id MSF:EXPLOIT/MULTI/LOCAL/XORG_X11_SUID_SERVER
last seen 2019-03-21
modified 2019-01-10
published 2018-11-10
reliability Good
reporter Rapid7
source https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/local/xorg_x11_suid_server.rb
title Xorg X11 Server SUID privilege escalation
nessus via4
packetstorm via4
redhat via4
advisories
bugzilla
id 1637761
title CVE-2018-14665 xorg-x11-server: Incorrect permission check in Xorg X server allows for privilege escalation
oval
AND
  • OR
    • comment Red Hat Enterprise Linux 7 Client is installed
      oval oval:com.redhat.rhba:tst:20150364001
    • comment Red Hat Enterprise Linux 7 Server is installed
      oval oval:com.redhat.rhba:tst:20150364002
    • comment Red Hat Enterprise Linux 7 Workstation is installed
      oval oval:com.redhat.rhba:tst:20150364003
    • comment Red Hat Enterprise Linux 7 ComputeNode is installed
      oval oval:com.redhat.rhba:tst:20150364004
  • OR
    • AND
      • comment xorg-x11-server-Xdmx is earlier than 0:1.20.1-5.1.el7
        oval oval:com.redhat.rhsa:tst:20183410007
      • comment xorg-x11-server-Xdmx is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhba:tst:20141376186
    • AND
      • comment xorg-x11-server-Xephyr is earlier than 0:1.20.1-5.1.el7
        oval oval:com.redhat.rhsa:tst:20183410009
      • comment xorg-x11-server-Xephyr is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhba:tst:20141376190
    • AND
      • comment xorg-x11-server-Xnest is earlier than 0:1.20.1-5.1.el7
        oval oval:com.redhat.rhsa:tst:20183410005
      • comment xorg-x11-server-Xnest is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhba:tst:20141376196
    • AND
      • comment xorg-x11-server-Xorg is earlier than 0:1.20.1-5.1.el7
        oval oval:com.redhat.rhsa:tst:20183410017
      • comment xorg-x11-server-Xorg is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhba:tst:20141376194
    • AND
      • comment xorg-x11-server-Xvfb is earlier than 0:1.20.1-5.1.el7
        oval oval:com.redhat.rhsa:tst:20183410015
      • comment xorg-x11-server-Xvfb is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhba:tst:20141376200
    • AND
      • comment xorg-x11-server-Xwayland is earlier than 0:1.20.1-5.1.el7
        oval oval:com.redhat.rhsa:tst:20183410013
      • comment xorg-x11-server-Xwayland is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20183059216
    • AND
      • comment xorg-x11-server-common is earlier than 0:1.20.1-5.1.el7
        oval oval:com.redhat.rhsa:tst:20183410011
      • comment xorg-x11-server-common is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhba:tst:20141376192
    • AND
      • comment xorg-x11-server-devel is earlier than 0:1.20.1-5.1.el7
        oval oval:com.redhat.rhsa:tst:20183410019
      • comment xorg-x11-server-devel is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhba:tst:20141376198
    • AND
      • comment xorg-x11-server-source is earlier than 0:1.20.1-5.1.el7
        oval oval:com.redhat.rhsa:tst:20183410021
      • comment xorg-x11-server-source is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhba:tst:20141376188
rhsa
id RHSA-2018:3410
released 2018-10-30
severity Important
title RHSA-2018:3410: xorg-x11-server security update (Important)
rpms
  • xorg-x11-server-Xdmx-0:1.20.1-5.1.el7
  • xorg-x11-server-Xephyr-0:1.20.1-5.1.el7
  • xorg-x11-server-Xnest-0:1.20.1-5.1.el7
  • xorg-x11-server-Xorg-0:1.20.1-5.1.el7
  • xorg-x11-server-Xvfb-0:1.20.1-5.1.el7
  • xorg-x11-server-Xwayland-0:1.20.1-5.1.el7
  • xorg-x11-server-common-0:1.20.1-5.1.el7
  • xorg-x11-server-devel-0:1.20.1-5.1.el7
  • xorg-x11-server-source-0:1.20.1-5.1.el7
refmap via4
bid 105741
confirm
debian DSA-4328
exploit-db
  • 45697
  • 45742
  • 45832
  • 45908
  • 45922
  • 45938
  • 46142
gentoo GLSA-201810-09
misc https://www.securepatterns.com/2018/10/cve-2018-14665-xorg-x-server.html
mlist [xorg-announce] 20181025 X.Org security advisory: October 25, 2018
sectrack 1041948
ubuntu USN-3802-1
the hacker news via4
id THN:8589C696FD99566AD522DE3118ECE8B9
last seen 2018-10-26
modified 2018-10-26
published 2018-10-26
reporter The Hacker News
source https://thehackernews.com/2018/10/privilege-escalation-linux.html
title New Privilege Escalation Flaw Affects Most Linux Distributions
Last major update 29-10-2018 - 08:29
Published 25-10-2018 - 16:29
Last modified 24-01-2019 - 12:48
Back to Top