CVE-2019-9924
published 2019-03-22CVE-2019-9924: rbash in Bash before 4.4-beta2 did not prevent the shell user from modifying BASH_CMDS, thus allowing the user to execute any command with the permissions of…
PriorityP338high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.41%
33.7th percentile
rbash in Bash before 4.4-beta2 did not prevent the shell user from modifying BASH_CMDS, thus allowing the user to execute any command with the permissions of the shell.
Affected
12 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | bash | < bash 4.4-1 (bookworm) | bash 4.4-1 (bookworm) |
| debian | debian_linux | — | — |
| gnu | bash | < 4.4 | 4.4 |
| gnu | bash | — | — |
| gnu | bash | >= 0 < 4.4-1 | 4.4-1 |
| gnu | bash | >= 0 < 4.4-1 | 4.4-1 |
| gnu | bash | >= 0 < 4.4-1 | 4.4-1 |
| gnu | bash | >= 0 < 4.4-1 | 4.4-1 |
| opensuse | leap | — | — |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.2HIGHAV:L/AC:L/Au:N/C:C/I:C/A:C
osv7.8HIGH
vendor_debian7.8LOW
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Bash vulnerability
vendor_ubuntu·2019-08-05
CVE-2019-9924 Bash vulnerability
Title: Bash vulnerability
Summary: A system hardening measure could be bypassed.
USN-4058-1 fixed a vulnerability in bash. This update provides
the corresponding update for Ubuntu 12.04 ESM and Ubuntu 14.04 ESM.
Original advisory details:
It was discovered that Bash incorrectly handled the restricted shell. An
attacker could possibly use this issue to escape restrictions and execute
any command.
Instructions: In general, a standard system update will make all the necessary changes.
Ubuntu
Bash vulnerability
vendor_ubuntu·2019-07-15
CVE-2019-9924 Bash vulnerability
Title: Bash vulnerability
Summary: A system hardening measure could be bypassed.
It was discovered that Bash incorrectly handled the restricted shell. An
attacker could possibly use this issue to escape restrictions and execute
any command.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
bash: BASH_CMD is writable in restricted bash shells
vendor_redhat·2019-03-07·CVSS 7.8
CVE-2019-9924 [HIGH] CWE-138 bash: BASH_CMD is writable in restricted bash shells
bash: BASH_CMD is writable in restricted bash shells
rbash in Bash before 4.4-beta2 did not prevent the shell user from modifying BASH_CMDS, thus allowing the user to execute any command with the permissions of the shell.
Statement: Impact of the flaw set to Moderate as restricted shell shall not be used as a security feature alone, as it is very hard to configure it properly and several bypasses exist for it.
This issue did not affect the versions of bash as shipped with Red Hat Enterprise Linux 5 as they did not include support for BASH_CMDS environment variable.
Red Hat Virtualization Hypervisor and Management Appliance were affected by this issue, but do not use the restricted bash shell in a way that would be exposed to attackers. Future updates may address this issue.
Package: bas
Debian
CVE-2019-9924: bash - rbash in Bash before 4.4-beta2 did not prevent the shell user from modifying BAS...
vendor_debian·2019·CVSS 7.8
CVE-2019-9924 [HIGH] CVE-2019-9924: bash - rbash in Bash before 4.4-beta2 did not prevent the shell user from modifying BAS...
rbash in Bash before 4.4-beta2 did not prevent the shell user from modifying BASH_CMDS, thus allowing the user to execute any command with the permissions of the shell.
Scope: local
bookworm: resolved (fixed in 4.4-1)
bullseye: resolved (fixed in 4.4-1)
forky: resolved (fixed in 4.4-1)
sid: resolved (fixed in 4.4-1)
trixie: resolved (fixed in 4.4-1)
GHSA
GHSA-56xr-5j9v-w2wh: rbash in Bash before 4
ghsa_unreviewed·2022-05-13
CVE-2019-9924 [HIGH] CWE-862 GHSA-56xr-5j9v-w2wh: rbash in Bash before 4
rbash in Bash before 4.4-beta2 did not prevent the shell user from modifying BASH_CMDS, thus allowing the user to execute any command with the permissions of the shell.
OSV
CVE-2019-9924: rbash in Bash before 4
osv·2019-03-22·CVSS 7.8
CVE-2019-9924 [HIGH] CVE-2019-9924: rbash in Bash before 4
rbash in Bash before 4.4-beta2 did not prevent the shell user from modifying BASH_CMDS, thus allowing the user to execute any command with the permissions of the shell.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-9924 bash: BASH_CMD is writable in restricted bash shells [fedora-all]
bugzilla·2019-03-22·CVSS 7.8
CVE-2019-9924 [HIGH] CVE-2019-9924 bash: BASH_CMD is writable in restricted bash shells [fedora-all]
CVE-2019-9924 bash: BASH_CMD is writable in restricted bash shells [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versio
Bugzilla
CVE-2019-9924 bash: BASH_CMD is writable in restricted bash shells
bugzilla·2019-03-22·CVSS 7.8
CVE-2019-9924 [HIGH] CVE-2019-9924 bash: BASH_CMD is writable in restricted bash shells
CVE-2019-9924 bash: BASH_CMD is writable in restricted bash shells
rbash in Bash before 4.4-beta2 did not prevent the shell user from modifying BASH_CMDS, thus allowing the user to execute any command with the permissions of the shell.
Reference:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1803441
Upstream commit:
http://git.savannah.gnu.org/cgit/bash.git/commit/CHANGES?h=bash-4.4-testing&id=955543877583837c85470f7fb8a97b7aa8d45e6c
Discussion:
Created bash tracking bugs for this issue:
Affects: fedora-all [bug 1691775]
---
An attacker can execute binaries with / in their names even when bash is used as a Restricted Shell, by abusing the environment variable BASH_CMDS.
---
Is there any plan to have this moderate issue patched on RHEL7? If so is there any ETA on that patch'
http://git.savannah.gnu.org/cgit/bash.git/tree/CHANGES?h=bash-4.4-testing#n65http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00049.htmlhttps://bugs.launchpad.net/ubuntu/+source/bash/+bug/1803441https://lists.debian.org/debian-lts-announce/2019/03/msg00028.htmlhttps://security.netapp.com/advisory/ntap-20190411-0001/https://usn.ubuntu.com/4058-1/https://usn.ubuntu.com/4058-2/http://git.savannah.gnu.org/cgit/bash.git/tree/CHANGES?h=bash-4.4-testing#n65http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00049.htmlhttps://bugs.launchpad.net/ubuntu/+source/bash/+bug/1803441https://lists.debian.org/debian-lts-announce/2019/03/msg00028.htmlhttps://security.netapp.com/advisory/ntap-20190411-0001/https://usn.ubuntu.com/4058-1/https://usn.ubuntu.com/4058-2/
2019-03-22
Published