On BNET: Bag a raise in a recession
BNET Business Network:
BNET
TechRepublic
ZDNet

By Tom Espiner ZDNet UK
Posted on ZDNet News: Jul 20, 2009 8:18:04 AM

A security researcher has released zero-day code for a flaw in the Linux kernel, saying that it bypasses security protections in the operating system.

The source code for the exploit was made available last week by researcher Brad Spengler on the Dailydave mailing list. According to the researcher, the code exploits a vulnerability in Linux version 2.6.30, and 2.6.18, and affects both 32-bit and 64-bit versions. The 2.6.18 kernel is used in Red Hat Enterprise Linux 5.

The exploit bypasses null pointer de-reference protection in the mainline kernel, which could allow an attacker to gain root control of a system, Spengler wrote.

It also uses arbitrary code execution to disable security features such as auditing, Security-Enhanced Linux (SELinux), AppArmor and Linux Security Module, while making the applications running outside the kernel believe that SELinux is still operating.

In the notes for his source code, Spengler said the exploit is strengthened if SELinux is applied to the operating system. SELinux is a set of modifications that can be applied to the kernel to harden it, by providing a set of security policies.

"Having SELinux enabled actually weakens system security for these kinds of exploits," he wrote.

Security training organization the Sans Institute called the exploit "fascinating". In a blog post on Friday, Sans Institute incident handler Bojan Zdrnja said that the exploit uses the Linux compiler to overcome the security features.

"The compiler will introduce the vulnerability to the binary code, which didn't exist in the source code," wrote Zdrnja. "This will cause the kernel to try to read/write data from 0x00000000, which the attacker can map to userland — and this finally pwns the box."

In his notes on the source code, Spengler said that a workaround would be for administrators to compile the kernel with fno-delete-null-pointer-checks.

This article was originally posted on ZDNet UK.

SponsoredWhite Papers, Webcasts, and Downloads

  • Talkback
  • Most Recent of 69 Talkback(s)
Old news
How come this story was on the zdnet email today (6 Aug)?
The story is from 20 July and the actual problem in the Linux kernel has loing since been fixed.

I guess the summer is slow for all news media, also zdnet...

RG... (Read the rest)
Posted by: MonsM Posted on: 08/06/09 You are currently: a Guest | | Terms of Use
Actually ....  linux4u | 07/20/09
So the guys who compiled the Linux kernel traded security for speed?  markbn | 07/20/09
No, it appears to be a compiler bug ...  George Mitchell | 07/20/09
Compilers don't do that  LBiege | 07/20/09
You misunderstand OSS.  peter_erskine@... | 07/20/09
RE: Linux exploit evades security barrier  Loverock Davidson | 07/20/09
I don't wonder why you would never run it...  Viva la crank dodo | 07/20/09
Re:RE: Linux exploit evades security barrier  llemm | 07/20/09
WOW! Fixed Aready  Tim Patterson | 07/20/09
Re: WOW! Fixed Aready  llemm | 07/20/09
Thanks  Tim Patterson | 07/20/09
Hmm where have I heard this...  gnesterenko | 07/21/09
OS's, bugs, patches...and all of that.  bmonsterman | 07/20/09
If this is the first exploit you've heard about....  storm14k | 07/20/09
well now...  gnesterenko | 07/20/09
Oh really?  storm14k | 07/20/09
Just like Vista.  ye | 07/20/09
I didn't say it wasn't...  storm14k | 07/20/09
Apparently customers aren't liking SELinux  bmonsterman | 07/20/09
I've seen some that don't like it.  storm14k | 07/20/09
Such as?  ye | 07/20/09
It's easier for linux  notsofast | 07/20/09
Oh ok  gnesterenko | 07/20/09
What do you mean "NOW"  storm14k | 07/20/09
Don't take it so personally  gnesterenko | 07/21/09
But...  ShadowGIATL | 07/20/09
Its a bit more even now....  storm14k | 07/20/09
Thank You Mr. "BIG"...  windozefreak | 07/20/09
Well... depends on how you look at it i guess..  ShadowGIATL | 07/20/09
more even now?  blacksheepxlch | 07/21/09
Re:OS's, bugs, patches...and all of that.  llemm | 07/20/09
Well well well...  JT82 | 07/20/09
agreed!  Been_Done_Before | 07/20/09
They all have the same core...  JT82 | 07/20/09
Wrong....so utterly wrong....  storm14k | 07/20/09
Um please do re-read my post...thanks..  JT82 | 07/20/09
lmfo  gnesterenko | 07/20/09
Maybe you should reread your own.  storm14k | 07/20/09
Mmmm,  MeMyselfAndI_z | 07/20/09
@MeMyself  ShadowGIATL | 07/20/09
This demonstrates one of the reasons why I like Linux  Michael Kelly | 07/20/09
Yep  gnesterenko | 07/20/09
They're called "workarounds"  Michael Kelly | 07/20/09
Open source is good.  Dietrich T. Schmitz | 07/20/09
Workarounds  blacksheepxlch | 07/21/09
Don't actually use Linux much, do you?  LazLong | 07/21/09
There goes that security by obscurity thing again...  storm14k | 07/20/09
flame bait?  blacksheepxlch | 07/21/09
Re: Yep  llemm | 07/20/09
Ignorance is bliss  gnesterenko | 07/21/09
RE: Linux exploit evades security barrier  Viva la crank dodo | 07/20/09
It is about freaking time.....  MLHACK | 07/20/09
BWAAHAHAHAHAH!!!!!!  storm14k | 07/20/09
Rare? I download patches all the time for linux  MeMyselfAndI_z | 07/20/09
Also of note...  ShadowGIATL | 07/20/09
...if Linux was attacked...  EMonkIA | 07/21/09
RE: Linux exploit evades security barrier  tohip2002 | 07/20/09
RE: Linux exploit evades security barrier  llemm | 07/20/09
Wow...  ShadowGIATL | 07/20/09
RE: Linux exploit evades security barrier  llemm | 07/20/09
RE: Linux exploit evades security barrier  llemm | 07/20/09
re: Mmmm,  llemm | 07/20/09
This is all well and good  jackbond | 07/20/09
Re:This is all well and good  llemm | 07/20/09
Ummm  ShadowGIATL | 07/20/09
Well, THAT was tasteless...  TucsonGuy | 07/26/09
rofl  TedKraan | 08/06/09
Satire escapes some people  wolftalamasca | 08/06/09
Old news  MonsM | 08/06/09

What do you think?

advertisement
Click Here
advertisement

White Papers, Webcasts, and Downloads

SmartPlanet

Click Here