- Joined
- Dec 8, 2009
- Messages
- 453
- Reaction score
- 10
- Points
- 18
- Your Mac's Specs
- iMac 2014 i5 5k 32gb 1tb fusion, second TB display, 2014 MBA
A real bug was described today that will affect OSX and any 'nix's. There are no known exploits in the wild yet, but it is fairly serious. I can play with it on Debian and it is easy to use, although I don't really see a way for someone to trigger it over the net. However, my statement of "I don't see how..." puts no limits on a determined hacker.
OSX has it also, including 10.9.5 just installed today. I haven't played with it on my Mac because I don't want to possibly wreak my production machine. On Linux, you can disable Bash and replace it with the C shell for a temporary solution, but I have a feeling that OSX will croak if you try that.
To see if you have it (and you do, as of 9/24/14) run the following at the command line...
env x='() { :;}; echo I got it' bash -c "echo do I have the bug"
If you get back "I got it" then the answer is yes
A good return, when Apple patches it, should look like this...
bash: warning: x: ignoring function definition attempt
bash: error importing function definition for `x'
Bash is used by much stuff and Apple needs to put out a patch chop-chop.
OSX has it also, including 10.9.5 just installed today. I haven't played with it on my Mac because I don't want to possibly wreak my production machine. On Linux, you can disable Bash and replace it with the C shell for a temporary solution, but I have a feeling that OSX will croak if you try that.
To see if you have it (and you do, as of 9/24/14) run the following at the command line...
env x='() { :;}; echo I got it' bash -c "echo do I have the bug"
If you get back "I got it" then the answer is yes
A good return, when Apple patches it, should look like this...
bash: warning: x: ignoring function definition attempt
bash: error importing function definition for `x'
Bash is used by much stuff and Apple needs to put out a patch chop-chop.