Re: [Ace] Token (In)Security

Stefanie Gerdes <gerdes@tzi.de> Wed, 16 January 2019 10:16 UTC

Return-Path: <gerdes@tzi.de>
X-Original-To: ace@ietfa.amsl.com
Delivered-To: ace@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9C9D8130DF1 for <ace@ietfa.amsl.com>; Wed, 16 Jan 2019 02:16:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.301
X-Spam-Level:
X-Spam-Status: No, score=-2.301 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, RCVD_IN_DNSWL_MED=-2.3] 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 9TK_0k5KblIe for <ace@ietfa.amsl.com>; Wed, 16 Jan 2019 02:16:03 -0800 (PST)
Received: from smtp.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 54156130DEC for <ace@ietf.org>; Wed, 16 Jan 2019 02:16:03 -0800 (PST)
Received: from [192.168.1.109] (p54BDE371.dip0.t-ipconnect.de [84.189.227.113]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.uni-bremen.de (Postfix) with ESMTPSA id E5280203EC; Wed, 16 Jan 2019 11:16:00 +0100 (CET)
To: Ludwig Seitz <ludwig.seitz@ri.se>, Hannes Tschofenig <Hannes.Tschofenig@arm.com>, Jim Schaad <ietf@augustcellars.com>, "ace@ietf.org" <ace@ietf.org>
References: <154322421294.8323.8505315870685563404.idtracker@ietfa.amsl.com> <cbd083d1-cb95-0732-aa8b-7c7de3f480d1@ri.se> <a0cdd836-7fe3-339e-0c48-961503857447@tzi.de> <03b601d49191$7d1bb400$77531c00$@augustcellars.com> <945fbebe-659f-ac72-3ab6-8e05447e7c92@ri.se> <1c5b81f3-50ce-be68-bec3-68ce2ff15b43@tzi.de> <4ae4eccd-68bf-18ef-f909-142f8172eca1@ri.se> <b0d3ff24-5842-62ca-3d16-1dd7b4875c66@tzi.de> <VI1PR0801MB2112CE85678921B892FA7C09FAA10@VI1PR0801MB2112.eurprd08.prod.outlook.com> <VI1PR0801MB21129CED50E760A28AD9A38AFAA20@VI1PR0801MB2112.eurprd08.prod.outlook.com> <637abc12-9c8d-be8a-9d27-ee645cd8a290@tzi.de> <5b054bc3-10c3-6885-e8df-c7edbcbfac55@ri.se>
From: Stefanie Gerdes <gerdes@tzi.de>
Message-ID: <b9239832-70e8-7ba6-c7ff-83c2836189ce@tzi.de>
Date: Wed, 16 Jan 2019 11:15:54 +0100
User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <5b054bc3-10c3-6885-e8df-c7edbcbfac55@ri.se>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/49RZr0tzZ7ShnUivch9Q6K6ttpI>
Subject: Re: [Ace] Token (In)Security
X-BeenThere: ace@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Authentication and Authorization for Constrained Environments \(ace\)" <ace.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ace>, <mailto:ace-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ace/>
List-Post: <mailto:ace@ietf.org>
List-Help: <mailto:ace-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ace>, <mailto:ace-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Jan 2019 10:16:06 -0000

Hi Ludwig,

That's better, thanks.

Viele Grüße
Steffi

On 01/11/2019 02:09 PM, Ludwig Seitz wrote:
> Hi,
> 
> I've merged Hannes' PR, fixed a typo and added a sentence as follows:
> =====================================================================
> For self-contained tokens the RS MUST process the security protection of
> the token first, as specified by the respective token format. ~snip~
> This MUST include a verification that security protection (and thus the
> token) was generated by an AS that has the right to issue access tokens
> for this RS.
> =====================================================================
> 
> I have not extended this requirement to tokens passed as a reference,
> since in that case the RS needs to do introspection at an authorized AS
> anyways. It would thus not get the claims of a token issued by an
> unauthorized AS, which would in turn lead to the token being discarded.
> 
> Does that sound correct to you all?
> 
> /Ludwig
>