CVE-2019-19882 shadow 4.8, in certain circumstances affecting at least Gentoo, Arch Linux, and Void Linux, allows local users to obtain root access because setuid programs are misconfigured. Specifically, this affec...
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
Description
shadow 4.8, in certain circumstances affecting at least Gentoo, Arch Linux, and Void Linux, allows local users to obtain root access because setuid programs are misconfigured. Specifically, this affects shadow 4.8 when compiled using --with-libpam but without explicitly passing --disable-account-tools-setuid, and without a PAM configuration suitable for use with setuid account management tools. This combination leads to account management tools (groupadd, groupdel, groupmod, useradd, userdel, usermod) that can easily be used by unprivileged local users to escalate privileges to root in multiple ways. This issue became much more relevant in approximately December 2019 when an unrelated bug was fixed (i.e., the chmod calls to suidusbins were fixed in the upstream Makefile which is now included in the release version 4.8).
Upgrade path
6 packages: 5 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/shadow(Debian 12) | < 1:4.8.1-1 | 1:4.8.1-1 | Fixed |
| debian/shadow(Debian 13) | < 1:4.8.1-1 | 1:4.8.1-1 | Fixed |
| debian/shadow(Debian 14) | < 1:4.8.1-1 | 1:4.8.1-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 |
| shadow project shadow | = 4.8 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/shadow(Debian:12) | < 1:4.8.1-1 | 1:4.8.1-1 |
| debian/shadow(Debian:13) | < 1:4.8.1-1 | 1:4.8.1-1 |
| debian/shadow(Debian:14) | < 1:4.8.1-1 | 1:4.8.1-1 |
| shadow project shadow | = 4.8 | 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
- Debian Security Tracker CVE-2019-19882 vendor-advisory
- bugs.archlinux.org exploit third-party-advisory
- bugs.gentoo.org exploit third-party-advisory
- github.com patch third-party-advisory
- github.com issue-tracking patch third-party-advisory
- github.com issue-tracking patch third-party-advisory
- GLSA-202008-09 vendor-advisory
- ubuntu.com issue-tracking
- www.cve.org issue-tracking