Shell Shocked

1,464 Views | 4 Replies | Last: 9 yr ago by dave99ag
kb2001
How long do you want to ignore this user?
AG
If you thought Heart Bleed was bad, at least it could be patched. How many devices have bash embedded on them that cannot be patched?

http://www.theregister.co.uk/2014/09/25/shell_shocked_not_yet/

Quick way to test run this

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

Basically, within a statement setting an environment var, declare a function and trail it with a command. The vuln is that the command will be executed

If your shell echoes the word "vulnerable", it is at risk.

If you get an error (see below), then you should be safe

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

BAD:
vulnerable
this is a test
GIGEMeh
How long do you want to ignore this user?
You're not necessarily safe, even if you get the error message. The Redhat patch is known to be insufficient, at least.
JDCAG (NOT Colin)
How long do you want to ignore this user?
AG
Here's a fix I was pointed to that seems to work

https://gist.github.com/juanpaco/9c90ce3c12ca1c7728f9
kb2001
How long do you want to ignore this user?
AG
Red Hat has released another patch, so if you update to current now it should be okay

https://access.redhat.com/articles/1200223
biobioprof
How long do you want to ignore this user?
Where's my OSX software update?!!!
dave99ag
How long do you want to ignore this user?
AG
Here's the OS X bash update: http://support.apple.com/kb/DL1769
Refresh
Page 1 of 1
 
×
subscribe Verify your student status
See Subscription Benefits
Trial only available to users who have never subscribed or participated in a previous trial.