Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jul 1998 22:28:15 +0000
From:      Niall Smart <rotel@indigo.ie>
To:        Terry Lambert <tlambert@primenet.com>, n@nectar.com (Jacques Vidrine)
Cc:        hackers@FreeBSD.ORG
Subject:   Re: inetd enhancements
Message-ID:  <199807282128.WAA01426@indigo.ie>
In-Reply-To: <199807272316.QAA04693@usr05.primenet.com>; Terry Lambert <tlambert@primenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jul 27, 11:16pm, Terry Lambert wrote:
} Subject: Re: inetd enhancements
> > > Root can escape
> > > a chroot jail because of the way the chroot root vnode is (in my
> > > opinion) incorrectly set to NULL instead of the real root for the
> > > non-chroot case (fixing this would incidently simplify the namei code).
> > > 
> > > The "ftpd" case is especially vulnerable...
> > 
> > I don't follow.  Could you give an example scenario of an exploit?
> 
> I spared the list my code for doing this, sending it only to the
> questioner.  Thank you, Terry.

You can also effectively break out of chroot with ptrace.

Niall

-- 
Niall Smart, rotel@indigo.ie.
Amaze your friends and annoy your enemies:
echo '#define if(x) if (!(x))' >> /usr/include/stdio.h

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807282128.WAA01426>