Auth bypass in OpenBSD
CVE-2019-19520
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.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.013, 71.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- OpenBSD — versions 6.6
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- retrymp3/Openbsd-Privilege-Escalation (2 stars, last pushed 2025-07-13): 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…
Also mentioned in 6 other repositories (0xT11/CVE-POC, anoaghost/Localroot_Compile, ARPSyndicate/cvemon, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.openwall.com/lists/oss-security/2019/12/04/5 (Exploit, Mailing List, Third Party Advisory)
- www.openbsd.org/errata66.html (Vendor Advisory)
- [oss-security] 20191204 Re: Authentication vulnerabilities in OpenBSD (mailing-list, Mailing List)
- [oss-security] 20191204 Authentication vulnerabilities in OpenBSD (mailing-list, Exploit, Mailing List, Third Party Advisory)
- 20191205 Authentication vulnerabilities in OpenBSD (mailing-list, Exploit, Mailing List, Third Party Advisory)
- packetstormsecurity.com/files/155572/Qualys-Security-Advisory-OpenBSD-Authentic… (Third Party Advisory)
- 20191206 Authentication vulnerabilities in OpenBSD (mailing-list, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.