7.8
HIGH CVSS 3.1
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 :

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

Remotely Exploit :

No
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
2 Openbsd openbsd
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 HIGH [email protected]
CVSS 3.1 HIGH [email protected]
Solution
This information is provided by the 3rd party feeds.
  • Apply the latest OpenBSD security patches using the syspatch command. Alternatively, compile and apply the patches from source
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.

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
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
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-19522 is associated with the following CWEs:

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: 1 month, 2 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: 2 months, 1 week ago
84 stars 31 fork 31 watcher
Born at : Oct. 2, 2020, 2:49 p.m. This repo has been linked 1114 different CVEs too.

Various local exploits

linux local exploit root local-exploits

Shell

Updated: 4 months, 2 weeks ago
141 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 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 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-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.
Vulnerability Scoring Details
Base CVSS Score: 7.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 7.2
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

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

0.18 }} 0.06%

score

0.40351

percentile