Re: [MMUSIC] WGLC for draft-ietf-mmusic-delayed-duplication-01

Ari Keränen <ari.keranen@ericsson.com> Fri, 26 April 2013 15:34 UTC

Return-Path: <ari.keranen@ericsson.com>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DDDCC21F99CD for <mmusic@ietfa.amsl.com>; Fri, 26 Apr 2013 08:34:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.499
X-Spam-Level:
X-Spam-Status: No, score=-5.499 tagged_above=-999 required=5 tests=[AWL=-0.150, BAYES_00=-2.599, HELO_EQ_SE=0.35, J_CHICKENPOX_33=0.6, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-4]
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 ehPrMlEm3GLY for <mmusic@ietfa.amsl.com>; Fri, 26 Apr 2013 08:34:01 -0700 (PDT)
Received: from mailgw2.ericsson.se (mailgw2.ericsson.se [193.180.251.37]) by ietfa.amsl.com (Postfix) with ESMTP id 84D2B21F99F8 for <mmusic@ietf.org>; Fri, 26 Apr 2013 08:34:00 -0700 (PDT)
X-AuditID: c1b4fb25-b7f366d000004d10-76-517a9e663a26
Received: from esessmw0191.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw2.ericsson.se (Symantec Mail Security) with SMTP id FE.33.19728.66E9A715; Fri, 26 Apr 2013 17:34:00 +0200 (CEST)
Received: from mail.lmf.ericsson.se (153.88.115.8) by esessmw0191.eemea.ericsson.se (153.88.115.85) with Microsoft SMTP Server id 8.3.279.1; Fri, 26 Apr 2013 17:33:58 +0200
Received: from nomadiclab.lmf.ericsson.se (nomadiclab.lmf.ericsson.se [131.160.33.3]) by mail.lmf.ericsson.se (Postfix) with ESMTP id 8660F2878; Fri, 26 Apr 2013 18:33:58 +0300 (EEST)
Received: from nomadiclab.lmf.ericsson.se (localhost [127.0.0.1]) by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id 0369354CF7; Fri, 26 Apr 2013 18:33:58 +0300 (EEST)
Received: from tri62.nomadiclab.com (localhost [127.0.0.1]) by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id AF770546C5; Fri, 26 Apr 2013 18:33:57 +0300 (EEST)
Message-ID: <517A9E65.8060709@ericsson.com>
Date: Fri, 26 Apr 2013 18:33:57 +0300
From: Ari Keränen <ari.keranen@ericsson.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130328 Thunderbird/17.0.5
MIME-Version: 1.0
To: "Ali C. Begen (abegen)" <abegen@cisco.com>
References: <515F03F3.6070400@ericsson.com> <51770ADD.6080702@ericsson.com> <C15918F2FCDA0243A7C919DA7C4BE9940D00FB1B@xmb-aln-x01.cisco.com> <51784997.3040207@ericsson.com> <C15918F2FCDA0243A7C919DA7C4BE9940D017374@xmb-aln-x01.cisco.com> <517A9714.1010302@ericsson.com> <C15918F2FCDA0243A7C919DA7C4BE9940D01F030@xmb-aln-x01.cisco.com>
In-Reply-To: <C15918F2FCDA0243A7C919DA7C4BE9940D01F030@xmb-aln-x01.cisco.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Virus-Scanned: ClamAV using ClamSMTP
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrELMWRmVeSWpSXmKPExsUyM+JvrW7GvKpAg+7F/BYPts9ltNh/8Tar xdTlj1kcmD2m/N7I6rFkyU8mjy+XP7MFMEdx2aSk5mSWpRbp2yVwZZzs3sFecEK+Yuq1A0wN jN2SXYycHBICJhKbTm1ngrDFJC7cW8/WxcjFISRwilHizZuTTBDOBkaJnrfHWSCc3YwSc9f0 MUM46xgl/h+cxQrhrGCU6LzdytjFyMHBK6At8W6NBshcFgFViXnTZoDtYBOwl7g54To7SImo QLLE/x3eIGFeAUGJkzOfsIDYIgJ6Evs7pjGCjGQW6GeUmLbiIjtIQljAXWLP8jfsELvOMUmc 29DLBpLgFPCV+LihgxHEZhawlbgw5zoLhC0v0bx1NjPEc2oSV89tArOFgA66+u8V4wRG0VlI ls9C0j4LSfsCRuZVjOy5iZk56eVGmxiB8XBwy2/VHYx3zokcYpTmYFES550hVRkoJJCeWJKa nZpakFoUX1Sak1p8iJGJg1OqgbGhwUUnmi9Q06YqblJk1V3BLzeZvK6kTJyYtfJom1Qf79ae WeInT30tMfjz2qx9oger771zj6aF8tbIq+lZ/Jz0b86SEOOlt+p+np+8PdX2nVRdXonU2Z1f 2X732Du8mmMf4d+9/8aPP0yH09tKZmbefuPG+dIlbpX45fqWpVXc/QVFVzqWH1JiKc5INNRi LipOBAALdEx7VQIAAA==
Cc: "<draft-ietf-mmusic-delayed-duplication@tools.ietf.org>" <draft-ietf-mmusic-delayed-duplication@tools.ietf.org>, mmusic <mmusic@ietf.org>
Subject: Re: [MMUSIC] WGLC for draft-ietf-mmusic-delayed-duplication-01
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Multiparty Multimedia Session Control Working Group <mmusic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mmusic>, <mailto:mmusic-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/mmusic>
List-Post: <mailto:mmusic@ietf.org>
List-Help: <mailto:mmusic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mmusic>, <mailto:mmusic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Apr 2013 15:34:02 -0000

