From owner-freebsd-security@FreeBSD.ORG Mon Mar 15 12:23:15 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 549B116A4CE for ; Mon, 15 Mar 2004 12:23:15 -0800 (PST) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id EFA5C43D1F for ; Mon, 15 Mar 2004 12:23:13 -0800 (PST) (envelope-from ru@ip.net.ua) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.10/8.12.9) with ESMTP id i2FKRRee025487 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 15 Mar 2004 22:27:28 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.12.11/8.12.11) id i2FKNCTN072412; Mon, 15 Mar 2004 22:23:12 +0200 (EET) (envelope-from ru) Date: Mon, 15 Mar 2004 22:23:12 +0200 From: Ruslan Ermilov To: Marc Olzheim Message-ID: <20040315202311.GB72326@ip.net.ua> References: <20040312104914.GA52099@ip.net.ua> <20040312105730.GA99925@stud326.idi.ntnu.no> <20040312110657.GB52099@ip.net.ua> <20040312111526.GA14260@stack.nl> <20040312125820.GA8574@lum.celabo.org> <20040312154600.GC2235@ip.net.ua> <20040312110725.698ebe20@localhost> <20040312161049.GA2872@ip.net.ua> <20040312192952.GA23211@nash.epita.fr> <20040315122505.GA686@stack.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="aM3YZ0Iwxop3KEKx" Content-Disposition: inline In-Reply-To: <20040315122505.GA686@stack.nl> User-Agent: Mutt/1.5.6i X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: Marc Bevand cc: security@freebsd.org Subject: Re: bin/64150: [PATCH] ls(1) coredumps when started via execve(2) with no argv. 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: Mon, 15 Mar 2004 20:23:15 -0000 --aM3YZ0Iwxop3KEKx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 15, 2004 at 01:25:05PM +0100, Marc Olzheim wrote: > On Fri, Mar 12, 2004 at 08:29:52PM +0100, Marc Bevand wrote: > > On 12 Mar 2004, Ruslan Ermilov wrote: > > | On Fri, Mar 12, 2004 at 11:07:25AM -0500, Tom Rhodes wrote: > > | >=20 > > | > Will it 'break' anything? > > | > > | Sure it will, the question is should we care about something that's > > | already broken. ;) > >=20 > > It will break almost all shellcodes trying to be the shorter ones > > (as they pass NULL for argv and envp). So we can view it as a small > > security improvement (just kidding). >=20 > When I tested my patches (over 2 years ago), I didn't trigger any > compilation, nor any runtime problems... >=20 You didn't try any shellcodes lurking out there, did you? ;) Cheers, --=20 Ruslan Ermilov FreeBSD committer ru@FreeBSD.org --aM3YZ0Iwxop3KEKx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAVhCvUkv4P6juNwoRAvq5AJ9a/q+dW277IHFKU/Z6CXD9RShnqgCcC+Y2 ZWwrHaPMbRL2vM96+KVYl6M= =soGK -----END PGP SIGNATURE----- --aM3YZ0Iwxop3KEKx--