Re: [secdir] SECDIR Review of draft-ietf-netconf-subscribed-notifications

Chris Lonvick <lonvick.ietf@gmail.com> Fri, 29 March 2019 19:51 UTC

Return-Path: <lonvick.ietf@gmail.com>
X-Original-To: secdir@ietfa.amsl.com
Delivered-To: secdir@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CE20C1203AD; Fri, 29 Mar 2019 12:51:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.988
X-Spam-Level:
X-Spam-Status: No, score=-1.988 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_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=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 FApI1OUg3Mru; Fri, 29 Mar 2019 12:51:33 -0700 (PDT)
Received: from mail-ot1-x329.google.com (mail-ot1-x329.google.com [IPv6:2607:f8b0:4864:20::329]) (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 135F3120391; Fri, 29 Mar 2019 12:51:33 -0700 (PDT)
Received: by mail-ot1-x329.google.com with SMTP id s24so3088280otk.13; Fri, 29 Mar 2019 12:51:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to; bh=JZtgMe8oIM21WOVX0kDMGuGg7IlJRZhfC+q7A3WSOeo=; b=OnaUibBkWOmUlcNzmXWCYhQOUGMrOsIJDH7OYTevA7OvpsYRxIJnERS4L9iQ1lbjgj dNHwIXtiCUicAKnmp4e370MS5BL6jgUhRxkWuECB9DxTJggsYFyWjMPvCMqa+Njz+Ynm 4YyrYTmgfQbZ6srqSh4klM3+uJmdhoBq437tDPxllwpG+nSfGjLKHR4XHWPxrU5LoBA4 vccdUxeEWo050IznQkNZJPifwGJEiBSVwl/BOZoEoLUy+y8urmuCePvC38ht/181Dcgi pB9gCEA2gO45NNBnKMRPaZcKSRBiU0qnEUoGzvnDHYMRHhVRtGD4FFdub1eqoHL5LGBk vBcA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to; bh=JZtgMe8oIM21WOVX0kDMGuGg7IlJRZhfC+q7A3WSOeo=; b=VCmjQu/WR0lfV6S5y5PumSO9f43TNRrTvnKJC934xNA+jPtwSuuXt9sIiIst6RB8ie VLYxAg2AQ1X9dSMmVMzp3H3WmigFF4DKY7O481yWieV8BBjh/Vw0IBPM5otum5QH53Ak nFL4juzFAI9Z/Fujsmqm/OBW1k0ZTB3H4C64chT5+bHWgpedRRZJQVrGCGR1tqjuFCEN FGHB8gQ03eHcyiVHGIcRJffRaxi1/YSWbq7gbXGym0vv1JLMxAqjmrqbo257OwZ09rMr MC9JDfV0qNbgfym0mW1ABD7cWnRc1dt1qrrPZZ7RLmsvRZMvwDI8Mm7rgo0JJYk5yY2T HpQA==
X-Gm-Message-State: APjAAAXwww48xpV91LmSgk7hkQ3vPvK0EMRaqFJNO4LBXv1Be0LK38iO Bhq3MgOHwSLN1iw3dVJ0UIjU0xzP
X-Google-Smtp-Source: APXvYqzFTc2vM6LuU6WGjMC/kA2QijGV1sL90U1G3y2vLnU3dXcFsYabOIotHDiDmzquAcNW22CKTQ==
X-Received: by 2002:a9d:3db4:: with SMTP id l49mr15289461otc.131.1553889092182; Fri, 29 Mar 2019 12:51:32 -0700 (PDT)
Received: from Chriss-Air.attlocal.net ([2600:1700:12b0:adf0:6cff:1df5:e5b8:6de5]) by smtp.googlemail.com with ESMTPSA id c136sm1342040oih.14.2019.03.29.12.51.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 29 Mar 2019 12:51:31 -0700 (PDT)
To: "Eric Voit (evoit)" <evoit@cisco.com>
References: <5C99813D.9070401@gmail.com> <56b8c323f2284ce1bee2d6083898b017@XCH-RTP-013.cisco.com>
Cc: "draft-ietf-netconf-subscribed-notifications.all@ietf.org" <draft-ietf-netconf-subscribed-notifications.all@ietf.org>, "secdir@ietf.org" <secdir@ietf.org>, "iesg@ietf.org" <iesg@ietf.org>
From: Chris Lonvick <lonvick.ietf@gmail.com>
Message-ID: <5C9E7742.2080701@gmail.com>
Date: Fri, 29 Mar 2019 14:51:30 -0500
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:38.0) Gecko/20100101 Thunderbird/38.7.2
MIME-Version: 1.0
In-Reply-To: <56b8c323f2284ce1bee2d6083898b017@XCH-RTP-013.cisco.com>
Content-Type: multipart/alternative; boundary="------------000405090900050700080604"
Archived-At: <https://mailarchive.ietf.org/arch/msg/secdir/gbeqxLZms1CYhBQLhyaRPkWQK3c>
Subject: Re: [secdir] SECDIR Review of draft-ietf-netconf-subscribed-notifications
X-BeenThere: secdir@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Security Area Directorate <secdir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/secdir>, <mailto:secdir-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/secdir/>
List-Post: <mailto:secdir@ietf.org>
List-Help: <mailto:secdir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/secdir>, <mailto:secdir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Mar 2019 19:51:36 -0000

Hi Eric,

On 3/26/19 8:35 AM, Eric Voit (evoit) wrote:
>
> Hi Chris,
>
> Thanks very much for the review and comments.  Some thoughts in-line...
>
> *From:*Chris Lonvick <lonvick.ietf@gmail.com>
> *Sent:* Monday, March 25, 2019 9:33 PM
> *To:* draft-ietf-netconf-subscribed-notifications.all@ietf.org; 
> secdir@ietf.org; iesg@ietf.org
> *Subject:* SECDIR Review of draft-ietf-netconf-subscribed-notifications
>
> Hello,
>
> I have reviewed this document as part of the security directorate's 
> ongoing effort to review all IETF documents being processed by the 
> IESG. These comments were written primarily for the benefit of the 
> security area directors. Document editors and WG chairs should treat 
> these comments just like any other last call comments.
>
> The summary of the review is Ready With Nits.
>
> This is not an area that I'm very familiar with so I skimmed the draft 
> and reviewed the Security Considerations section. Overall, the 
> document appears to be well constructed and well written.
>
> RFC 3552 (BCP 72) is very thorough, but kind'a long. So my succinct 
> thought about a Security Considerations section is that it should 
> describe threats to the protocol and/or the implementation, and either 
> ways to thwart them, or state that some threats are beyond the scope 
> of the threat model. While the authors of the ID have been thorough in 
> the rest of the specification, they may have gone a bit outside what 
> is needed for a Security Considerations section. Below are some 
> comments that the authors may wish to consider. And it's OK with me if 
> they disregard my comments as I think the document is Ready anyway.
>
>
> 5.4.  Security Considerations
>
> CML>>> I'm not sure that the following paragraph is describing a 
> threat or mitigation. While it is good information, perhaps it belongs 
> elsewhere? Or, if there's a threat there, could it be specifically 
> described?
>
>    One subscription "id" can be used for two or more receivers of the
>    same configured subscription.  But due to the possibility of
>    different access control permissions per receiver, it cannot be
>    assumed that each receiver is getting identical updates.
>
> <eric> It is neither a threat, nor a mitigation.  It is actually 
> implementation guidance that different access control permissions for 
> different configured receivers will result in a different experience 
> for each receiver.  If you think that this guidance is preferable 
> within Section 5.2 “Implementation Considerations”, we can move it there.
>
CML>>> I think it would be better there.
>
> CML>>> In the following paragraph, I think you're describing a threat 
> and a remedy tactic. Perhaps you could delineate them by adding, "To 
> counter this," as the start to the second sentence.
>
>    With configured subscriptions, one or more publishers could be used
>    to overwhelm a receiver.  Notification messages SHOULD NOT be sent to
>    any receiver which does not support this specification.  Receivers
>    that do not want notification messages need only terminate or refuse
>    any transport sessions from the publisher.
>
> <eric> This is a good suggestion.  The proposed text has been added.
>
> CML>>> Again, I'm not sure that the following paragraph is describing 
> a threat or a remedy.
>
>    When a receiver of a configured subscription gets a new
>    "subscription-started" message for a known subscription where it is
>    already consuming events, the receiver SHOULD retrieve any event
>    records generated since the last event record was received.  This can
>    be accomplish by establishing a separate dynamic replay subscription
>    with the same filtering criteria with the publisher, assuming the
>    publisher supports the "replay" feature.
>
> <eric> How about the following text to address your threat/remedy 
> comment...
>
CML>>> Very small changes to the below just for clarification.
>
> When a receiver of a configured subscription gets a new 
> "subscription-started" message for a known subscription where it is 
> already consuming events, it may indicate that an attacker has done 
> something that has momentarily disrupted receiver connectivity. To 
> acquire events lost during this interval, the receiver SHOULD retrieve 
> any event records generated since the last event record was received.  
> This can be accomplished by establishing a separate dynamic replay 
> subscription with the same filtering criteria with the publisher, 
> assuming the publisher supports the "replay" feature.
>
Looks good.
Best regards,
Chris

> Eric
>
> The rest of the security considerations section is appropriately 
> describing protections for data nodes that may be susceptible to 
> misuse. Best regards, Chris
>