Home > Linux > Ubuntu 12.04 LTS Shellshocked

Ubuntu 12.04 LTS Shellshocked

I have a couple of servers running Ubuntu Linux 12.04 LTS that are not getting the new release of bash that resolves the shellshock bug through the standard update mechanism apt-get.

The solution is to download the package and install it manually.

  1. Download the package from http://packages.ubuntu.com/precise/amd64/bash/download
  2. Run the following command to install it:
    sudo dpkg -i bash_4.2-2ubuntu2.5_amd64.deb
  3. You can run the following command to see if you are vulnerable – no output is good!
    x='() { :;};echo Vulnerable!' bash -c true
Advertisements
Categories: Linux
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: