Jump to content

Menu

Potential computer bug warning


Mrs Mungo
 Share

Recommended Posts

It's patched.

 

http://www.theguardian.com/technology/2014/sep/26/bash-bug-shellshock-richard-stallman?CMP=twt_gu

 

 

http://www.macissues.com/2014/09/25/bash-shell-shock-vulnerability-affect-unix-based-systems-including-os-x/

 

The command is the same on *nix:

 

env x='() { :;}; echo vulnerable' bash -c 'echo this is a test'

 

If you get the below then shellshock bug is patched.

 

##
bash: warning: x: ignoring function definition attempt
bash: error importing function definition for `x'

##

 

 

Link to comment
Share on other sites

Open a terminal window (Command Prompt: http://www.wikihow.com/Get-to-the-Command-Line-on-a-Mac) and type in the following:

 

env x='() { :;}; echo vulnerable' bash -c 'echo this is a test'

 

and hit enter. You should see the following:

 

##
bash: warning: x: ignoring function definition attempt
bash: error importing function definition for `x'
this is a test
##

 

if you are patched. If not, you will see "vulnerable"

 

This is copied and pasted off the Trisquel forums, so it may be slightly different for a Mac.

 

There's more info here:

 

https://www.fsf.org/news/free-software-foundation-statement-on-the-gnu-bash-shellshock-vulnerability

 

and a link to where you can download the patch if your OS hasn't already released it and you're up for something a bit more complicated than sudo apt-get update sudo apt-get upgrade.

 

 

 

 

 

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...