CVE-2019-19882
Shadow Setuid Privilege Escalation
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).
INFO
Published Date :
Dec. 18, 2019, 4:15 p.m.
Last Modified :
Aug. 25, 2020, 3:15 p.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
Public PoC/Exploit Available at Github
CVE-2019-19882 has a 9 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-19882
.
URL | Resource |
---|---|
https://bugs.archlinux.org/task/64836 | Exploit Third Party Advisory |
https://bugs.gentoo.org/702252 | Exploit Third Party Advisory |
https://github.com/shadow-maint/shadow/commit/edf7547ad5aa650be868cf2dac58944773c12d75 | Patch Third Party Advisory |
https://github.com/shadow-maint/shadow/pull/199 | Patch Third Party Advisory |
https://github.com/void-linux/void-packages/pull/17580 | Patch Third Party Advisory |
https://security.gentoo.org/glsa/202008-09 |
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).
None
Dockerfile Roff Java
None
Dockerfile Python
None
Dockerfile Go
None
HCL
None
asp-net-core csharp docker dockerfile javascript react webapi docker-compose
C# Dockerfile HTML JavaScript CSS
image docker à partir de l'api rust
Rust Makefile Dockerfile
None
TypeScript
None
TypeScript
A command line tool which provides an alternative interface to snyk test
snyk
Makefile Dockerfile Crystal Open Policy Agent
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-19882
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2019-19882
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 -
CVE Modified by [email protected]
Aug. 25, 2020
Action Type Old Value New Value Added Reference https://security.gentoo.org/glsa/202008-09 [No Types Assigned] -
CWE Remap by [email protected]
Aug. 24, 2020
Action Type Old Value New Value Changed CWE CWE-269 CWE-732 -
Initial Analysis by [email protected]
Dec. 30, 2019
Action Type Old Value New Value Added CVSS V2 NIST (AV:L/AC:M/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 https://bugs.archlinux.org/task/64836 No Types Assigned https://bugs.archlinux.org/task/64836 Exploit, Third Party Advisory Changed Reference Type https://bugs.gentoo.org/702252 No Types Assigned https://bugs.gentoo.org/702252 Exploit, Third Party Advisory Changed Reference Type https://github.com/shadow-maint/shadow/commit/edf7547ad5aa650be868cf2dac58944773c12d75 No Types Assigned https://github.com/shadow-maint/shadow/commit/edf7547ad5aa650be868cf2dac58944773c12d75 Patch, Third Party Advisory Changed Reference Type https://github.com/shadow-maint/shadow/pull/199 No Types Assigned https://github.com/shadow-maint/shadow/pull/199 Patch, Third Party Advisory Changed Reference Type https://github.com/void-linux/void-packages/pull/17580 No Types Assigned https://github.com/void-linux/void-packages/pull/17580 Patch, Third Party Advisory Added CWE NIST CWE-269 Added CPE Configuration OR *cpe:2.3:a:shadow_project:shadow:4.8:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Dec. 18, 2019
Action Type Old Value New Value Changed Description shadow 4.8, in certain circumstances affecting at least Gentoo, Arch Linux, 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). 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).
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-19882
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-2019-19882
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