[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

The restricted shell can be easily circumvented.

From: David Bonner
Subject: The restricted shell can be easily circumvented.
Date: Fri, 3 Apr 2015 23:22:47 -0600

Bash Bug Report

Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='p$
uname output: Linux LFS-BUILD 3.16.0-23-generic #31-Ubuntu SMP Tue Oct 21 17:56:17 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu

Bash Version: 4.3
Patch Level: 30
Release Status: release

        The restricted shell opened by calling rbash or bash with the -r or --restricted option can be easily circumvented with the
        command 'chroot / bash' making the restricted shell useless because anyone can get out of it with this command.

        1:Open a restricted shell
        2:Test with 'cd ..'
        3:Use 'chroot / bash'
        4:Test that you are no longer restricted with 'chroot / bash'

reply via email to

[Prev in Thread] Current Thread [Next in Thread]