7.8
HIGH
CVE-2019-19520
OpenBSD xlock LIBGL_DRIVERS_PATH Privilege Escalation
Description

xlock in OpenBSD 6.6 allows local users to gain the privileges of the auth group by providing a LIBGL_DRIVERS_PATH environment variable, because xenocara/lib/mesa/src/loader/loader.c mishandles dlopen.

INFO

Published Date :

Dec. 5, 2019, 12:15 a.m.

Last Modified :

Nov. 21, 2024, 4:34 a.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Public PoC/Exploit Available at Github

CVE-2019-19520 has a 6 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2019-19520 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Openbsd openbsd
References to Advisories, Solutions, and Tools

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 2 months, 2 weeks ago
34 stars 3 fork 3 watcher
Born at : March 12, 2021, 12:22 p.m. This repo has been linked 1063 different CVEs too.

None

Updated: 3 months ago
19 stars 10 fork 10 watcher
Born at : Jan. 2, 2021, 10:19 p.m. This repo has been linked 1052 different CVEs too.

Script that automates the process of escalating privileges on openbsd system (CVE-2019-19520) by exploiting the xlock binary and againing it's sgid and escalating to the root user by (CVE-2019-19522) exploiting the privileges of auth group and adding keys to the Skey or Yubikey

Shell C

Updated: 9 months, 4 weeks ago
2 stars 0 fork 0 watcher
Born at : Nov. 21, 2020, 7:30 a.m. This repo has been linked 2 different CVEs too.

None

Updated: 3 weeks, 4 days ago
86 stars 33 fork 33 watcher
Born at : Oct. 2, 2020, 2:49 p.m. This repo has been linked 1113 different CVEs too.

Localroot Compile

C Shell Python

Updated: 4 months, 1 week ago
24 stars 23 fork 23 watcher
Born at : Aug. 1, 2019, 11:25 a.m. This repo has been linked 31 different CVEs too.

Various local exploits

linux local exploit root local-exploits

Shell

Updated: 2 weeks, 6 days ago
137 stars 54 fork 54 watcher
Born at : Dec. 30, 2018, 2:40 p.m. This repo has been linked 11 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2019-19520 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2019-19520 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/155572/Qualys-Security-Advisory-OpenBSD-Authentication-Bypass-Privilege-Escalation.html
    Added Reference http://seclists.org/fulldisclosure/2019/Dec/14
    Added Reference http://www.openwall.com/lists/oss-security/2019/12/04/5
    Added Reference http://www.openwall.com/lists/oss-security/2019/12/04/6
    Added Reference https://seclists.org/bugtraq/2019/Dec/8
    Added Reference https://www.openbsd.org/errata66.html
    Added Reference https://www.openwall.com/lists/oss-security/2019/12/04/5
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CWE Remap by [email protected]

    Aug. 24, 2020

    Action Type Old Value New Value
    Changed CWE CWE-269 CWE-863
  • Initial Analysis by [email protected]

    Dec. 11, 2019

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:L/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://packetstormsecurity.com/files/155572/Qualys-Security-Advisory-OpenBSD-Authentication-Bypass-Privilege-Escalation.html No Types Assigned http://packetstormsecurity.com/files/155572/Qualys-Security-Advisory-OpenBSD-Authentication-Bypass-Privilege-Escalation.html Third Party Advisory
    Changed Reference Type http://seclists.org/fulldisclosure/2019/Dec/14 No Types Assigned http://seclists.org/fulldisclosure/2019/Dec/14 Third Party Advisory
    Changed Reference Type http://www.openwall.com/lists/oss-security/2019/12/04/5 No Types Assigned http://www.openwall.com/lists/oss-security/2019/12/04/5 Exploit, Mailing List, Third Party Advisory
    Changed Reference Type http://www.openwall.com/lists/oss-security/2019/12/04/6 No Types Assigned http://www.openwall.com/lists/oss-security/2019/12/04/6 Mailing List
    Changed Reference Type https://seclists.org/bugtraq/2019/Dec/8 No Types Assigned https://seclists.org/bugtraq/2019/Dec/8 Exploit, Mailing List, Third Party Advisory
    Changed Reference Type https://www.openbsd.org/errata66.html No Types Assigned https://www.openbsd.org/errata66.html Vendor Advisory
    Changed Reference Type https://www.openwall.com/lists/oss-security/2019/12/04/5 No Types Assigned https://www.openwall.com/lists/oss-security/2019/12/04/5 Exploit, Mailing List, Third Party Advisory
    Added CWE NIST CWE-269
    Added CPE Configuration OR *cpe:2.3:o:openbsd:openbsd:6.6:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Dec. 06, 2019

    Action Type Old Value New Value
    Added Reference http://seclists.org/fulldisclosure/2019/Dec/14 [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 05, 2019

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/155572/Qualys-Security-Advisory-OpenBSD-Authentication-Bypass-Privilege-Escalation.html [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 05, 2019

    Action Type Old Value New Value
    Added Reference https://seclists.org/bugtraq/2019/Dec/8 [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 05, 2019

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2019/12/04/6 [No Types Assigned]
    Added Reference http://www.openwall.com/lists/oss-security/2019/12/04/5 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2019-19520 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2019-19520 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.06 }} 0.02%

score

0.26097

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability