Newsletters

Select newsletters below and click the button to sign up!

Boston News NY News
DC News Internet Daily
SiliconValley News
InternetNews Business Report




Become a Marketplace Partner



Partner With Us















Internetnews Bloggers

Recent Entries

Archives

August 2009
Sun Mon Tue Wed Thu Fri Sat
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          

Monthly Archives

Search The Blog

Netstat -vat by Sean Michael Kerner (bio)

A command line view of IT



Linux at risk from NULL security flaw

tux.jpg
From the 'this is not a drill' files:

Linux users take note: we're all at risk from a kernel privilege escalation flaw. No it's not the end of the world, that will lead to massive remote exploits and all Linux servers being pwnd. But it is something to be concerned about.

The flaw is a NULL pointer error that exists in all versions of the Linux kernel released since 2001. No that's not a typo.

This is a flaw that potentially has been in Linux for eight years and has somehow escaped the 'many eyes' philosophy of finding security flaws. It has also somehow escaped the static analysis that is performed on the Linux kernel that is supposed to find such NULL pointer flaws.

"Tavis Ormandy and myself have recently found and investigated a Linux kernel vulnerability," Security Researcher Julien Tinnes wrote in his advisory. "It affects all 2.4 and 2.6 kernels since 2001 on all architectures. We believe this is the public vulnerability affecting the greatest number of kernel versions."

Linux founder Linus Torvalds, late Thursday committed a patch to the Linux kernel that will mitigate the issue - which is good. But considering that it takes time for such a patch to propagate into kernel builds used by the Linux distributions, there is cause for concern.

Linux vendor Red Hat has posted an immediate mitigation for users on its bugzilla entry page for the flaw. I personally (as of the time of this blog posting) have not seen an actual Red Hat (or other Linux vendor) Linux update including Torvalds patched kernel (yet).
"It is possible to mitigate this flaw by blacklisting the affected protocols," Eugene Teo commented on Red Hat's bugzilla entry. "Note that this is not an exhaustive list of modules to blacklist, but this should prevent the publicly circulated exploit from working properly as this is the list of protocols (relevant to RHEL) known to be affected."
The actual vulnerability is that the a NULL pointer exists where one shouldn't.
"This issue is easily exploitable for local privilege escalation," Tinnes wrote in his advisory. "In order to exploit this, an attacker would create a mapping at address zero containing code to be executed with privileges of the kernel, and then trigger a vulnerable operation."
In terms of actually trying to exploit a kernel, Tinnes stated that the vulnerability is trivial to exploit and that all an attacker can just put code in the first page that will get executed with kernel privileges.

So potentially if a piece of code/application were infected with this trivial exploit it could lead to a condition where an attacker could potentially gain root control over a Linux system. I have not yet seen a fully weaponized version of this exploit, but if I easily imagine how one could be built into a bogus app or download.

It never ceases to amaze me how something can sit dormant in a piece of code for years, un-noticed and then suddenly become a big issue.

I think that Linux kernel devs need to come up with a new protocol for identifying NULL pointer issues that could lead to security exploits. This issue should have been caught sooner.

| Comments (2) | TrackBacks (0) | Share

0 TrackBacks

Listed below are links to blogs that reference this entry: Linux at risk from NULL security flaw.

TrackBack URL for this entry: https://swarm.jupitermedia.com/mt-tb.cgi/8719

2 Comments

handydan918 said:

Right, it should have been identified. But really, it's a LOCAL exploit...
Hardly in the same class of issues as the thousands of Windows exploits that can be executed from *.ru....

thanks for keeping us update on the truth and not hype. local exploits are manageable to your environments.

Leave a comment