Seascape
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Seascape

Life in Miramar Beach and the surrounding planets
 
HomeLatest imagesSearchRegisterLog in

 

 Check If Your Linux System Is Vulnerable To Shellshock And Fix It

Go down 
AuthorMessage
justdhf
Admin
justdhf


Posts : 1872
Join date : 2008-10-30
Age : 72
Location : Florida

Check If Your Linux System Is Vulnerable To Shellshock And Fix It Empty
PostSubject: Check If Your Linux System Is Vulnerable To Shellshock And Fix It   Check If Your Linux System Is Vulnerable To Shellshock And Fix It Icon_minitimeSun Sep 28, 2014 1:30 pm

Wondering if your Linux system has been impacted by Shellshock? There is an easy way to check it, which we are about to see.

Check Linux system for Shellshock vulnerability

Open a terminal and run the following command in it:

env x='() { :;}; echo vulnerable' bash -c 'echo hello'

If your system is NOT vulnerable, you will see an output like this:

bash: warning: x: ignoring function definition attempt
bash: error importing function definition for `x’
hello

If your system is vulnerable to Shellshock bug, you’ll see an output like this:

vulnerable
hello

You can also check the bash version in use by using the command below:

bash --version

If the bash version in use is 3.2.51(1), you should update it.

Patch Linux system for Shellshock vulnerability

If you are running a Debian based Linux OS such as Ubuntu, Linux Mint etc, use the following command to upgrade Bash:

sudo apt-get update && sudo apt-get install --only-upgrade bash

For Linux OS like Fedora, Red Hat, Cent OS etc, use the following command:

yum -y update bash



http://itsfoss.com/linux-shellshock-check-fix/
Back to top Go down
http://domania.us/justdhf/index.html
 
Check If Your Linux System Is Vulnerable To Shellshock And Fix It
Back to top 
Page 1 of 1
 Similar topics
-
» ShellShock Roundup: here is what to do if you are vulnerable
» 5 Ways To Check If Linux OS is 32 bit or 64 Bit
» 10 Web browsers for the Linux operating system
» The Shellshock Bash Bug and Why it Matters: Tech News 2night 180
» Tech News 2Night 180: Bash Shellshock Bug Bigger than Heartbleed

Permissions in this forum:You cannot reply to topics in this forum
Seascape :: General :: PC :: Linux-
Jump to: