Shellshock
If you haven’t already heard, ShellShock is the name of a recent vulnerability CVE-2014-6271 discovered in GNU Bash. Apple ships Bash v3 in the latest version of their operating system, OS X Mavericks.
There are a number of ways to determine if your copy of Bash is vulnerable. The best one I’ve seen is bashcheck. It only checks Bash for the original ShellShock vulnerability but also ones discovered after the initial “fix” was released. Excecuting the bashcheck
script tests the default Bash installation on the machine. Here’s some sample output:
Keen observers may have noticed that the script also outputs the location of the Bash executable. In the case above, it’s /opt/local/bin/bash
as opposed to /bin/bash
. I use the MacPorts version of Bash instead of Apple’s include Bash since Apple has a history of included outdated or modified versions of Unix utitlies in their operating system. While Apple has released a patch, it’s still a major version way from the latest available version.
Whichever way you go, make sure you apply the patch!
< Home