From owner-freebsd-bugs@FreeBSD.ORG Wed Oct 8 20:40:09 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2FDD316A4B3 for ; Wed, 8 Oct 2003 20:40:09 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3654443FB1 for ; Wed, 8 Oct 2003 20:40:08 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h993e7FY040012 for ; Wed, 8 Oct 2003 20:40:07 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h993e7tr040011; Wed, 8 Oct 2003 20:40:07 -0700 (PDT) (envelope-from gnats) Date: Wed, 8 Oct 2003 20:40:07 -0700 (PDT) Message-Id: <200310090340.h993e7tr040011@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: mjoyner Subject: Re: kern/55568: DUMP has access to block devices in a JAIL X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: mjoyner List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2003 03:40:09 -0000 The following reply was made to PR kern/55568; it has been noted by GNATS. From: mjoyner To: Kris Kennaway Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: kern/55568: DUMP has access to block devices in a JAIL Date: Wed, 08 Oct 2003 23:33:50 -0400 Where would one find documentation to prevent the jailed user from being able to dump the raw partition(s)? Kris Kennaway wrote: > On Wed, Aug 13, 2003 at 09:04:06PM -0400, mjoyner wrote: > > >> A jailed root user can use DUMP and gain a snapshot of the >>entire disk. >> From there the jailed root user can restore files from the HOST >>SYSTEM >> or any other jails at their leisure. > > > Only if the administrator has configured the jail with the raw disk > devices. As you note, this is a security risk. > > >> Even if DEVFS is not mounted, a root user could possibly create a >> device node anyways, and one needs TTYS anyways. > > > I believe this to be untrue. root cannot make device nodes once > inside a jail. > > Kris