CVE-2019-18276
CVSS V2 High 7.2
CVSS V3 High 7.8
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.
Overview
- CVE ID
- CVE-2019-18276
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2019-11-28T01:15:10
- Last Modified Date
- 2022-06-07T18:41:39
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:gnu:bash:*:*:*:*:*:*:*:* | 1 | OR | 5.0 | |
cpe:2.3:a:gnu:bash:5.0:beta1:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:gnu:bash:5.0:beta2:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:gnu:bash:5.0:patch1:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:gnu:bash:5.0:patch10:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:gnu:bash:5.0:patch11:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:gnu:bash:5.0:patch2:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:gnu:bash:5.0:patch3:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:gnu:bash:5.0:patch4:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:gnu:bash:5.0:patch5:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:gnu:bash:5.0:patch6:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:gnu:bash:5.0:patch7:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:gnu:bash:5.0:patch8:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:gnu:bash:5.0:patch9:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:gnu:bash:5.0:rc1:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:netapp:hci_management_node:-:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:netapp:oncommand_unified_manager:*:*:*:*:*:vmware_vsphere:*:* | 1 | OR | 9.5 | |
cpe:2.3:a:netapp:solidfire:-:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:oracle:communications_cloud_native_core_policy:1.14.0:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:L/AC:L/Au:N/C:C/I:C/A:C
- Access Vector
- LOCAL
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- COMPLETE
- Integrity Impact
- COMPLETE
- Availability Impact
- COMPLETE
- Base Score
- 7.2
- Severity
- HIGH
- Exploitability Score
- 3.9
- Impact Score
- 10
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- LOCAL
- Attack Compatibility
- LOW
- Privileges Required
- LOW
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 7.8
- Base Severity
- HIGH
- Exploitability Score
- 1.8
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://www.youtube.com/watch?v=-wGtxJ8opa8 | Exploit Third Party Advisory |
https://github.com/bminor/bash/commit/951bdaad7a18cc0dc1036bba86b18b90874d39ff | Patch Third Party Advisory |
http://packetstormsecurity.com/files/155498/Bash-5.0-Patch-11-Privilege-Escalation.html | Exploit Third Party Advisory VDB Entry |
https://security.netapp.com/advisory/ntap-20200430-0003/ | Third Party Advisory |
https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772@%3Cdev.mina.apache.org%3E | Mailing List Third Party Advisory |
https://security.gentoo.org/glsa/202105-34 | |
https://www.oracle.com/security-alerts/cpuapr2022.html |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2019-18276 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-18276 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-04-20 17:00:07 | Added to TrackCVE | |||
2022-12-04 07:11:05 | 2019-11-28T01:15Z | 2019-11-28T01:15:10 | CVE Published Date | updated |
2022-12-04 07:11:05 | 2022-06-07T18:41:39 | CVE Modified Date | updated | |
2022-12-04 07:11:05 | Analyzed | Vulnerability Status | updated |