7.8
HIGH
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. 21, 2024, 4:32 a.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Public PoC/Exploit Available at Github

CVE-2019-18276 has a 19 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.

ID Vendor Product Action
1 Netapp hci_management_node
2 Netapp solidfire
3 Netapp oncommand_unified_manager
1 Gnu bash
1 Oracle communications_cloud_native_core_policy
References to Advisories, Solutions, and Tools

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

Updated: 3 weeks, 2 days ago
0 stars 0 fork 0 watcher
Born at : Nov. 29, 2024, 7 a.m. This repo has been linked 1 different CVEs too.

None

Dockerfile Makefile Go Shell

Updated: 3 weeks, 2 days ago
0 stars 0 fork 0 watcher
Born at : Nov. 15, 2024, 4:47 a.m. This repo has been linked 1 different CVEs too.

Pipelines | bugbounty | hacking | redteaming | blueteaming | soc | noc | tricks

Updated: 10 months, 2 weeks ago
1 stars 1 fork 1 watcher
Born at : Jan. 12, 2024, 3:46 a.m. This repo has been linked 16 different CVEs too.

Map Vulnerabilities into Different Layers of the Container Image

Python

Updated: 1 year, 11 months ago
1 stars 0 fork 0 watcher
Born at : Oct. 5, 2022, 12:07 p.m. This repo has been linked 1276 different CVEs too.

None

Java Shell

Updated: 2 years, 9 months ago
0 stars 0 fork 0 watcher
Born at : March 8, 2022, 11:16 a.m. This repo has been linked 25 different CVEs too.

None

Makefile Shell Dockerfile

Updated: 2 years, 11 months ago
0 stars 0 fork 0 watcher
Born at : Jan. 12, 2022, 11:40 a.m. This repo has been linked 1 different CVEs too.

None

Java

Updated: 3 years ago
0 stars 1 fork 1 watcher
Born at : Dec. 14, 2021, 4:38 p.m. This repo has been linked 26 different CVEs too.

None

Java

Updated: 3 years ago
0 stars 0 fork 0 watcher
Born at : Dec. 13, 2021, 7 p.m. This repo has been linked 26 different CVEs too.

None

Dockerfile Shell

Updated: 9 months, 4 weeks ago
2 stars 0 fork 0 watcher
Born at : Dec. 9, 2021, 8:22 p.m. This repo has been linked 1 different CVEs too.

Random late night exercises

Dockerfile Shell Python HCL

Updated: 3 years ago
0 stars 0 fork 0 watcher
Born at : Nov. 17, 2021, 11:43 a.m. This repo has been linked 23 different CVEs too.

None

Dockerfile Python HCL

Updated: 3 years, 2 months ago
0 stars 0 fork 0 watcher
Born at : Oct. 11, 2021, 9:55 p.m. This repo has been linked 14 different CVEs too.

Scan a list of container images using Aqua Security's trivy CLI tool

Shell

Updated: 1 year, 3 months ago
1 stars 1 fork 1 watcher
Born at : July 19, 2021, 4:54 p.m. This repo has been linked 18 different CVEs too.

demo stuff

Dockerfile Rust Shell HCL

Updated: 3 years, 5 months ago
0 stars 0 fork 0 watcher
Born at : July 18, 2021, 8:20 p.m. This repo has been linked 19 different CVEs too.

API integration to present CVE per image in CVS format

Shell

Updated: 3 years, 4 months ago
2 stars 1 fork 1 watcher
Born at : June 18, 2021, 2:35 p.m. This repo has been linked 9 different CVEs too.

None

Shell

Updated: 3 years, 9 months ago
0 stars 0 fork 0 watcher
Born at : March 2, 2021, 9:13 p.m. This repo has been linked 5 different CVEs too.

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 af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/155498/Bash-5.0-Patch-11-Privilege-Escalation.html
    Added Reference https://github.com/bminor/bash/commit/951bdaad7a18cc0dc1036bba86b18b90874d39ff
    Added Reference https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E
    Added Reference https://security.gentoo.org/glsa/202105-34
    Added Reference https://security.netapp.com/advisory/ntap-20200430-0003/
    Added Reference https://www.oracle.com/security-alerts/cpuapr2022.html
    Added Reference https://www.youtube.com/watch?v=-wGtxJ8opa8
  • 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]
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-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.18 }} 0.02%

score

0.54826

percentile

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