streamid attack

Jiuhai Zhang <jiuhai.zhang@gmail.com> Thu, 02 January 2020 13:33 UTC

Return-Path: <jiuhai.zhang@gmail.com>
X-Original-To: quic@ietfa.amsl.com
Delivered-To: quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8396312008D for <quic@ietfa.amsl.com>; Thu, 2 Jan 2020 05:33:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 0t-kQemQYzvf for <quic@ietfa.amsl.com>; Thu, 2 Jan 2020 05:33:16 -0800 (PST)
Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) (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 C29FB120071 for <quic@ietf.org>; Thu, 2 Jan 2020 05:33:15 -0800 (PST)
Received: by mail-lj1-x235.google.com with SMTP id j1so33331587lja.2 for <quic@ietf.org>; Thu, 02 Jan 2020 05:33:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=vd93TE9r1UHlFL5kZPSC3w7ezjUWheia9tnLE6+OZhY=; b=GvIxgh95H6moBjgC/lHZRzfVi/oggJ/E0Mh/Puh9yBLzzMgner0u+1A7uCDr7wuBTA vt7rERu+8XzwoJpFf0ChqECzpCwaJigpR0kjHMBkewKPJjp99asP73BRPOSyX3UOTn/8 GGIXKtOfdjoMPGa3Z7CmhMQx3Nq/nvwZDbur//CzNoQ7JYfpHC1qQK3hkdVriZjjfFA6 kSOpfBC+3Mi+6AWtCLVP74KlgxeZWM1xv5/YynK3Nfhs6pX4S5Bj2ghk2w52mZPMMClv K8KphpoqpXTGSRCXdgOdDrm9ykM7pNjI1ppOivWLK3JUJayfRw97P+FJS9Q6T42xdisB YnNg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=vd93TE9r1UHlFL5kZPSC3w7ezjUWheia9tnLE6+OZhY=; b=ooxTvvXgudOGQLSMbT+gtecKyI/MVxNVIyj3UAPeCgLDk4uLUhWA/Q8Yb4HK3a+JCY fpztseWaLIDC1sJiOC1gYpvyfhaqLnyYDjNRr0DzGFnYSptmmWu4KAGDnS6f4FPSti+s IUrgh3RuQnAP4rOn02wy/FJkfgJ9I9StEZ5pdq/RNnLuJXzQUfI5kQvWMtfru2Gvc7Tm 3ZheNlWUM+spypq0n7WC59dSkm79lFQb+5RQXo17crPmj29kOWkfGtAlw94q4EgUh/rP am7wKa3r2PgsXAfWvsXGVa3jQg4dFdfsMmLUmg5NK47EZ2e+NlZype6Rr3NViXwDuboh OWqA==
X-Gm-Message-State: APjAAAWBGyijq9x9nuTKVu4jIq1rqc6cWE9hs2EFzvG1fr7OTczXsYNr K6MJIMmh1TjdhQHoXNmrBTjJlQuCyfnREiwmrLdMNkGg
X-Google-Smtp-Source: APXvYqypCmkaq8tBAS7F/3PhEp3EcuWcMfG7+EI+PXm0WoUR/hEgmbpP2iTb9cNKXkoJ9Tuha1S82pQ0B1HWw8IfbyM=
X-Received: by 2002:a2e:58c:: with SMTP id 134mr50313407ljf.12.1577971993754; Thu, 02 Jan 2020 05:33:13 -0800 (PST)
MIME-Version: 1.0
From: Jiuhai Zhang <jiuhai.zhang@gmail.com>
Date: Thu, 02 Jan 2020 21:33:02 +0800
Message-ID: <CAG9+TpbkAYm5GNZJvj6W8GT8pAxnh_9RnoPbwNUdVqDnCtSLCg@mail.gmail.com>
Subject: streamid attack
To: quic@ietf.org
Content-Type: multipart/alternative; boundary="000000000000273e84059b283cdb"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/LAhBkd-aZVgSANDIkKbdvic1S6c>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic>, <mailto:quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic/>
List-Post: <mailto:quic@ietf.org>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic>, <mailto:quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Jan 2020 13:33:18 -0000

In 2.1. Stream Types and Identifiers
A stream ID that is used out of order results in all streams of that type
with lower-numbered stream IDs also being opened.

Attacker can send a stream frame with a large streamid, then server will
open a lot of streams. How to avoid this besides flow control? Why we
should open lower-numbered stream IDs?