REDHAT-BUG-1691774: Medium severity GNU bash vulnerability
rbash in Bash before 4.4-beta2 did not prevent the shell user from modifying BASHCMDS, 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
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Systems that use rbash to restrict shell users are exposed if their Bash version is before 4.4-beta2. The impact is limited to the permissions of the affected restricted shell session.
What does an attacker need to exploit it?
An attacker needs access to an rbash shell and the ability to modify the BASH_CMDS variable. They can then execute commands that rbash was intended to prevent.
Are standard Bash shells affected?
The issue is described specifically as a failure of rbash restrictions. The provided information does not indicate an impact on unrestricted Bash shells.
What can be done if an update is not immediately available?
Do not rely on rbash as a security boundary for users who may be able to modify BASH_CMDS. Restricting access to such shell sessions reduces exposure until Bash can be updated to a version that includes the fix.