On 4/26/13 6:14 PM, Ali C. Begen (abegen) wrote:
>
> On Apr 27, 2013, at 12:02 AM, Ari Keränen <ari.keranen@ericsson.com> wrote:
>
>> On 4/25/13 10:55 AM, Ali C. Begen (abegen) wrote:
>>>
>>> On Apr 25, 2013, at 6:07 AM, Ari Keränen <ari.keranen@ericsson.com> wrote:
>>>
>>>> On 4/24/13 9:32 AM, Ali C. Begen (abegen) wrote:
>>>>>
>>>>> On Apr 24, 2013, at 7:27 AM, Ari Keränen <ari.keranen@ericsson.com>
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I reviewed the draft and noticed that in the intro section you
>>>>>> mention a possible DoS attack using the delayed duplication
>>>>>> functionality, but it's not discussed at all in the security
>>>>>> considerations section. Should that be addressed too?
>>>>>>
>>>>>
>>>>> Really? the whole section talks about what could happen if someone
>>>>> could modify the SDP (number of dup streams, delays, etc.).
>>>>> Especially the last paragraph mentions this. is it not clear?
>>>>
>>>> Not really. I guess I was expecting something more for a "new series of denial-of-service attacks" than what was described in the security section. To make this more clear, perhaps you could use the term DoS also in the security section, where applicable.
>>>>
>>>> Especially the last section talks about software bug or misconfiguration, but couldn't an active attacker also do this?
>>>>
>>>
>>> I will change the text as follows. let me know if there are objections.
>>>
>>> OLD:
>>>
>>>     Another security risk is due to possible software misconfiguration or
>>>     a software bug where a large number of duplicates could be
>>>     unwillingly signaled in the 'duplication-delay' attribute.  In
>>>     applications where this attribute is to be used, it is a good
>>>     practice to put a hard limit both on the number of duplicate streams
>>>     and the total delay introduced due to duplication regardless of what
>>>     the SDP description specifies.
>>>
>>> NEW:
>>>
>>>     Another security risk is due to possible software misconfiguration or
>>>     a software bug where a large number of duplicates could be
>>>     unwillingly signaled in the 'duplication-delay' attribute. Similarly, an attacker can use this attribute to start a denial-of-service attack by signaling and sending too many duplicated streams. In
>>>     applications where this attribute is to be used, it is a good
>>>     practice to put a hard limit both on the number of duplicate streams
>>>     and the total delay introduced due to duplication regardless of what
>>>     the SDP description specifies.
>>>
>>
>> What I was thinking is that can an attacker trick someone supporting this feature into sending big set of duplicate streams (instead of just a single stream) to a target? That is, is there possible amplification due to this extension? Probably not?
>
> If someone is signaling and sending way too many streams to you, you gotta discontinue this stream. E.g., if you see an SDP that signals 5 dup streams, there is likely something wrong. This could be a bug or an attack, either case, you should not accept this stream. I think this is pretty obvious.
>
>>
>> Or is there some additional DoS risk for signaling duplicate streams and then sending them (as the NEW text says) - instead of just sending if you can do that anyway? I'm guessing no..
>
> If SDP is hacked into, sky is the limit in terms of what harm you can cause.
>
>>
>> If those aren't big DoS attack concerns, probably the first part of the security considerations is actually more DoS'ish. If that's the case, then maybe modify the text with something like:
>>
>> OLD
>>    However, these
>>    require intercepting and rewriting the packets carrying the SDP [...]
>> NEW
>>    However, this kind of DoS attacks
>>    require intercepting and rewriting the packets carrying the SDP [...]
>>
>
> I would not change this text since it is a pretty standard text for sdp attributes.
>

OK, in that case the proposed text works for me.


Cheers,
Ari