Bug in Bash Shell Creates Major Security Hole for Linux Users




/ 10 years ago

Bash Shell

A major security bug has been discovered in the GNU Borne Again Shell (Bash) – a  command-line shell that’s used across a wide array of Linux and Unix operating systems. The bug leaves systems running these OS’s open to the attack, and is centred around how Bash handles environmental variables that are passed by the operating system or through a program that calls a Bash-based script. What’s even more worrying is those who are running networks with these affected operating systems, as if Bash has been configured to be the default system shell – it’s capable that network-based attacks can be launched against servers and linked systems via web requests, secure shell, telnet sessions – or any other programs that utilises Bash to execute scripts.

This is a deep and widespread conundrum – one that’s potentially on the same scale as the Heartbleed bug that was discovered earlier this year. The global scale of systems and networks that are potentially compromised by the newly discovered security hole is enormous. Thankfully there is a rather easy method to determine if your particular Linux or Unix system is vulnerable. Simply open up your command line and enter:

env x='() { :;}; echo vulnerable’ bash -c “echo this is a test”
If the system is vulnerable, the output will be:

vulnerable
this is a test
An unaffected (or patched) system will output:

bash: warning: x: ignoring function definition attempt
bash: error importing function definition for `x’
this is a test

System administrators are urged to update their versions of Bash to the latest version to ensure resistance against the bug. Downloading the patched builds are available here for CentOS, Ubuntu and Debian.

Thanks to TheVerge for providing us with this information.


Topics: , , , ,

Support eTeknix.com

By supporting eTeknix, you help us grow and continue to bring you the latest newsreviews, and competitions. Follow us on FacebookTwitter and Instagram to keep up with the latest technology news, reviews and more. Share your favourite articles, chat with the team and more. Also check out eTeknix YouTube, where you'll find our latest video reviews, event coverage and features in 4K!

Looking for more exciting features on the latest technology? Check out our What We Know So Far section or our Fun Reads for some interesting original features.

eTeknix Facebook eTeknix Twitter eTeknix Instagram eTeknix Instagram
  • Be Social With eTeknix

    Facebook Twitter YouTube Instagram Reddit RSS Discord Patreon TikTok Twitch
  • Features


Send this to a friend
})