GLSA-201810-09 : X.Org X Server: Privilege escalation

medium Nessus Plugin ID 118509
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-201810-09 (X.Org X Server: Privilege escalation)

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.
Impact :

A local attacker can escalate privileges to root by passing crafted parameters to the X.org X server.
Workaround :

There is no known workaround at this time.

Solution

All X.Org X Server users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=x11-base/xorg-server-1.20.3'

See Also

https://security.gentoo.org/glsa/201810-09

Plugin Details

Severity: Medium

ID: 118509

File Name: gentoo_GLSA-201810-09.nasl

Version: 1.5

Type: local

Published: 10/31/2018

Updated: 4/5/2019

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: High

Score: 8.4

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 6

Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C

Temporal Vector: E:F/RL:OF/RC:C

CVSS v3

Risk Factor: Medium

Base Score: 6.6

Temporal Score: 6.1

Vector: CVSS:3.0/AV:P/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: E:F/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:xorg-server, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/30/2018

Exploitable With

Metasploit (Xorg X11 Server SUID privilege escalation)

Reference Information

CVE: CVE-2018-14665

GLSA: 201810-09

IAVB: 2018-B-0140