Re: [core] Denial of service for clients: draft-ietf-core-too-many-reqs-04

Carsten Bormann <cabo@tzi.org> Fri, 19 October 2018 05:57 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A009B126CC7; Thu, 18 Oct 2018 22:57:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level:
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 FTUyd-ZKHhn2; Thu, 18 Oct 2018 22:57:12 -0700 (PDT)
Received: from mailhost.informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) (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 0235A126BED; Thu, 18 Oct 2018 22:57:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from submithost.informatik.uni-bremen.de (submithost2.informatik.uni-bremen.de [IPv6:2001:638:708:30c8:406a:91ff:fe74:f2b7]) by mailhost.informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id w9J5v3sY002754; Fri, 19 Oct 2018 07:57:08 +0200 (CEST)
Received: from [192.168.217.102] (p54A6CA9F.dip0.t-ipconnect.de [84.166.202.159]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by submithost.informatik.uni-bremen.de (Postfix) with ESMTPSA id 42bwCy62yFz1Bqf; Fri, 19 Oct 2018 07:57:02 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <1d5f2c7e-1feb-ce57-b130-31b654eb056e@ericsson.com>
Date: Fri, 19 Oct 2018 07:57:02 +0200
Cc: Core <core@ietf.org>, The IESG <iesg@ietf.org>
X-Mao-Original-Outgoing-Id: 561621418.532716-225ffbab87b781f3557572d99f53664a
Content-Transfer-Encoding: quoted-printable
Message-Id: <0E8AA69E-36C4-4FEF-8B11-CFA77E70B08C@tzi.org>
References: <1d5f2c7e-1feb-ce57-b130-31b654eb056e@ericsson.com>
To: Mohit Sethi M <mohit.m.sethi@ericsson.com>
X-Mailer: Apple Mail (2.3445.9.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/697vbzy4xDlGdJdvjcIDYLp8kDY>
Subject: Re: [core] Denial of service for clients: draft-ietf-core-too-many-reqs-04
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Oct 2018 05:57:19 -0000

On Oct 19, 2018, at 07:44, Mohit Sethi M <mohit.m.sethi@ericsson.com> wrote:
> 
> Perhaps you would want to go further and say that this response code 
> SHALL/SHOULD be authenticated and integrity protected?

I think any security considerations section could include a sentence that the receiver of a message should trust it only as far as the authentication/freshness for the message carries.  If the attacker can inject responses at will, the client already has a problem.
The sentence at the end of section 5 already elucidates the specific form of the problem that this response code adds to that.

More specifically, if a client sends a request in nosec mode, there is not really that much the server can do to reply with authentication.

Grüße, Carsten