Re: [rtcweb] AVPF [was: Encryption mandate (and offer/answer)]

Eric Rescorla <ekr@rtfm.com> Fri, 09 September 2011 18:33 UTC

Return-Path: <ekr@rtfm.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8B7EF21F8715 for <rtcweb@ietfa.amsl.com>; Fri, 9 Sep 2011 11:33:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.977
X-Spam-Level:
X-Spam-Status: No, score=-102.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HVDqmC30sR3m for <rtcweb@ietfa.amsl.com>; Fri, 9 Sep 2011 11:33:42 -0700 (PDT)
Received: from mail-ey0-f174.google.com (mail-ey0-f174.google.com [209.85.215.174]) by ietfa.amsl.com (Postfix) with ESMTP id C4CCA21F86EC for <rtcweb@ietf.org>; Fri, 9 Sep 2011 11:33:41 -0700 (PDT)
Received: by eyx24 with SMTP id 24so1515415eyx.19 for <rtcweb@ietf.org>; Fri, 09 Sep 2011 11:35:36 -0700 (PDT)
Received: by 10.213.3.201 with SMTP id 9mr522542ebo.107.1315593336407; Fri, 09 Sep 2011 11:35:36 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.213.4.11 with HTTP; Fri, 9 Sep 2011 11:35:16 -0700 (PDT)
In-Reply-To: <4E6A56D4.2030602@skype.net>
References: <A444A0F8084434499206E78C106220CA0B00FDB08B@MCHP058A.global-ad.net> <101C6067BEC68246B0C3F6843BCCC1E31018BF6BE2@MCHP058A.global-ad.net> <4E540FE2.7020605@alcatel-lucent.com> <2E239D6FCD033C4BAF15F386A979BF5106423F@sonusinmail02.sonusnet.com> <4E6595E7.7060503@skype.net> <4E661C83.5000103@alcatel-lucent.com> <2E239D6FCD033C4BAF15F386A979BF510F086B@sonusinmail02.sonusnet.com> <4E666926.8050705@skype.net> <43A0D702-1D1F-4B4E-B8E6-C9F1A06E3F8A@edvina.net> <033458F56EC2A64E8D2D7B759FA3E7E7020E64DC@sonusmail04.sonusnet.com> <E4EC1B17-0CC4-4F79-96DD-84E589FCC4F0@edvina.net> <4E67C3F7.7020304@jesup.org> <BE60FA11-8FFF-48E5-9F83-4D84A7FBE2BE@vidyo.com> <4E67F003.6000108@jesup.org> <7F2072F1E0DE894DA4B517B93C6A05852233E8554C@ESESSCMS0356.eemea.ericsson.se> <C3759687E4991243A1A0BD44EAC8230339CA68F054@BE235.mail.lan> <CAOJ7v-2u0UuNXh7bzmZFwiSucbsh=Ps=C3ZM5M3cJrXRmZgODA@mail.gmail.com> <CAKhHsXHXCkNdjtpxCSCk+ABbtxY15GEgouE6X6-sn-LqhnidQw@mail.gmail.com> <4E6A56D4.2030602@skype.net>
From: Eric Rescorla <ekr@rtfm.com>
Date: Fri, 09 Sep 2011 11:35:16 -0700
Message-ID: <CABcZeBOdP6cAqBoiSV-Vdv1_EK3DfgnMamT3t3ccjDOMfELfBw@mail.gmail.com>
To: Matthew Kaufman <matthew.kaufman@skype.net>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
Cc: Randell Jesup <randell-ietf@jesup.org>, Jonathan Lennox <jonathan@vidyo.com>, "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] AVPF [was: Encryption mandate (and offer/answer)]
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtcweb>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 09 Sep 2011 18:33:42 -0000

On Fri, Sep 9, 2011 at 11:11 AM, Matthew Kaufman
<matthew.kaufman@skype.net> wrote:
> On 9/9/11 10:47 AM, Alan Johnston wrote:
>>
>>   The default will be SRTP - this can be
>> expressed in SDP without CapNeg.  Should the RTCWEB clients choose to
>> instead negotiate RTP, then this could be done with a second SDP
>> Offer/Answer exchange.
>
> I believe you've just designed a downgrade vulnerability.

Unless I'm missing something, if you (a) support an insecure mode and (b) allow
negotiation of insecure vs. secure, there's not really any way to
avoid a downgrade
issue; the attacker can always pretend not to support security and how do you
know better? Obviously, it helps if you can negotiate the use or non-use of
media security over a secure-ish signaling channel, but that doesn't reduce
the threat from the signaling service.

Best,
-Ekr