Re: Fuzzing Structured Fields from ABNF

Mark Nottingham <mnot@mnot.net> Fri, 10 July 2020 03:50 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E3D2F3A0B80 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 9 Jul 2020 20:50:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.749
X-Spam-Level:
X-Spam-Status: No, score=-2.749 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=mnot.net header.b=TyOHSh7t; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=ab4558Mw
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 7QvjsxSRKSpb for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 9 Jul 2020 20:49:59 -0700 (PDT)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9CCAE3A0B7D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 9 Jul 2020 20:49:59 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1jtk0N-0007Vq-Gn for ietf-http-wg-dist@listhub.w3.org; Fri, 10 Jul 2020 03:47:19 +0000
Resent-Date: Fri, 10 Jul 2020 03:47:19 +0000
Resent-Message-Id: <E1jtk0N-0007Vq-Gn@lyra.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by lyra.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <mnot@mnot.net>) id 1jtk0L-0007V4-Ji for ietf-http-wg@listhub.w3.org; Fri, 10 Jul 2020 03:47:17 +0000
Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <mnot@mnot.net>) id 1jtk0J-0006bb-1X for ietf-http-wg@w3.org; Fri, 10 Jul 2020 03:47:17 +0000
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 8A3EA8DA; Thu, 9 Jul 2020 23:46:58 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 09 Jul 2020 23:46:58 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnot.net; h= content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=fm3; bh=d Ox8vpffGmzU7X/dcMXtwXo3NfwCkubPgYkim0ecL9k=; b=TyOHSh7tlBNQJceYP EBe+AzxgdL1e6L9niY4ghXu+HKbRtQsiYyVValk6b25QwFM6R8ra2SeJrMuAx/8p ie3TA/vlWRG2FrfCw5HsDwGp+6KdjvTCoD7WiqnEL7Mn/2QdPBVZAo7P7q5jXhSt SJFWLqOYUBtSeKYVzEa8SvoW8N7YiB9nXk5jn9slM32XcpKqed8X6TTM/52yG6Jl gySgyQ9yR6Y+8EwCKZKwXH7eO6I2Vt1y3iqSmqvubApg/rYRrhDtgJ4BxX0nrR9a WHBtqCUv/gjsFRiWX8OW4nvISFP/sWR0OyiELzPsg6/GR7wCiqT0Yp4iioUc9cym rq8wA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=dOx8vpffGmzU7X/dcMXtwXo3NfwCkubPgYkim0ecL 9k=; b=ab4558MwR6kNewOfPZLel6UHESzG/IObHe05YlmI6Ze573W9BkT9ECiKz +h0AwBsyUgHeCHw/6UnqQBTQwKTWodyNi9RKAehcO7pASUViLi1QaxnAqN8XafJR 3sNpGUO2ZvRky+O612ZvaQpqFK+TvioUx8hPItqkiEEhbdFLfZidUXiZFhHTf2Ir gfM0y4lKZkQgxIJUt5XGUsNLdS+V0A8nMnnmzIVdAW4HG7mCEX4kZLVCEaKxS0Ar +ukCtg8Os2sng3cUKLYuf83QL0RhuZTyMyAEf3a7xhItgyZV/ZNMGvUiuttzJxj5 9A8MvQuap1+H5S1cEl+fd1f1DG4Gw==
X-ME-Sender: <xms:seQHX1HxaaKZw4zKKsAwnFG-Jp3bTOdanK7z7rOPg3PloOyA_7sUNw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrvddtgdejhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurheptggguffhjgffgffkfhfvofesthhqmh dthhdtvdenucfhrhhomhepofgrrhhkucfpohhtthhinhhghhgrmhcuoehmnhhothesmhhn ohhtrdhnvghtqeenucggtffrrghtthgvrhhnpeeutefhteekfffgkeehfeetfeeigeegvd evuefhjeduieevteevudegfedtteelgeenucffohhmrghinhephhhtthhpqdgtohhrvggr sghnfhhifhhpohhsshhisghlvghplhgvrghsvgguohdrthhopdhmnhhothdrnhgvthenuc fkphepudduledrudejrdduheekrddvhedunecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomhepmhhnohhtsehmnhhothdrnhgvth
X-ME-Proxy: <xmx:seQHX6WhjFLrsFl8Bv-zvUxOjCy8ANFg_1bwQAq0cLN1Gc8HXth4MQ> <xmx:seQHX3Jpl5CuG5dZutU78y4onUemC7ZDjMYNEDeDBW7Yup0E9lM7EA> <xmx:seQHX7G9L--o8UNK1XWWTKeq9a4UCTuMDo7p-U3zjv7r9oAhLRD7AA> <xmx:suQHXydu5PDnwmQQLr4gIVDzZmxn5kvN638bgKdnVRpcT6E6WAmH7w>
Received: from macbook-air.mnot.net (119-17-158-251.77119e.mel.static.aussiebb.net [119.17.158.251]) by mail.messagingengine.com (Postfix) with ESMTPA id 6F7E03280064; Thu, 9 Jul 2020 23:46:56 -0400 (EDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <cc3d4bb9-9467-7e12-badf-9725bdb83317@treenet.co.nz>
Date: Fri, 10 Jul 2020 13:46:50 +1000
Cc: ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <4116248A-2CC8-4046-91DF-29F2A84ADCDC@mnot.net>
References: <F7691BD3-8329-48C2-91DF-26F585D092D4@mnot.net> <cc3d4bb9-9467-7e12-badf-9725bdb83317@treenet.co.nz>
To: Amos Jeffries <squid3@treenet.co.nz>
X-Mailer: Apple Mail (2.3608.80.23.2.2)
Received-SPF: pass client-ip=64.147.123.25; envelope-from=mnot@mnot.net; helo=wout2-smtp.messagingengine.com
X-W3C-Hub-Spam-Status: No, score=-9.8
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1jtk0J-0006bb-1X 8747ac8cac21145ad22d69b9ef9609d7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Fuzzing Structured Fields from ABNF
Archived-At: <https://www.w3.org/mid/4116248A-2CC8-4046-91DF-29F2A84ADCDC@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/37866
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>


> On 10 Jul 2020, at 12:46 pm, Amos Jeffries <squid3@treenet.co.nz> wrote:
> 
> On 9/07/20 11:15 pm, Mark Nottingham wrote:
>> 
>> 
>> P.S. Should we do the same with http-core ABNF?
>> 
> 
> If possible, please do.

To do that, parsers would have to expose some way to run the traffic through and raise errors appropriately -- for all of the headers, etc. that they parse.


--
Mark Nottingham   https://www.mnot.net/