Re: MITM and proxy messages [was: Call for Adoption: draft-song-dns-wireformat-http]

Martin Thomson <martin.thomson@gmail.com> Mon, 08 August 2016 03:39 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 A08AB12D7CD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 7 Aug 2016 20:39:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.268
X-Spam-Level:
X-Spam-Status: No, score=-8.268 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.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.247, SPF_HELO_PASS=-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 dhRSEy6Aljgu for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 7 Aug 2016 20:39:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6AE4212B009 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 7 Aug 2016 20:39:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1bWbLg-000726-Hn for ietf-http-wg-dist@listhub.w3.org; Mon, 08 Aug 2016 03:35:32 +0000
Resent-Date: Mon, 08 Aug 2016 03:35:32 +0000
Resent-Message-Id: <E1bWbLg-000726-Hn@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <martin.thomson@gmail.com>) id 1bWbLa-00071F-Be for ietf-http-wg@listhub.w3.org; Mon, 08 Aug 2016 03:35:26 +0000
Received: from mail-qk0-f172.google.com ([209.85.220.172]) by maggie.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <martin.thomson@gmail.com>) id 1bWbLU-0006Eo-HE for ietf-http-wg@w3.org; Mon, 08 Aug 2016 03:35:25 +0000
Received: by mail-qk0-f172.google.com with SMTP id p186so185344481qkd.1 for <ietf-http-wg@w3.org>; Sun, 07 Aug 2016 20:34:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=LkkYLIEFQWwOfwqsnLSAZqRrU0LQqUSYroUZGAxTMBI=; b=BYMt5wMZJOEUz+OdlLQSM7qtDr7PDLugYnARHfYSdNoj00iMws9LTph3/PgDNmVgPe 7bLRNwN4PSeUskBvXg+oQiubCNYRQYBPuYocuO9gIicuaBB3IMBC+yHZ+V94VT2pGxry iGb3deLN/3rLvPMRv8iGiwgvvZTFXxerrANDNFryFGailrpMYqBKUaUMLKf2igw4sCXB 2T8FkD9UwiLG/KJus8J2wrc8V+82O7+XS7pwTZziGU3PL2c/2adVIaqqVBbsJM7cDY9l lKY/o4gbnYw3WK8ITFkfvg/ls0aoXLhVyHI8y6uBgjkdVWeQKGVHzowE9Udp01e0tjT1 zuWg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=LkkYLIEFQWwOfwqsnLSAZqRrU0LQqUSYroUZGAxTMBI=; b=DhCFs6owih+ZF6LMouKdnzKxkGKOxTnJ/9H6tkMSfLKoTEoK2cNZYS+KSURabSH0r6 Zt32i5bj0x7fL40fD2j5ds8xU0qJzrCflbWBzYOuXWxZTW4oNepgIrVY9k1i2sjy9/27 rzj3FhvCihuWVWH/sbZ6fHnlxG+Mf1/EsVPQz577Ll5uHPTkC5qA4FzsvmPemLVWABKo WRnC5ia8jPACHZZ7tNwOfNlDkc1dpNR+Iq+A1f0fQ76f+6WaPFYZdQXqZ9AX+XbOJKLq 7Z+sf+a0kKXds6ROlMsTeroKiiya6ZpZOgFbTgma/vGEmhlXiLFTzh08ADfQ3Gy1icii iixg==
X-Gm-Message-State: AEkoous5JezZzRQLsUnotiLv8o4uYTL2ej8D5n39AOBlUtLE/8b4JUpW+OTvKYPe/daytdbBiuLYP+PfzG5w5Q==
X-Received: by 10.55.184.2 with SMTP id i2mr24533456qkf.261.1470627293286; Sun, 07 Aug 2016 20:34:53 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.140.22.146 with HTTP; Sun, 7 Aug 2016 20:34:52 -0700 (PDT)
In-Reply-To: <eme1f9a13f-b8ed-45e5-9d99-f6df15060d5a@bodybag>
References: <CABkgnnVpYiB39cfYhXFYrn_C3n_yktNM8ms7FsZj5LzzevQVEQ@mail.gmail.com> <eme1f9a13f-b8ed-45e5-9d99-f6df15060d5a@bodybag>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Mon, 08 Aug 2016 13:34:52 +1000
Message-ID: <CABkgnnUsdWbWa2NDGfb-geu9g3aNvCoqfV=wTpsGdbAGwKcHnQ@mail.gmail.com>
To: Adrien de Croy <adrien@qbik.com>
Cc: Amos Jeffries <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=209.85.220.172; envelope-from=martin.thomson@gmail.com; helo=mail-qk0-f172.google.com
X-W3C-Hub-Spam-Status: No, score=-7.9
X-W3C-Hub-Spam-Report: AWL=1.828, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: maggie.w3.org 1bWbLU-0006Eo-HE 98757bd64a9d8df5fc33459b7a6979ef
X-Original-To: ietf-http-wg@w3.org
Subject: Re: MITM and proxy messages [was: Call for Adoption: draft-song-dns-wireformat-http]
Archived-At: <http://www.w3.org/mid/CABkgnnUsdWbWa2NDGfb-geu9g3aNvCoqfV=wTpsGdbAGwKcHnQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/32218
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: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

I'm familiar with the attack; I assumed that you were referring to it.
And yes, it's not great that we're leaking URLs.  I expect that to be
corrected (at least partially).

But I'm not sure what your point here is.

On 8 August 2016 at 12:49, Adrien de Croy <adrien@qbik.com> wrote:
>
> looks like there were a few presentations on it at black hat USA 2016.
>
> Fundamentally the PAC file comes down in the clear, from an unverified
> source.
>
> Can use the DNS lookup facility to effectively log any URL that is presented
> to the function, thereby leaking querystrings and URLs for https URIs.
>
> Proxy auto detect is enabled by default in pretty much all browsers at the
> moment it seems.
>
> Adrien
>
>
> ------ Original Message ------
> From: "Martin Thomson" <martin.thomson@gmail.com>
> To: "Adrien de Croy" <adrien@qbik.com>
> Cc: "Amos Jeffries" <squid3@treenet.co.nz>; "ietf-http-wg@w3.org"
> <ietf-http-wg@w3.org>
> Sent: 8/08/2016 2:17:26 PM
> Subject: Re: MITM and proxy messages [was: Call for Adoption:
> draft-song-dns-wireformat-http]
>
>> On 8 August 2016 at 12:05, Adrien de Croy <adrien@qbik.com> wrote:
>>>
>>>  It's kinda crazy that browsers, which are supposedly so
>>> security-conscious
>>>  are still happy to download and evaluate javascript from some source
>>> they
>>>  don't really verify (e.g. result of DNS lookup for WPAD or DHCP option
>>> 252).
>>
>>
>> I'm fairly sure that no browser wants to do that.  The alternative
>> must be worse though.
>>
>