I just updated Ubuntu from an Update pop-up. I am aware of Shellshock, so I quickly went ahead with the install. Now, when I try running
env x='() { :;}; echo vulnerable' bash -c 'echo hello'
I don't get the output (which I was getting before)
bash: warning: x: ignoring function definition attempt
bash: error importing function definition for `x'
hello
as described in What is the CVE-2014-6271 bash vulnerability (Shellshock) and how do I fix it?
Rather, now I just get 'hello'. Is it safe to assume the updates that I installed hides these error messages? After reviewing the Software Center, I see the follwoing updates I installed:
unity-settings-daemon (14.04.0+14.04.20140414-0ubuntu1, 14.04.0+14.04.20140606-0ubuntu1
aptdaemon-data (1.1.1-1ubuntu5, 1.1.1-1ubuntu5.1)
python-aptdaemon.gtk3widgets (1.1.1-1ubuntu5, 1.1.1-1ubuntu5.1)
bash (4.3-7ubuntu1.3, 4.3-7ubuntu1.4)
python-aptdaemon (1.1.1-1ubuntu5, 1.1.1-1ubuntu5.1)
More specificly, does 4.3-7ubuntu1.4 hide the function definition attempt error message? Sorry for the suspicion but after some Googling, I have yet to find a similar problem. Any clarity will be much appreciated. Thanks!
env 'BASH_FUNC_x()'='() { :;}; echo OOPS' bash -c :
— you should see an error. – mattdm Sep 30 '14 at 22:01%%
for the suffix instead of()
, so it'll beBASH_FUNC_x%%
– mattdm Oct 01 '14 at 22:32