Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search

Bosonic

(3,746 posts)
Thu Sep 25, 2014, 06:07 AM Sep 2014

Internet Braces for Crazy Shellshock Worm

Source: Wired

A nasty bug in many of the world’s Linux and Unix operating systems could allow malicious hackers to create a computer worm that wreaks havoc on machines across the globe, security experts say.

The flaw, called Shellshock, is being compared to last spring’s Heartbleed bug because it lets attackers do some nasty stuff—in this case, run unauthorized code—on a large number of Linux computer servers. The flaw lies in Bash, a standard Unix program that’s used to connect with the computer’s operating system.

The good news is that it doesn’t take long to patch the bug. At internet infrastructure provider CloudFlare, admins scrambled for about an hour this morning to fix the flaw, which was disclosed late on Tuesday. “We got 95 percent of it done within 10 minutes,” says Ryan Lackey a security engineer at the company.

Because Shellshock is easy to exploit—it only takes about three lines of code to attack a vulnerable server—Lackey and other security experts think there’s a pretty good chance that someone will write a worm code that will jump from vulnerable system to vulnerable system, creating hassles for the world’s system administrators. “People are already exploiting it in the wild manually, so a worm is a natural outgrowth of that,” Lackey says.

Read more: http://www.wired.com/2014/09/internet-braces-crazy-shellshock-worm/



Patch Bash NOW: 'Shell Shock' bug blasts OS X, Linux systems wide open

A bug discovered in the widely used Bash command interpreter poses a critical security risk to Unix and Linux systems – and, thanks to their ubiquity, the internet at large.

It lands countless websites, servers, PCs, OS X Macs, various home routers, and more, in danger of hijacking by hackers.

The vulnerability is present in Bash up to and including version 4.3, and was discovered by Stephane Chazelas. It puts Apache web servers, in particular, at risk of compromise: CGI scripts that use or invoke Bash in any way – including any child processes spawned by the scripts – are vulnerable to remote-code injection. OpenSSH and some DHCP clients are also affected on machines that use Bash.

Ubuntu and other Debian-derived systems that use Dash exclusively are not at risk – Dash isn't vulnerable, but busted versions of Bash may well be present on the systems anyway. It's essential you check the shell interpreters you're using, and any Bash packages you have installed, and patch if necessary.

"Holy cow. There are a lot of .mil and .gov sites that are going to get owned," security expert Kenn White said on Wednesday in reaction to the disclosed flaw.

The 22-year-old bug, dating back to version 1.13, lies in Bash's handling of environment variables: when assigning a function to a variable, trailing code in the function definition will be executed, leaving the door wide open for code-injection attacks. The vulnerability is exploitable remotely if code can be smuggled into environment variables sent over the network – and it's surprisingly easy to do so.

http://www.theregister.co.uk/2014/09/24/bash_shell_vuln/


From : http://arstechnica.com/security/2014/09/bug-in-bash-shell-creates-big-security-hole-on-anything-with-nix-in-it/

There is an easy test to determine if a Linux or Unix system is vulnerable. To check your system, from a command line, type:

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

8 replies = new reply since forum marked as read
Highlight: NoneDon't highlight anything 5 newestHighlight 5 most recent replies
Internet Braces for Crazy Shellshock Worm (Original Post) Bosonic Sep 2014 OP
Thanks for posting this!!! n/t RKP5637 Sep 2014 #1
oops BootinUp Sep 2014 #2
This message was self-deleted by its author Threedifferentones Sep 2014 #3
What is the Shellshock bug? Is it worse than Heartbleed? Bosonic Sep 2014 #4
This is trivial to patch if running CentOS/RHEL or any Ubuntu apnu Sep 2014 #5
Do the update again... defacto7 Sep 2014 #7
Indeed. I posted that before it was known. (Nt) apnu Sep 2014 #8
bash 3.2 on OSX.9 is vulnerable. Could make for an interesting botnet. sir pball Sep 2014 #6

Response to Bosonic (Original post)

Bosonic

(3,746 posts)
4. What is the Shellshock bug? Is it worse than Heartbleed?
Thu Sep 25, 2014, 11:02 AM
Sep 2014
What is the Shellshock bug? Is it worse than Heartbleed?

Security experts are warning that a serious flaw named Shellshock could be about to affect many of the world’s web users.

Some analysts warn it could be worse than Heartbleed, a vulnerability within web encryption library OpenSSL which caused a stir this year as it theoretically allowed attackers to take over websites.

The US government-backed National Vulnerability Database rated Shellshock 10/10 for severity. Here’s a simple guide to what the Bash bug is, why it matters and what people can do to help prevent future attacks.

What is Bash?

Bash, an acronym for Bourne Again Shell, is a command-line shell. This lets users issue commands to launch programs and features within software by typing in text. It’s typically used by programmers and shouldn’t be open to the wider world, though Shellshock changes that.

More: http://www.theguardian.com/technology/2014/sep/25/shellshock-bug-heartbleed

apnu

(8,758 posts)
5. This is trivial to patch if running CentOS/RHEL or any Ubuntu
Thu Sep 25, 2014, 12:00 PM
Sep 2014

I took care of my company's servers in less than 5 minutes.

Yes the flaw is bad, but there's patches and they're pretty small. Didn't bug my production environment at all.

sir pball

(4,756 posts)
6. bash 3.2 on OSX.9 is vulnerable. Could make for an interesting botnet.
Thu Sep 25, 2014, 02:12 PM
Sep 2014

On the bright side, I haven't heard anything about privilege escalation. Yet.

Latest Discussions»Latest Breaking News»Internet Braces for Crazy...