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.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
retrymp3/Openbsd-Privilege-Escalation ★ 2 · Nov 21, 2020
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)…
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- https://www.openwall.com/lists/oss-security/2019/12/04/5
- https://www.openbsd.org/errata66.html
- [oss-security] 20191204 Re: Authentication vulnerabilities in OpenBSD mailing-list
- [oss-security] 20191204 Authentication vulnerabilities in OpenBSD mailing-list
- 20191205 Authentication vulnerabilities in OpenBSD mailing-list
- http://packetstormsecurity.com/files/155572/Qualys-Security-Advisory-OpenBSD-Authentication-Bypass-Privilege-Escalation.html
- 20191206 Authentication vulnerabilities in OpenBSD mailing-list