Blog
Rahul Thadani

Shellshock Bug – How Does it Impact You?

October 1, 2014
10
Estimated reading time: 3 minutes

A new security bug has been discovered recently, and it is as big, if not bigger, than the Heartbleed bug from a few months back. This security bug is called ‘Shellshock’ and it is found in a common program that runs on UNIX and Linux operating systems. The scope of this bug is pretty huge and now that attackers are aware of this, it could lead to severe security risks for many users. Not since Heartbleed have we seen such a security bug operate on such a large scale.

bash-shellshock

What is Shellshock all about?

Shellshock is a security vulnerability found in Bash. Bash is a command shell that is commonly used on Linux and UNIX operating systems and it has been around since 1989. Alarmingly, Shellshock has been around for more than 20 years now and it is yet unknown if it was accidentally developed by the creator. Just like Heartbleed, Shellshock seems to have been around for a long time and has been missed by several security audits.

What is Bash and how does Shellshock work within it?

Shellshock is what is commonly termed as a Remote Code Execution (RCE) vulnerability within Bash. Just like we have the Command Prompt on Windows, Linux and UNIX have the command shell known as Bash. It helps the user run other programs within the system and Bash stands for “Bourne Again Shell”.

Using the Shellshock vulnerability, an attacker can affect machines using a technique known as command injection. Via this method, he can run a program on Bash without intimating the user and without logging on to the computer himself. Since Bash runs several programs in the background, all the attacker needs to do is ensure that his malicious text is not spotted. Harmless looking data contains malicious code that gets executed in this scenario.

Who is vulnerable to Shellshock?

Bash is commonly used in Apple’s OS X operating system. Additionally, it is also present in several web-servers and home appliances such as routers and other devices which face the Internet. This causes further trouble as updates for these devices are not easy to acquire or implement. As a result, Shellshock could potentially disrupt several services and homes.

With Heartbleed, an attacker could only steal data stored in the memory of systems. However, with Shellshock, he can gain complete access of the system. Hence the potential risk here is far greater.

Are Microsoft Windows users also vulnerable to Shellshock?

As of now, users of Apple Macs, Linux and UNIX based machines are vulnerable to Shellshock and the Bash vulnerability. Windows users are not directly vulnerable to the same. However, attackers are working on ways to utilize this weakness against Windows users as well. So it is highly recommended that Windows users keep their OS and security software completely updated at all times.

So what is the solution for Shellshock?

There are several programs and techniques that prevent command injection. However, the problem is that no one really knows what commands to look for as attackers can mask it well. Placing a few words of malicious code within thousands of lines is very easy, and pinpointing it is like finding a needle in a haystack.

The best solution here is for Bash to be updated by the people who use it. If there are any other vendor-specific updates available, they should be initiated as well.

UPDATE: It has been known that Macs use Bash as their default command shell. Hence they were at high risk. Apple has now pushed out updates that solve the Bash vulnerability in their systems. This update should be installed immediately from the following links:

OS X Lion
OS X Mountain Lion
OS X Mavericks

Moreover, we also recommend that Mac users install Quick Heal Total Security for Mac and keep this product updated for latest patches to guard against Shellshock.

Have something to add to this story? Share it in the comments.

Rahul Thadani
About Rahul Thadani
Rahul is a web enthusiast and blogger, and has been writing about the computer security industry for the last three years. Following the latest technology trends,...
Articles by Rahul Thadani »

10 Comments

Your email address will not be published.

CAPTCHA Image

  1. sooryanarayananOctober 8, 2014 at 2:11 PM

    So it is highly recommended that Windows users keep their OS and security software completely updated at all times.

    So as per ur version pleaase confirm me whether I am safe…Yesterday u have updated Antivirus….

    Reply
  2. is android vulnerable

    Reply
  3. This is quite helpful. Thanks

    Reply
  4. Rahil AhmadOctober 10, 2014 at 6:51 PM

    From where or in which form, this virus come into my pc.

    Reply
  5. nice and thanks

    Reply
  6. Atanu ChakrabortyOctober 28, 2014 at 8:05 PM

    Please Giv Me a sugesation that i have not compieted the update, again again faield.

    Reply