From owner-freebsd-security@FreeBSD.ORG Mon May 9 11:09:23 2011 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD769106568F for ; Mon, 9 May 2011 11:09:23 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 69F6E8FC13 for ; Mon, 9 May 2011 11:09:23 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id ADD411FFC58; Mon, 9 May 2011 10:53:44 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 7498D844DF; Mon, 9 May 2011 12:53:44 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Jason Hellenthal References: <4DC40E21.6040503@gmail.com> <4DC4102E.8000700@gmail.com> <201105072231.p47MVktY035491@catflap.bishopston.net> <20110508075203.GA61754@DataIX.net> <20110508173931.GA2757@DataIX.net> Date: Mon, 09 May 2011 12:53:44 +0200 In-Reply-To: <20110508173931.GA2757@DataIX.net> (Jason Hellenthal's message of "Sun, 8 May 2011 13:39:31 -0400") Message-ID: <86fwoof8lj.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Jamie Landeg Jones , freebsd-security@freebsd.org, feld@feld.me, Edho P Arief , Chris Rees Subject: Re: Rooting FreeBSD , Privilege Escalation using Jails (P??????tur) X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2011 11:09:23 -0000 X-List-Received-Date: Mon, 09 May 2011 11:09:23 -0000 X-List-Received-Date: Mon, 09 May 2011 11:09:23 -0000 X-List-Received-Date: Mon, 09 May 2011 11:09:23 -0000 X-List-Received-Date: Mon, 09 May 2011 11:09:23 -0000 X-List-Received-Date: Mon, 09 May 2011 11:09:23 -0000 X-List-Received-Date: Mon, 09 May 2011 11:09:23 -0000 X-List-Received-Date: Mon, 09 May 2011 11:09:23 -0000 X-List-Received-Date: Mon, 09 May 2011 11:09:23 -0000 X-List-Received-Date: Mon, 09 May 2011 11:09:23 -0000 Jason Hellenthal writes: > Chris Rees writes: > > I've updated the docs patches (links at [1]), though unfortunately it > > means it's a little less elegant; I'm reluctant to suggest > >=20 > > # chmod 0700 $D/.. > Haha I would strongly suggest against that ;) Not knowing where people ar= e=20 > keeping the jails would impose quite a bit of harm if they did have them= =20 > in places like that or /var/jailname. What do you mean, "not knowing where people are keeping the jails"? Only root can start a jail, so there is no risk of anyone starting a hidden jail somewhere. Besides, jls(8) lists the root path of each jail. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no