- Thanks received
- 222
Aye, as I understand it on Ubuntu dash is the default but bash is still there. But best ask Suity, he is the expert on these things![]()
Ok so you're sounding more scared now the enormity is sinking in.

Aye, as I understand it on Ubuntu dash is the default but bash is still there. But best ask Suity, he is the expert on these things![]()


Aye, as I understand it on Ubuntu dash is the default but bash is still there. But best ask Suity, he is the expert on these things![]()
Twenty-two years? I heard it was at least twenty-five, though I haven't bothered going through the old source code to check
CGI isn't your only worry. An appropriately-crafted DHCP packet is just one of many other examples of how to gain privileged access to a vulnerable system.
CGI is the most commonly seen example at the moment because it's the easiest way to demonstrate the vulnerability; but it is just an example, not the be-all and end-all. Any report that characterises this as something to do specifically with web servers has completely missed the point.
Ubuntu and Debian flavours are unaffected.![]()
root@placid:~# env x='() { :;}; echo vulnerable' bash -c "echo this is a test"
vulnerable
this is a test
root@tyrant:~# env x='() { :;}; echo vulnerable' bash -c "echo this is a test" vulnerable
vulnerable
this is a test
root@tyrant:~# env x='() { :;}; echo vulnerable' bash -c "echo this is a test" vulnerable
bash: warning: x: ignoring function definition attempt
bash: error importing function definition for `x'
this is a test
root@chill:~# env x='() { :;}; echo vulnerable' bash -c "echo this is a test"
vulnerable
this is a test
root@chill:~# env x='() { :;}; echo vulnerable' bash -c "echo this is a test"
bash: warning: x: ignoring function definition attempt
bash: error importing function definition for `x'
this is a test
Ubuntu and other Debian-derived systems that use Dash exclusively are not at risk – Dash isn't vulnerable, but busted versions of Bash may well be present on the systems anyway. It's essential you check the shell interpreters you're using, and any Bash packages you have installed, and patch if necessary.
Not true. Here's the output from one of my machines - Ubuntu 10.04:
And this is the output from machine this site is on, again Ubuntu 10.04:Code:root@placid:~# env x='() { :;}; echo vulnerable' bash -c "echo this is a test" vulnerable this is a test
Patched and now not vulnerable:Code:root@tyrant:~# env x='() { :;}; echo vulnerable' bash -c "echo this is a test" vulnerable vulnerable this is a test
Here is one from a newly commissioned 14.04 box:Code:root@tyrant:~# env x='() { :;}; echo vulnerable' bash -c "echo this is a test" vulnerable bash: warning: x: ignoring function definition attempt bash: error importing function definition for `x' this is a test
Updated and now:Code:root@chill:~# env x='() { :;}; echo vulnerable' bash -c "echo this is a test" vulnerable this is a test
Same with CentOS, I have a few of these and they are all affected too.Code:root@chill:~# env x='() { :;}; echo vulnerable' bash -c "echo this is a test" bash: warning: x: ignoring function definition attempt bash: error importing function definition for `x' this is a test
Ok so you're sounding more scared now the enormity is sinking in.![]()

Unless of course you installed bash. Or it was rolled out alongside something else.