Re: [quicwg/base-drafts] Stateless Reset needs "on-path" proof (#1230)

Mike Bishop <notifications@github.com> Wed, 04 April 2018 21:22 UTC

Return-Path: <bounces+848413-a050-quic-issues=ietf.org@sgmail.github.com>
X-Original-To: quic-issues@ietfa.amsl.com
Delivered-To: quic-issues@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5635D1267BB for <quic-issues@ietfa.amsl.com>; Wed, 4 Apr 2018 14:22:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.01
X-Spam-Level:
X-Spam-Status: No, score=-2.01 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=github.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XCGs-IFZIQ7K for <quic-issues@ietfa.amsl.com>; Wed, 4 Apr 2018 14:22:46 -0700 (PDT)
Received: from o1.sgmail.github.com (o1.sgmail.github.com [192.254.114.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2F14F120454 for <quic-issues@ietf.org>; Wed, 4 Apr 2018 14:22:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com; h=from:reply-to:to:cc:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=CUXG1CqZt+rVrLKmhvxa2KMaPt0=; b=hPqFqBX3k/8+ZRHC wDAvd9582x0umcs4GLUnTb9qAoXM4dPbHvhabYLLX/uIuZPiLdOOUmiIwfV+KQ6U uWz5XW7l5pkisxMoOQ11fpROiNUToAxsLyQkZh6W1o4Fouajqx78LYYvAzV0aHzc zUd1zOwMPlmZE0HvrxJ0mf8K4Q0=
Received: by filter0358p1las1.sendgrid.net with SMTP id filter0358p1las1-23393-5AC541F1-15 2018-04-04 21:21:53.746486199 +0000 UTC
Received: from smtp.github.com (out-3.smtp.github.com [192.30.252.194]) by ismtpd0008p1iad1.sendgrid.net (SG) with ESMTP id Es45fh54QLOiSXST0U8Fyw for <quic-issues@ietf.org>; Wed, 04 Apr 2018 21:21:53.641 +0000 (UTC)
Date: Wed, 04 Apr 2018 21:21:53 +0000
From: Mike Bishop <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab13a6c1328bf7697102a9ca5b3fd8c49f1861838192cf0000000116dd03f192a169ce12414b9e@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/1230/378749434@github.com>
In-Reply-To: <quicwg/base-drafts/issues/1230@github.com>
References: <quicwg/base-drafts/issues/1230@github.com>
Subject: Re: [quicwg/base-drafts] Stateless Reset needs "on-path" proof (#1230)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5ac541f18a5df_17aa2b0c7722eecc474e6"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: MikeBishop
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
X-SG-EID: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak2ri4zU04KMaFltX2WmkO+2cTz4PkhXyZguPj xTQHB7Fw/9oa6mE5sB88mOiOAT0BdSuNp4+3Nvt60OtRvUY/WzkzGHhZU9QdxG67tIKcz/PBwMpEGv 2O0TRr0Vqk51pFkhmEkFg4RVegcpFqj4nI4rTh4/qG7oGGFjit+JqBYdF0aePqqqX2xLlRUaCi2sIo w=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/5Kw5pkCBPpBD-ULLcpYC9h5Z64A>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.22
List-Id: Notification list for GitHub issues related to the QUIC WG <quic-issues.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic-issues/>
List-Post: <mailto:quic-issues@ietf.org>
List-Help: <mailto:quic-issues-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Apr 2018 21:22:48 -0000

Another attack to consider along similar lines:  If an active attacker observes the CID being used by a client, sends a packet with that CID to a different server endpoint that shares the same SR token algorithm/key, then it can get the other endpoint to effectively be an oracle for the stateless reset token.  It can then inject a Stateless Reset with the token into the current connection.

One mitigation would be to say that it's the server deployment's problem -- you should have different SR token-generation keys between different endpoints.  Another is to require that a Stateless Reset was sent by someone who had both a specific packet you sent and the token, without disclosing the token in a form that could be adapted to a different rejected packet.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/quicwg/base-drafts/issues/1230#issuecomment-378749434