Skip to content

CVE-2017-20002 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....

HighCVSS 7.8 EPSS 0.40%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

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.

Upgrade path

7 packages: 5 fixed.

PackageAffectedFixed inStatus
debian/shadow(Debian 12) < 1:4.5-1 1:4.5-1 Fixed
debian/shadow(Debian 13) < 1:4.5-1 1:4.5-1 Fixed
debian/shadow(Debian 14) < 1:4.5-1 1:4.5-1 Fixed
ubuntu/shadow(Ubuntu 16.04) < 1:4.2-3.1ubuntu5.4; = 1:4.1.5.1-1.1ubuntu7; = 1:4.2-3.1ubuntu1; = 1:4.2-3.1ubuntu2 +5 more 1:4.2-3.1ubuntu5.4 Fixed
ubuntu/shadow(Ubuntu 18.04) < 1:4.5-1ubuntu2; = 1:4.2-3.2ubuntu4; = 1:4.5-1ubuntu1 1:4.5-1ubuntu2 Fixed
debian linux = 9.0 No fix listed Versions listed
debian/shadow = 4.4 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/shadow(Debian:12) < 1:4.5-1 1:4.5-1
debian/shadow(Debian:13) < 1:4.5-1 1:4.5-1
debian/shadow(Debian:14) < 1:4.5-1 1:4.5-1
debian/shadow = 4.4 No fix listed
debian linux = 9.0 No fix listed
ubuntu/shadow(Ubuntu:16.04) < 1:4.2-3.1ubuntu5.4 1:4.2-3.1ubuntu5.4
ubuntu/shadow(Ubuntu:16.04) = 1:4.1.5.1-1.1ubuntu7 No fix listed
ubuntu/shadow(Ubuntu:16.04) = 1:4.2-3.1ubuntu1 No fix listed
ubuntu/shadow(Ubuntu:16.04) = 1:4.2-3.1ubuntu2 No fix listed
ubuntu/shadow(Ubuntu:16.04) = 1:4.2-3.1ubuntu3 No fix listed
ubuntu/shadow(Ubuntu:16.04) = 1:4.2-3.1ubuntu4 No fix listed
ubuntu/shadow(Ubuntu:16.04) = 1:4.2-3.1ubuntu5 No fix listed
ubuntu/shadow(Ubuntu:16.04) = 1:4.2-3.1ubuntu5.2 No fix listed
ubuntu/shadow(Ubuntu:16.04) = 1:4.2-3.1ubuntu5.3 No fix listed
ubuntu/shadow(Ubuntu:18.04) < 1:4.5-1ubuntu2 1:4.5-1ubuntu2
ubuntu/shadow(Ubuntu:18.04) = 1:4.2-3.2ubuntu4 No fix listed
ubuntu/shadow(Ubuntu:18.04) = 1:4.5-1ubuntu1 No fix listed

References