CVE-2019-18276
"GNU Bash Privilege Escalation Vulnerability"
Description
An issue was discovered in disable_priv_mode in shell.c in GNU Bash through 5.0 patch 11. By default, if Bash is run with its effective UID not equal to its real UID, it will drop privileges by setting its effective UID to its real UID. However, it does so incorrectly. On Linux and other systems that support "saved UID" functionality, the saved UID is not dropped. An attacker with command execution in the shell can use "enable -f" for runtime loading of a new builtin, which can be a shared object that calls setuid() and therefore regains privileges. However, binaries running with an effective UID of 0 are unaffected.
INFO
Published Date :
Nov. 28, 2019, 1:15 a.m.
Last Modified :
Nov. 7, 2023, 3:06 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
Public PoC/Exploit Available at Github
CVE-2019-18276 has a 18 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2019-18276
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.
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-18276
.
URL | Resource |
---|---|
http://packetstormsecurity.com/files/155498/Bash-5.0-Patch-11-Privilege-Escalation.html | Exploit Third Party Advisory VDB Entry |
https://github.com/bminor/bash/commit/951bdaad7a18cc0dc1036bba86b18b90874d39ff | Patch Third Party Advisory |
https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E | |
https://security.gentoo.org/glsa/202105-34 | Third Party Advisory |
https://security.netapp.com/advisory/ntap-20200430-0003/ | Third Party Advisory |
https://www.oracle.com/security-alerts/cpuapr2022.html | Patch Third Party Advisory |
https://www.youtube.com/watch?v=-wGtxJ8opa8 | Exploit Third Party 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).
None
Dockerfile Makefile Go Shell
Pipelines | bugbounty | hacking | redteaming | blueteaming | soc | noc | tricks
Map Vulnerabilities into Different Layers of the Container Image
Python
None
Java Shell
None
Makefile Shell Dockerfile
None
Java
None
Java
None
Dockerfile Shell
Random late night exercises
Dockerfile Shell Python HCL
None
Dockerfile Python HCL
Scan a list of container images using Aqua Security's trivy CLI tool
Shell
demo stuff
Dockerfile Rust Shell HCL
API integration to present CVE per image in CVS format
Shell
None
Shell
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-18276
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2019-18276
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]
Nov. 07, 2023
Action Type Old Value New Value Added Reference MITRE https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E [No types assigned] Removed Reference MITRE https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772@%3Cdev.mina.apache.org%3E -
Modified Analysis by [email protected]
Jun. 07, 2022
Action Type Old Value New Value Changed Reference Type https://security.gentoo.org/glsa/202105-34 No Types Assigned https://security.gentoo.org/glsa/202105-34 Third Party Advisory Changed Reference Type https://www.oracle.com/security-alerts/cpuapr2022.html No Types Assigned https://www.oracle.com/security-alerts/cpuapr2022.html Patch, Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:oracle:communications_cloud_native_core_policy:1.14.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Apr. 20, 2022
Action Type Old Value New Value Added Reference https://www.oracle.com/security-alerts/cpuapr2022.html [No Types Assigned] -
CVE Modified by [email protected]
May. 26, 2021
Action Type Old Value New Value Added Reference https://security.gentoo.org/glsa/202105-34 [No Types Assigned] -
Modified Analysis by [email protected]
Mar. 04, 2021
Action Type Old Value New Value Changed Reference Type https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772@%3Cdev.mina.apache.org%3E No Types Assigned https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772@%3Cdev.mina.apache.org%3E Mailing List, Third Party Advisory Changed Reference Type https://security.netapp.com/advisory/ntap-20200430-0003/ No Types Assigned https://security.netapp.com/advisory/ntap-20200430-0003/ Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:netapp:hci_management_node:-:*:*:*:*:*:*:* *cpe:2.3:a:netapp:oncommand_unified_manager:*:*:*:*:*:vmware_vsphere:*:* versions from (including) 9.5 *cpe:2.3:a:netapp:solidfire:-:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Feb. 25, 2021
Action Type Old Value New Value Added Reference https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772@%3Cdev.mina.apache.org%3E [No Types Assigned] -
CVE Modified by [email protected]
Apr. 30, 2020
Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20200430-0003/ [No Types Assigned] -
Reanalysis by [email protected]
Jan. 22, 2020
Action Type Old Value New Value Removed CVSS V2 NIST (AV:N/AC:L/Au:N/C:C/I:C/A:C) Added CVSS V2 NIST (AV:L/AC:L/Au:N/C:C/I:C/A:C) Removed CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H -
Initial Analysis by [email protected]
Dec. 18, 2019
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:C/I:C/A:C) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type http://packetstormsecurity.com/files/155498/Bash-5.0-Patch-11-Privilege-Escalation.html No Types Assigned http://packetstormsecurity.com/files/155498/Bash-5.0-Patch-11-Privilege-Escalation.html Exploit, Third Party Advisory, VDB Entry Changed Reference Type https://github.com/bminor/bash/commit/951bdaad7a18cc0dc1036bba86b18b90874d39ff No Types Assigned https://github.com/bminor/bash/commit/951bdaad7a18cc0dc1036bba86b18b90874d39ff Patch, Third Party Advisory Changed Reference Type https://www.youtube.com/watch?v=-wGtxJ8opa8 No Types Assigned https://www.youtube.com/watch?v=-wGtxJ8opa8 Exploit, Third Party Advisory Added CWE NIST CWE-273 Added CPE Configuration OR *cpe:2.3:a:gnu:bash:*:*:*:*:*:*:*:* versions up to (including) 5.0 *cpe:2.3:a:gnu:bash:5.0:beta1:*:*:*:*:*:* *cpe:2.3:a:gnu:bash:5.0:beta2:*:*:*:*:*:* *cpe:2.3:a:gnu:bash:5.0:patch1:*:*:*:*:*:* *cpe:2.3:a:gnu:bash:5.0:patch10:*:*:*:*:*:* *cpe:2.3:a:gnu:bash:5.0:patch11:*:*:*:*:*:* *cpe:2.3:a:gnu:bash:5.0:patch2:*:*:*:*:*:* *cpe:2.3:a:gnu:bash:5.0:patch3:*:*:*:*:*:* *cpe:2.3:a:gnu:bash:5.0:patch4:*:*:*:*:*:* *cpe:2.3:a:gnu:bash:5.0:patch5:*:*:*:*:*:* *cpe:2.3:a:gnu:bash:5.0:patch6:*:*:*:*:*:* *cpe:2.3:a:gnu:bash:5.0:patch7:*:*:*:*:*:* *cpe:2.3:a:gnu:bash:5.0:patch8:*:*:*:*:*:* *cpe:2.3:a:gnu:bash:5.0:patch9:*:*:*:*:*:* *cpe:2.3:a:gnu:bash:5.0:rc1:*:*:*:*:*:* -
CVE Modified by [email protected]
Nov. 29, 2019
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/155498/Bash-5.0-Patch-11-Privilege-Escalation.html [No Types Assigned]
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-18276
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-18276
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.15 }} 0.04%
score
0.52658
percentile