Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 02-21-2005, 11:21 PM   #1
Registered: Feb 2004
Posts: 307

Rep: Reputation: 30
Breaking out of Chroot

Does anyone know if this has been fixed with newer versions of Linux? If so, which versions are required?
Old 02-26-2005, 03:10 PM   #2
Senior Member
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
I'm not sure if these have been directly addressed in recent kernel versions, but I do know that the original SELinux framework prevents fchdir() chroot attacks because the type security labels won't allow access outside of the chroot. However, SELinux is still not fully mature and I'm not sure how much of this has been integrated yet. If you're trying to lock down your chroot, take a look at grsecurity. It has some really nice features that prevent fchdir(), piviot_root, double chroot, as well as a number of other restrictions.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Breaking Into Programming - What now? simsjr Programming 14 06-07-2004 02:16 PM
breaking waves... marsques Linux - Software 4 05-18-2004 02:25 AM
Slackware is breaking on me h1tman Slackware 8 08-18-2003 07:53 AM
It's this a breaking attent? hubergeek Linux - Security 1 11-27-2002 12:24 PM
Breaking Windows cli_man General 17 04-20-2002 03:35 AM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:24 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration