From owner-freebsd-security@FreeBSD.ORG Sun Apr 20 17:35:05 2014 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 284A2172 for ; Sun, 20 Apr 2014 17:35:05 +0000 (UTC) Received: from gate2.quietfountain.com (gate2.quietfountain.com [97.64.213.195]) by mx1.freebsd.org (Postfix) with ESMTP id 0254812EC for ; Sun, 20 Apr 2014 17:35:04 +0000 (UTC) Received: from ops1.quietfountain.com (ops1.quietfountain.com [192.168.29.13]) by gate2.quietfountain.com (Postfix) with ESMTP id 2FCD4B822E for ; Sun, 20 Apr 2014 12:26:31 -0500 (CDT) To: freebsd-security@freebsd.org Date: Sun, 20 Apr 2014 12:25:27 -0500 Subject: Re: De Raadt + FBSD + OpenSSH + hole? References: <534B11F0.9040400@paladin.bulgarpress.com> <201404141207.s3EC7IvT085450@chronos.org.uk> <201404141232.s3ECWFQ1081178@catnip.dyslexicfish.net> <53522186.9030207@FreeBSD.org> <201404200548.s3K5mV7N055244@catnip.dyslexicfish.net> Message-ID: <53540307.1070708@quietfountain.com> From: "hcoin" Received: from [192.168.29.127] (gate1.quietfountain.com [192.168.29.2]) by ops1.quietfountain.com; Sun, 20 Apr 2014 12:25:36 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Apr 2014 17:35:05 -0000 On 04/20/2014 12:48 AM, Jamie Landeg-Jones wrote: > Bryan Drewery wrote: > >> On 4/14/2014 7:32 AM, Jamie Landeg-Jones wrote: >>> As to the specific question, I don't think his ego would allow a bug >>> in openssh to persist, so even if it does, I'd suspect it's not too >>> serious (or it's non-trivial to exploit), and it's related to FreeBSD >>> produced 'glue'. >>> >>> This is total guesswork on my part, but I'd therefore assume he was >>> talkining about openssh in base, rarther than openssh-portable in >>> ports. >>> >> As the maintainer of the port I will say that your security decreases >> with each OPTION/patch you apply. I really would not be surprised if one >> of the optional patches available in the port had issues. > Ahhhh. good point. I forgot about third-party patches. > > Yeah, if he's not just blowing smoke, that would make the most sense. > > I don't reckon he'd leave an exploit open if it was purely related to > the unpatched source - even if there is some quirk which only makes > it only applicable to FreeBSD. > > Still, by not revealing it, he's only potentially hurting the users. > > I wonder how many blackhats are going to use this thread as a heads-up? > > Cheers, Jamie > _______________________________________________ > I wonder how many security holes, both those known and as yet unrevealed or unknown, would not be of any exploit value if in all security related libraries and applications the routine to free allocated memory allocation closest to the user app/library set the newly free memory to a known pattern or something from /dev/random before returning. And, similarly, a compiler option causing function returns using more than a few dozen bytes of stack space to erase the newly freed stack region just prior to resuming the caller. Harry