[OAUTH-WG] OAuth Security Topics -- Recommend authorization code instead of implicit

Hannes Tschofenig <Hannes.Tschofenig@arm.com> Mon, 19 November 2018 10:34 UTC

Return-Path: <Hannes.Tschofenig@arm.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ECDA1130DC3 for <oauth@ietfa.amsl.com>; Mon, 19 Nov 2018 02:34:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=armh.onmicrosoft.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 dbA_QGlfgT78 for <oauth@ietfa.amsl.com>; Mon, 19 Nov 2018 02:34:25 -0800 (PST)
Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on0624.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0c::624]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DFBA01271FF for <oauth@ietf.org>; Mon, 19 Nov 2018 02:34:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=My7k/dlDcklzvnebHJpcQVE4hDCFrOMG2DMXOlzBNhs=; b=M45LBVZYpHIoSPC9+zLTy3kLGBQocRLHaXztTnWE3dXiZILC2vgvZHj/vIhYJDhLRUoaepko3qqBY3fFRZ+QfTgRm0UeOldC+75UBY6rxn5vaNDybjwnq8DNQmEO5ph4XqrHYHUNIHAUrcE8CkhE9B9xW9cniNJ8lgRPa8q/W1U=
Received: from VI1PR0801MB2112.eurprd08.prod.outlook.com (10.173.75.16) by VI1PR0801MB2013.eurprd08.prod.outlook.com (10.173.74.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1339.23; Mon, 19 Nov 2018 10:34:22 +0000
Received: from VI1PR0801MB2112.eurprd08.prod.outlook.com ([fe80::2056:1db1:e01:4670]) by VI1PR0801MB2112.eurprd08.prod.outlook.com ([fe80::2056:1db1:e01:4670%2]) with mapi id 15.20.1339.026; Mon, 19 Nov 2018 10:34:22 +0000
From: Hannes Tschofenig <Hannes.Tschofenig@arm.com>
To: oauth <oauth@ietf.org>
Thread-Topic: OAuth Security Topics -- Recommend authorization code instead of implicit
Thread-Index: AdR/8wsdlCSgLoNZTem+1MxrAorhbw==
Date: Mon, 19 Nov 2018 10:34:22 +0000
Message-ID: <VI1PR0801MB211266BA6F6E06FFB3081425FAD80@VI1PR0801MB2112.eurprd08.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Hannes.Tschofenig@arm.com;
x-originating-ip: [195.149.218.228]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; VI1PR0801MB2013; 6:2ALz2coaG4UT0hVvFh6l3ks13IBep0HO/GIOz+Bg5Udv4XPCy1B3xJ7gDVLRJf9wuVaXwjXlgxTjNvq8snNxdZM3GR7rB9fw5oti7Hm6UIZ4EqqzbJXp5Oyek7EPDAwp4FUbLQ3J1Bu+7kK+ukPCt7XhAAVTYWg2H38rBXrM5DB+CAWfF4TZXqGYAm1s25eKlkhfr52LR8SGN5S9fBSb8HLfyOHpSIlcU4vCUowjfg3F9SprqUqKwSCX8DTzLftZLgMCmHSB75wa/vcnhzrz1Cy+VFEE3o5Y3O/uQdviPNaN1q235DNSqzI+8sY5sT9NnHMo6gd5yDAQ/zdQgA02EkDdFfGBAjF3PsGK0Td1r29dTAwMkoPNXV7V4KU6fKse7hfI+a9BbOUWs35MGMIJQHovfxVSMm+obwmHP2yCIr99m7Qmte1yzyl8E8vEknC6VXkgoAqwjDG5QqbseqOe/Q==; 5:4ODE1fh49maA8pmMsqeid86ahBoVblUHlM9BJVXjAwbeXzk8inOt90UAhWKWu62EXY/USnhqRr4qBP5B9frdtMemaXYT5xhidMxGNK1CQPH833Z/95UqDv65ruIuUAPI6WC8sihRcQiKk9eeTmMma8FynhuY2rqz2Bt7i6sYWMY=; 7:A9sbT/CokpgF5myq77ll7n4A7m/71NahK2LwmNCwzFyjCXPdY3m183mWNcrIx58iaZT59np3dEMBokSVFzaoH8hkUHCBj+3dhIIhfdmZsY6+EYbTW8mcuThXW6OaNya2n095cMZEHztRqobFp8Ymsg==
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: 632bf08c-c06a-44d1-4d05-08d64e0a91be
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390098)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR0801MB2013;
x-ms-traffictypediagnostic: VI1PR0801MB2013:
x-microsoft-antispam-prvs: <VI1PR0801MB201375A9CBE54DD8D1CCDC0AFAD80@VI1PR0801MB2013.eurprd08.prod.outlook.com>
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(10201501046)(93006095)(93001095)(3231415)(944501410)(52105112)(6055026)(148016)(149066)(150057)(6041310)(20161123564045)(20161123562045)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:VI1PR0801MB2013; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0801MB2013;
x-forefront-prvs: 08617F610C
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(396003)(39860400002)(136003)(376002)(346002)(189003)(199004)(40434004)(53754006)(97736004)(25786009)(7696005)(2900100001)(10710500007)(54896002)(236005)(6306002)(9686003)(2906002)(86362001)(6916009)(476003)(6436002)(55016002)(7110500001)(7736002)(105586002)(486006)(256004)(14444005)(5024004)(74316002)(5660300001)(71200400001)(71190400001)(66574009)(186003)(66066001)(106356001)(606006)(15650500001)(6116002)(3846002)(790700001)(26005)(14454004)(102836004)(2420400007)(53936002)(6506007)(478600001)(33656002)(68736007)(99286004)(8676002)(8936002)(316002)(72206003)(966005)(81166006)(81156014); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0801MB2013; H:VI1PR0801MB2112.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: Q9WwIj6q0EbtzJECLiBSX56uc29ZbV0wylNgs0bHRwu1q6Sw+eCKO3yaahhRjHnCSQBRML5yl2c8EUIKvj0Cg0PKoIubLdy+lg4BcULHJ5kgttQE1Fh7xNQHBPiwpqobwZAsKRoDe526I7lHdw38iBewrGsoJ9VGw4k9SNu2bhPSLdpy5YN8iH/CphAiWG8rTn9EIh5PBDRrTvExmDmIQ76oiG/Jj3uoZO2mEWGhnBpJ6VKRLx/njmDn5RcuhPDsKte6K+/eJ5K8rNJm8RBv/SUPbaJmGOrS3bbaut6WmZ6PvJJcNG4bfJv4xvCZ7KUi4Rlvw5+Gfm+8XcEvsuP5ZQN60JaP+JDcUu7AgXyjAMw=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_VI1PR0801MB211266BA6F6E06FFB3081425FAD80VI1PR0801MB2112_"
MIME-Version: 1.0
X-OriginatorOrg: arm.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 632bf08c-c06a-44d1-4d05-08d64e0a91be
X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Nov 2018 10:34:22.0217 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0801MB2013
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/Zd74_-OA1iim3NXfA2RrDQtIBQQ>
Subject: [OAUTH-WG] OAuth Security Topics -- Recommend authorization code instead of implicit
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 19 Nov 2018 10:34:27 -0000

Hi all,

The authors of the OAuth Security Topics draft came to the conclusion that it is not possible to adequately secure the implicit flow against token injection since potential solutions like token binding or JARM are in an early stage of adoption. For this reason, and since CORS allows browser-based apps to send requests to the token endpoint, Torsten suggested to use the authorization code instead of the implicit grant in call cases in his presentation (see https://datatracker.ietf.org/meeting/103/materials/slides-103-oauth-sessb-draft-ietf-oauth-security-topics-01).

A hum in the room at IETF#103 concluded strong support for his recommendations. We would like to confirm the discussion on the list.

Please provide a response by December 3rd.

Ciao

Hannes & Rifaat

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.