Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Bash or Shellshock bug

Have just read in the NYT and CNET about the Bash or Shellshock bug, a new security vulnerability which could affect hardware running Mac OS X.

Anybody know about this and is there anything to be done?

iMac (21.5-inch Mid 2011), Mac OS X (10.7.5), using a router (desktop and tablet)

Posted on Sep 25, 2014 6:45 AM

Reply
20 replies

Sep 25, 2014 10:50 AM in response to V.A.P.

I'm running Mac OS X 10.9.5 and I tested the code (in a friendly way) and its true, we are all vulnerable!


Open the Terminal application and type:

env X="() { :;} ; echo shellshock" `which bash` -c "echo completed"


If the above command returns:

shellshock

completed


Means that the OS is vulnerable, no comments from Apple yet? I only have Mac OS on my notebooks, all servers here are Red Hat Enterprise Linux (Thanks GOD) and they are all already patched!

Sep 25, 2014 10:53 AM in response to tandonk

Thanks a great workaround, but what happens when Apple releases the fix? What will happen to the manual modification that you did? Will it be overwritten by Apples fix? or will Mac OS not be able to apply whatever comes from Apple? Messing with manual workarounds might lead to headaches in the future (specially if you keep upgrading OSes).


What do you think?

Sep 25, 2014 11:03 AM in response to V.A.P.

The truth is: yes you are technically vulnerable. But the reality is unless you allow SSH access from remote connections or a web server that runs server side scripting, you are not at risk. You are only truly vulnerable if someone you do not know can remotely access your machine & do so in a way where a Bash command can be executed.

So this issue is mainly of concern to system administrators on Mac OS X & Unix/Linux servers exposed to the world, not desktop users who do not enable SSH sharing.

Sep 26, 2014 8:29 AM in response to V.A.P.

Unless you are running OS 10.9.5 you are not affected.


Apple has promised an update for advanced Unix users (the only ones possible affected except those running OS 10.9.5):


http://www.imore.com/apple-working-quickly-protect-os-x-against-shellshock-explo it


Advanced users who have OS X machines in a situation where they may be remotely exploited, such as systems administrators with internet-facing OS X servers, can mitigate the issue by recompiling bash with the official patches from GNU until Apple issues its own update:


https://ftp.gnu.org/pub/gnu/bash/bash-3.2-patches/bash32-052

Bash or Shellshock bug

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.