Privilege Escalation in GNU Bash Affecting Linux Systems
CVE-2019-18276
Key Information:
Badges
Summary
A flaw in the disable_priv_mode function in shell.c of GNU Bash allows an attacker with command execution rights to exploit the incorrect handling of user IDs. This vulnerability arises when Bash runs with an effective UID different from the real UID, failing to drop the saved UID correctly on systems that support it. Skilled attackers can leverage this flaw by executing 'enable -f' to load a new builtin, potentially gaining elevated privileges using a shared object that calls setuid(). Notably, binaries operating with an effective UID of 0 are not affected by this issue.
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
CVSS V3.1
Timeline
- 🟡
Public PoC available
- 👾
Exploit known to exist
Vulnerability published
Vulnerability Reserved