Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Linux 2.X pipe() NULL ptr deref/race local root exploit (RHEL 5.4 x64)

Loading...

Sign in or sign up now!
4,488
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Nov 4, 2009

Watch in HD Fullscreen :)

Back again with yet another linux exploit. For time purposes I'm only demonstrating it on RHEL 5.4, but if you look on my twitter you can see screenshots of it working on every distro mentioned in the video. It'll work on everything else too, I just don't have the VMs installed. Every version of Linux I can get my hands on is vulnerable.

Initially the title of this video stated the exploit was SMP-only. That's not the case -- some single-processor systems with PREEMPT enabled are also capable of winning the race, leading to compromise.

Mitigation:
Make sure you have mmap_min_addr enabled on your machines and that it can't be bypassed. To test if mmap_min_addr can be bypassed or is disabled or not present on your machine, download enlightenment and run ./run_null_exploits.sh You don't have to choose any particular exploit -- it will attempt to mmap at NULL by any means possible and report the success or failure. Unlike with sock_ops there is no workaround for this vulnerability -- so it's time to bite the bullet and upgrade to a kernel that protects against this specific class of bugs in general. Workarounds have never been a long-term solution.

This exploit was written within an hour on October 22nd 2009.

Category:

Comedy

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:
see all

All Comments (6)

Sign In or Sign Up now to post a comment!
  • so where coudl we get a copy of the code?

  • that great man! realy respect to U!

    also wanna know what misic u'r use in the movie?

  • Yes, I got some gifts from Lockerz... But I found it's better to make my own money at ez-casino(dot)com!

  • hacker .

  • I think this is CentOS 5.4

  • \o/

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more