Ensure that our system is infected with Shellshock Bash
Ensure that our system is infected with Shellshock Bash
In this guide we will see how to check and solve the problem of Shellshock in our Linux distribution.
Shellshock Test
A few days ago we released an article dedicated to Shellshock, bug reported by researchers that Red Hat is doing a lot to talk given that "might" endanger millions of personal computers and servers. As usual, a few hours after reporting the developer of the leading Linux distributions had already released an update can fix the bugs, thus preventing a malicious user could use the bug to be able to work on our system (this is not very simple).
We can also easily verify whether or not our operating system is "infected" by Shellshock.
Simply open the terminal and type:
Shellshock Test
A few days ago we released an article dedicated to Shellshock, bug reported by researchers that Red Hat is doing a lot to talk given that "might" endanger millions of personal computers and servers. As usual, a few hours after reporting the developer of the leading Linux distributions had already released an update can fix the bugs, thus preventing a malicious user could use the bug to be able to work on our system (this is not very simple).
We can also easily verify whether or not our operating system is "infected" by Shellshock.
Simply open the terminal and type:
if we get as a result:env x='() { :;}; echo vulnerable' bash -c "echo this is a test"
vulnerablemeans that in our system there is a bug in bash Shellshock
this is a test
if instead we have as a result
this is a testWe can rest easy.
To solve the problem, simply update Bash by typing in a terminal:
For Debian, Ubuntu and derivatives:
sudo apt-get updateFor Fedora, CentOS, Red Hat and derivatives:
sudo apt-get install bash
sudo yum install bashFor openSUSE and derivatives:
sudo zypper install bashFor Arch Linux and derivatives, Chakra, etc. Manjaro:
sudo pacman -Sy bashAt the end I rebooted the check, and that's solved the problem Shellshock.