7.8
HIGH
CVE-2017-20002
Debian Shadow Pseudo-Terminal Privilege Escalation Vulnerability
Description

The Debian shadow package before 1:4.5-1 for Shadow incorrectly lists pts/0 and pts/1 as physical terminals in /etc/securetty. This allows local users to login as password-less users even if they are connected by non-physical means such as SSH (hence bypassing PAM's nullok_secure configuration). This notably affects environments such as virtual machines automatically generated with a default blank root password, allowing all local users to escalate privileges.

INFO

Published Date :

March 17, 2021, 6:15 a.m.

Last Modified :

June 7, 2021, 2:58 p.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2017-20002 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 Debian debian_linux
2 Debian shadow
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-2017-20002.

URL Resource
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=877374 Mailing List Vendor Advisory
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=914957 Exploit Mailing List Vendor Advisory
https://lists.debian.org/debian-lts-announce/2021/03/msg00020.html Mailing List Vendor 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).

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

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

The following table lists the changes that have been made to the CVE-2017-20002 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
  • Reanalysis by [email protected]

    Jun. 07, 2021

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:debian:shadow:*:*:*:*:*:*:*:* versions up to (excluding) 4.5-1 *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* OR *cpe:2.3:a:debian:shadow:4.4:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • Initial Analysis by [email protected]

    Mar. 23, 2021

    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 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=877374 No Types Assigned https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=877374 Mailing List, Vendor Advisory
    Changed Reference Type https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=914957 No Types Assigned https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=914957 Exploit, Mailing List, Vendor Advisory
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2021/03/msg00020.html No Types Assigned https://lists.debian.org/debian-lts-announce/2021/03/msg00020.html Mailing List, Vendor Advisory
    Added CWE NIST CWE-269
    Added CPE Configuration OR *cpe:2.3:a:debian:shadow:*:*:*:*:*:*:*:* versions up to (excluding) 4.5-1 *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Mar. 18, 2021

    Action Type Old Value New Value
    Changed Description The Debian shadow package before 4.5-1 for Shadow incorrectly lists pts/0 and pts/1 as physical terminals in /etc/securetty. This allows local users to login as password-less users even if they are connected by non-physical means such as SSH (hence bypassing PAM's nullok_secure configuration). This notably affects environments such as virtual machines automatically generated with a default blank root password, allowing all local users to escalate privileges. The Debian shadow package before 1:4.5-1 for Shadow incorrectly lists pts/0 and pts/1 as physical terminals in /etc/securetty. This allows local users to login as password-less users even if they are connected by non-physical means such as SSH (hence bypassing PAM's nullok_secure configuration). This notably affects environments such as virtual machines automatically generated with a default blank root password, allowing all local users to escalate privileges.
  • CVE Modified by [email protected]

    Mar. 17, 2021

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2021/03/msg00020.html [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-2017-20002 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-2017-20002 weaknesses.

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

percentile

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