7.8
HIGH
CVE-2019-19522
OpenBSD YubiKey Authentication Local Privilege Escalation
Description

OpenBSD 6.6, in a non-default configuration where S/Key or YubiKey authentication is enabled, allows local users to become root by leveraging membership in the auth group. This occurs because root's file can be written to /etc/skey or /var/db/yubikey, and need not be owned by root.

INFO

Published Date :

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

Last Modified :

Aug. 24, 2020, 5:37 p.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Public PoC/Exploit Available at Github

CVE-2019-19522 has a 3 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-19522 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

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2019-19522.

URL Resource
http://packetstormsecurity.com/files/155572/Qualys-Security-Advisory-OpenBSD-Authentication-Bypass-Privilege-Escalation.html Third Party Advisory
http://seclists.org/fulldisclosure/2019/Dec/14 Third Party Advisory
http://www.openwall.com/lists/oss-security/2019/12/04/5 Exploit Mailing List Third Party Advisory
https://seclists.org/bugtraq/2019/Dec/8 Exploit Mailing List Third Party Advisory
https://www.openbsd.org/errata66.html Vendor Advisory
https://www.openwall.com/lists/oss-security/2019/12/04/5 Exploit Mailing List Third Party Advisory

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).

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: 8 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 months ago
82 stars 32 fork 32 watcher
Born at : Oct. 2, 2020, 2:49 p.m. This repo has been linked 1111 different CVEs too.

Various local exploits

linux local exploit root local-exploits

Shell

Updated: 3 months, 3 weeks ago
133 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-19522 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2019-19522 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 [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-287 CWE-732
  • Initial Analysis by [email protected]

    Dec. 12, 2019

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:L/AC:L/Au:N/C:C/I:C/A:C)
    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 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-287
    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/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.
Exploit Prediction

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

0.04 }} 0.00%

score

0.07827

percentile

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