From owner-freebsd-security@FreeBSD.ORG Fri Feb 27 04:33:32 2004 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8755516A4CE; Fri, 27 Feb 2004 04:33:32 -0800 (PST) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2452743D1D; Fri, 27 Feb 2004 04:33:32 -0800 (PST) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id BFB115309; Fri, 27 Feb 2004 13:33:30 +0100 (CET) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id B830F5308; Fri, 27 Feb 2004 13:33:25 +0100 (CET) Received: by dwp.des.no (Postfix, from userid 2602) id 86A0433C68; Fri, 27 Feb 2004 13:33:25 +0100 (CET) To: "Jacques A. Vidrine" References: <403CEF67.5040004@kientzle.com> <20040226225149.GB73252@nagual.pp.ru> <403E7B4D.8030803@kientzle.com> <20040227111353.GA14777@sheol.localdomain> <20040227112658.GA36271@nagual.pp.ru> <20040227122718.GA46119@madman.celabo.org> From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Fri, 27 Feb 2004 13:33:25 +0100 In-Reply-To: <20040227122718.GA46119@madman.celabo.org> (Jacques A. Vidrine's message of "Fri, 27 Feb 2004 06:27:19 -0600") Message-ID: User-Agent: Gnus/5.090024 (Oort Gnus v0.24) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on flood.des.no X-Spam-Level: X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=no version=2.63 cc: freebsd-security@FreeBSD.ORG cc: Andrey Chernov cc: das@FreeBSD.ORG cc: kientzle@acm.org Subject: Re: Environment Poisoning and login -p X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Security issues [members-only posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2004 12:33:32 -0000 "Jacques A. Vidrine" writes: > On Fri, Feb 27, 2004 at 02:27:00PM +0300, Andrey Chernov wrote: > > On Fri, Feb 27, 2004 at 05:13:53AM -0600, D J Hawkey Jr wrote: > > > > Instead, I've decided to follow Jacques Vidrine's > > > > suggestion of using a whitelist of environment variables > > > > that are "known-safe." > > > Coming in from left field... Will there be some sort of mechanism for > > > an admin to set/modify this list? > > I agree we'll need it (because of different assumptions). Something like > > /etc/safe_environment file. > Whoa, Let's not complicate things unnecessarily. Agreed, let's let this discussion die instead. login(1) is no longer setuid root, so the whole thing is a non-issue. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no