Linux Shellshock Security Patch

Just doing  a routine browsing this morning and i found that my Ubuntu is vulnerable with Shellshock attack. Shellshock is newly discovered security vulnerable for your bash, which means all Linux and Max are vulnerable from this security issue. Shellshock using crafted environment in bash script and gain access to your computer. This is more serious than heartbleed a while ago.

To test if your Linux is vulnerable, run this script on your bash terminal:

env x='() { :;}; echo vulnerable' bash -c "echo patch now!"

If you see a message: vulnerable patch now!, then stop everything you are doing now and do these patch:

For Ubuntu / Debian:

sudo apt-get update && sudo apt-get install --only-upgrade bash

For Centos:

yum -y update bash

This is a very serious security issue, so make sure you update all your server to prevent this vulnerability.

Stay Safe!

Script source:

Give me your feedback

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