Server check for bash shellshock vulnerability

To find out if your server is vulnerable to shellshock, run one of the following commands:

curl https://shellshocker.net/shellshock_test.sh | bash

or

curl https://www.tech-notes.net/wp-content/uploads/2014/10/shellshock_test.sh |bash

As a result we get something like this: Screenshot from 2014-10-01 09:52:03

In order to fix the problem you need to update bash.

First you need to find out which version is installed. Based on of this article execute:

rpm -qa |grep bash

as a result we get something like this: Screenshot from 2014-10-01 09:59:54

or do:

bash-version

as a result we get something like this: [Screenshot from 2014-10-01 10:01:30] (/wp-content/uploads/2014/10/Screenshot-from-2014-10-01-100130.png)

To eliminate all misunderstandings we perform:

yum update bash -y

or

apt-get update; apt-get install -only-upgrade bash

After that the picture looks completely different: [Screenshot from 2014-10-01 10:04:49] (/wp-content/uploads/2014/10/Screenshot-from-2014-10-01-100449.png)

You can also you the host-tracker.com site: Screenshot from 2014-10-07 08:09:06

Screenshot from 2014-10-07 08:07:31