From owner-freebsd-security@freebsd.org Tue Jun 20 13:15:17 2017 Return-Path: Delivered-To: freebsd-security@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 21301D98702 for ; Tue, 20 Jun 2017 13:15:17 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-qt0-x233.google.com (mail-qt0-x233.google.com [IPv6:2607:f8b0:400d:c0d::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C1BFC81332 for ; Tue, 20 Jun 2017 13:15:16 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: by mail-qt0-x233.google.com with SMTP id v20so16971722qtg.1 for ; Tue, 20 Jun 2017 06:15:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=EQlHlrWBMYX0rbL7hIV1PGxYAAr+3pnTzDqk3N1qhhs=; b=hH3UdM9xnpvjUmiVhx5rPqrWfCz3fEkXDIr3AWsrTPahGDga4UTaWdjCb/y5VQ6yRl h6kJfDQU6+h2utRmfTV6c1HgnCcZ354i4uqdGssjiAjycYpfGXjH1J1w2xuYcdwnn3ND KQWXwdTUizufNOirQJhNM/5BEamkNUIFfopHPQF0u5ashVv+7iH2Sbtq1gBzlQnWwira ja8qZMnUgEV2Cue/Wvz2Q9BqTv2+V/43FIrZmG6KxDKH/N3huIzsZxk9OmwidbBhEom4 bXi3VwabKLg1lfwWplR4rcM3exXJFrjpNVvL4YXSDcOInY0EIaCrmO2ocwQ9KTL5ygT6 U0WQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=EQlHlrWBMYX0rbL7hIV1PGxYAAr+3pnTzDqk3N1qhhs=; b=iNI/LRyJ/WTsTfgHaQrKOl85XFCj+3cLHBwpbMUEStCoVxT9BbCR66mWBcvBtXOtKi PRe/z7196o0BmmUIlaH4tzrIns/e7hbJhUtUhxl6aFK0jYG+SDmsFlCMB8lkvlASFcgz kS1gRd/525XAU74s0VAg56B7W7cpK555F8pR7ckI2j4haNBgUNHxeBXrdOKpYcNQRrDk AA8dZAQdJfthLaDJN4XnHt5E7tNxKDtZ16BukiI5QlbTvPEmJUUVHpF2dCLgqfM0GgRF dfQoRbLtPefv2nWDwJnXVC42W8S92/OGG1XCZMORfcJYD2JYNC67oPG537oUuWEShYCK lwpg== X-Gm-Message-State: AKS2vOwXVfO1SZr7v0aVv/CmimICo96L5FV3awcYefmjUl233kV8Qr6D xmt9uj10DXS9Gw0mJAJ8WA== X-Received: by 10.200.0.153 with SMTP id c25mr33249244qtg.28.1497964515687; Tue, 20 Jun 2017 06:15:15 -0700 (PDT) Received: from mutt-hbsd ([63.88.83.66]) by smtp.gmail.com with ESMTPSA id f8sm8072637qke.52.2017.06.20.06.15.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 20 Jun 2017 06:15:14 -0700 (PDT) Date: Tue, 20 Jun 2017 09:15:14 -0400 From: Shawn Webb To: Vladimir Terziev Cc: "freebsd-security@freebsd.org" Subject: Re: The Stack Clash vulnerability Message-ID: <20170620131514.vdynljgemuz4fp3c@mutt-hbsd> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="s2kksklr6jya7fco" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD mutt-hbsd 12.0-CURRENT FreeBSD 12.0-CURRENT X-PGP-Key: http://pgp.mit.edu/pks/lookup?op=vindex&search=0x6A84658F52456EEE User-Agent: NeoMutt/20170428 (1.8.2) X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2017 13:15:17 -0000 --s2kksklr6jya7fco Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 20, 2017 at 08:13:46AM +0000, Vladimir Terziev wrote: > Hi, >=20 > I assume FreeBSD security team is already aware about the Stack Clash vul= nerability, that is stated to affect FreeBSD amongst other Unix-like OS. >=20 > Just in case here is the analyses document of Qualys: >=20 > https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt FreeBSD is indeed affected. I've written a PoC, which works even with the stack guard enabled: https://github.com/lattera/exploits/blob/master/FreeBSD/StackClash/001-stac= kclash.c Thanks, --=20 Shawn Webb Cofounder and Security Engineer HardenedBSD GPG Key ID: 0x6A84658F52456EEE GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89 3D9E 6A84 658F 5245 6EEE --s2kksklr6jya7fco Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEKrq2ve9q9Ia+iT2eaoRlj1JFbu4FAllJH98ACgkQaoRlj1JF bu5HLg/+IR2arBkP+Mel4Axw/SZqUbjYbzzP17Xp68yhoEjcI6czIzQwp6CcunQ7 F4HIRzhZxpZFDatlYvt6ID4W2ZRuxOhWAwWI6/h/qg2Bknm/Hh3lSjdKcgi+tOdg HfGQsIczH/sVgRpe41QSuLL6JVW8DHDRA1bC0Tjf0WkLSb6z08cPBvr+Q1quEwMV L4AZQOpHj89KMwjiLNP+z7yUvOeMHNDaoj9hfmIplJcnfSOghPCHfagzpItIwNvA Wbr98JYfNvm+oCLw7mfyVM1gDzbCXqUWsruvyE11oFvnNEzlRerfUL8giOnhG2Tw LyWt9McVnGvS9DyYmbntO2PFXzoG4ZH6vAJNOxsOksOH/AYX9ID6AtpRazIhsls3 owdvUIDml2Qj9Hkcp5dD1Y1KisV7a2EwR4iumoDwVKFXnShQS65RmvWaKUeUKTWR w+CV9knHvgXmzbXEGQasNnIbQvDJFJ1Y5lRooSEIHfGOQxAhCwIMeVvChh4umliD 2Uz5GYOjQAv+Eolth/g8eXPyPtghqIVURFhaa6Skm1VA5gXDO/lsoX6gO2jEfX0f O8sIo2qJ0NhSYjq4jSSogg7o/4zIJDW7E7x1Kx3IWHUowBZmTydHeJYXKVcZEjbL w9CD8GDYYlEu+s5yS1U4GLG1yi5N5pDwhEOijt5gTijQ4+AGHAw= =sAde -----END PGP SIGNATURE----- --s2kksklr6jya7fco--