Hot to check if your Linux server is vulnerable regarding the BASH bug?

Just type this command in your SSH shell

$ env x='() { :;}; echo vulnerable' bash -c 'echo hello'

If you got this output then you are safe:
bash: warning: x: ignoring function definition attempt
bash: error importing function definition for `x'

If you got this output then you are vulnerable and need to update:

Here is the tutorial how to do it:

You may also like

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.