[secdir] Re: Secdir last call review of draft-ietf-jose-fully-specified-algorithms-08
Michael Jones <michael_b_jones@hotmail.com> Thu, 27 March 2025 00:45 UTC
Return-Path: <michael_b_jones@hotmail.com>
X-Original-To: secdir@mail2.ietf.org
Delivered-To: secdir@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 8B25712EADA7; Wed, 26 Mar 2025 17:45:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -1.223
X-Spam-Level:
X-Spam-Status: No, score=-1.223 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FORGED_HOTMAIL_RCVD2=0.874, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=hotmail.com
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f9SSP1XCQKhK; Wed, 26 Mar 2025 17:45:46 -0700 (PDT)
Received: from CO1PR03CU002.outbound.protection.outlook.com (mail-westus2azolkn19010001.outbound.protection.outlook.com [52.103.10.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 0ED9812EADA4; Wed, 26 Mar 2025 17:45:46 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=OTnKdzKGcXH+ZQIZbUHFs1JRJdEQWHvL5JAMcMWR39qWe2nZR8qiKYs8RNXg22G7RU6Aofhsw6RoWS61cXeVBDBmGHaWQuj4DWx+rDxxZUsAhKap6n7f+D51Kd2tBuCCvSU9mtoV1Xz8X1x8NCZvkUpBBKLM9qPwt4Tq6S6b3sWVSvZLk8g4mg9ztm6o0J1JOSk0XpnKZH7+mZ4AO/z0/iXHYTsaZFeEMEaj7i4u5zle9c2KvC94lruiWweJeZ7+m0UKZVXcRCvvC2lz9a8unzjCOhRAnW91NQXt03QMLgoM3tOVeEdBzho6GP8n8Cx/jww72drEIP9UQNQvQuWGEg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=PEB3mSgF1LMGv+mnivg0VvHCUB6vOwX7NKu4asf2gJE=; b=yhbC1vhCTRnIYx+btAOEogIwGGcKFVBlZI6AqZvVTIqqmfJMvAmGyObOgR46+oLXzqHLTqhEfrKv4JouVkWPk05SbL/MrSW8d3RI8pTY6wOqfU9pJH2VZl4NKylILEd7IiADi4Xb0HY6eTlHgeeMWEFHv4gt4OCKmxlOx1dbkpwo6QfIi7uqZRbkQKsBLmfcFC5XUg0SDPyEWXvTFJLQ352kqLF/hunGr8oKhaY4x2JsOKxUYRQb6kG0LTeQ0aZvhAcXrx6o5bHOD739wRq3mXE1ARsEzVc/TOCurNc3lqeesSvccN7xQ9xyO5UxBQ+8+hz39spHBqF9sFGbK/aBlQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PEB3mSgF1LMGv+mnivg0VvHCUB6vOwX7NKu4asf2gJE=; b=ojeLuM+deAD5T2K8yIYzb21DQ4VCUStVxYcyt1f2N6kDVwbBGTyWcalApyLJHzztkssCy44z07bGI9fp+lCONqo7IqYqShVxgT/vbc07MN0ezdRx4nteOlHalzP4y/eM1TxeIdM+uMLhnenjGDSjJQ6phHTTi98TurFbUvmdjeGYFfjQGajnD9zwsKDdqFsTjnl4etw5DZxrVq05QfzT1Rn/+nehUEZhL8emvoYN6Gj2gy6ni6KxnD7vZVbWM/g22hvXQnkqWYFHLD0O94fLZPRQqXxXuIdN8IhzaLNrF+nG0jpTu/0+m16D3rlC1uMESZbIY0o5PnxQjd8XJg7Kzw==
Received: from PH7PR02MB9292.namprd02.prod.outlook.com (2603:10b6:510:275::9) by LV3PR02MB10689.namprd02.prod.outlook.com (2603:10b6:408:285::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8534.44; Thu, 27 Mar 2025 00:45:43 +0000
Received: from PH7PR02MB9292.namprd02.prod.outlook.com ([fe80::e455:8c0f:5367:f8b2]) by PH7PR02MB9292.namprd02.prod.outlook.com ([fe80::e455:8c0f:5367:f8b2%4]) with mapi id 15.20.8534.043; Thu, 27 Mar 2025 00:45:42 +0000
From: Michael Jones <michael_b_jones@hotmail.com>
To: Kathleen Moriarty <Kathleen.Moriarty.ietf@gmail.com>, "secdir@ietf.org" <secdir@ietf.org>
Thread-Topic: Secdir last call review of draft-ietf-jose-fully-specified-algorithms-08
Thread-Index: AQHbnYICEWtQtFM5cEyrogkFvCqvCbOGJb7g
Date: Thu, 27 Mar 2025 00:45:42 +0000
Message-ID: <PH7PR02MB92921F2B336BDB0703B68381B7A12@PH7PR02MB9292.namprd02.prod.outlook.com>
References: <174290595797.1681632.3610605798049858789@dt-datatracker-5b9b68c5b6-zxk6z>
In-Reply-To: <174290595797.1681632.3610605798049858789@dt-datatracker-5b9b68c5b6-zxk6z>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: PH7PR02MB9292:EE_|LV3PR02MB10689:EE_
x-ms-office365-filtering-correlation-id: 527afd2f-c8ae-4fe6-8751-08dd6cc8b3c6
x-microsoft-antispam: BCL:0;ARA:14566002|8062599003|461199028|19110799003|8060799006|15080799006|7092599003|3412199025|440099028|102099032;
x-microsoft-antispam-message-info: WYTnDGN7y1AWZwpWbISySsSoqbEkgyBAcGCofUoMSRwNEfPub/rqOtO5qGo3sAD452hWrqLMuPW3p02cIvKU9yq/6Fxb7rnBLQ8MTk8thU4N1RCrW2eFlQ/8qbkZhn6jFVa2Qe0xpXXyeMsFdlGmirZMA+klT4uTIploMwIXBUc4YVYFPqzSE3J7YSncI6PV4339q1gr9L+tc6ZdoEGTqGaD/xhWDvYwBOwZZnX7SAVOU0oxmwHwEmHvMOluSSWN+Kree4KNF4K/wbm1APwuVPsO1AI/eRngMUIV/TgNSvPyridZI5XvlGXiUTn8/cTw2lHgmZ9JpLL5oyVnLdW9VDO5pEqWX3CoWGbrYOGAHlb3AfUBVht1utQiqfsVeGO4RiCy3uuG3H+uTXFrRGQwxE4LFe6oVSzKwGVI4eL5Emm7LoRZ0MIlYOCmjiXuaBpbq/NQ9/QfJvkau4YleJSL/Hk1D/QNzLQC6VmyWKeHC4+kHN0eOHHuEJE33TEDjklpu7BGzltH5xo8idECFq8XOW+f5wTgmi9YAkNW/E6dcaZyXRAnjxoZ1t8U/xHu01/sr974YtDs9vMzPvrIgUiKCeeCs1erk7O6bI4/kRbU0SHApDeQJEh1p5LN5Pzba6ZM9e9A3NlgZEFDQkkuoGZpIOOrU33VKVc4wMSVJqtXxTIWbXFHW6Uxt6sIwioHU4oHmTXw4qSaCRV3ztmwudYm2JkhTKfD82IdRWUScEC2BUabdamL24PgifDiZ/IrgUd7/PR6VCBxHOhrpJ+n9DO4O1bSEc3/AZ3saANUxWlWdi0UUwn53O6rvJPNKpTnCOjwfhAshdplk9fD/n1oLHCrwlb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9HCM/+ecTNat9D9uNPOHNYTlF90mM0hZIDndJLqTr4+z2/cWFrQIltNB+uyNRWStfApc7dtQLrshPElb1yDQiAQ/5OOrqi8GmHM5ISjCjXHpUeAsy2jqP5/u0kA4Gh4QWS9QW2YP9lRR4zoWxT7qMFvTReKQQ1K+EVubCnNgeYDPf1FSNX2x1ZjZCkjHcFfOjJ2dzpuvfbTtDhrmxjzQEm/vBPiRAraK+ZIvyPeK9wzRaCgtYYhm3X0adqFXYJDCo+be9d35yHIwCP2OIY2Zr41cswbJT1Y6ctLN8CrB9xZ6IqthKJzDN5yjf/TMkJWXPa1YQauiEhUSaEbCJeYePgd4eY5gBAux8gEDWbqUaWIp5nZyaq05Vr5dF0IAeKGc44mZuIc/BWByoH43ruQ/JsKKsYZwIV82RP4IR/ROQWsYSphvTiV2ZHSpnKJB6dJj9EDymzN20gxEwsedndE1emjf3mBdBOiivuyS4z7reVkvamY+xCSubk5c/x7lcfbmKs33I9fHFlPj9+PpEJXDV7tyowbdVKED50XLB+KQ8hE0WtShp8k5uclGgc5EVaOz8DtsZzQ0XYu+f4S6pTszJIR
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-99c3d.templateTenant
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: PH7PR02MB9292.namprd02.prod.outlook.com
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-Network-Message-Id: 527afd2f-c8ae-4fe6-8751-08dd6cc8b3c6
X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Mar 2025 00:45:42.1494 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV3PR02MB10689
Message-ID-Hash: UGNIZSYLLPAXQURI5XWQZTVPAIUM7LMV
X-Message-ID-Hash: UGNIZSYLLPAXQURI5XWQZTVPAIUM7LMV
X-MailFrom: michael_b_jones@hotmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-secdir.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: "draft-ietf-jose-fully-specified-algorithms.all@ietf.org" <draft-ietf-jose-fully-specified-algorithms.all@ietf.org>, "jose@ietf.org" <jose@ietf.org>, "last-call@ietf.org" <last-call@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [secdir] Re: Secdir last call review of draft-ietf-jose-fully-specified-algorithms-08
List-Id: Security Area Directorate <secdir.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/secdir/DOIfx7mpTnrqPm1r-w8fDqwnEoo>
List-Archive: <https://mailarchive.ietf.org/arch/browse/secdir>
List-Help: <mailto:secdir-request@ietf.org?subject=help>
List-Owner: <mailto:secdir-owner@ietf.org>
List-Post: <mailto:secdir@ietf.org>
List-Subscribe: <mailto:secdir-join@ietf.org>
List-Unsubscribe: <mailto:secdir-leave@ietf.org>
Hi Kathleen, Thanks for your review. We have a mitigation for your first issue. But before we add it to the draft, I wanted to better understand your second issue. Are you saying that an attacker could vary the algorithms used when signing content? That's of course true, but the attack scenario is not clear to me. Are you saying that an attacker might be identifiable from the algorithm it chooses to use and that by changing algorithms, they could somewhat obscure their identity? Can you describe an example of a scenario where this could occur in practice, so I can better understand it? Also, as you wrote, this consideration applies whether the algorithms are fully-specified or polymorphic. So it seems like it may have broader application than the specific algorithms defined in this document and this documents advice to avoid polymorphic algorithms. Does it, for instance, apply to all of JOSE and all of COSE and all of X.509? Without understanding the attack better, I can't tell. Thanks, -- Mike -----Original Message----- From: Kathleen Moriarty via Datatracker <noreply@ietf.org> Sent: Tuesday, March 25, 2025 5:33 AM To: secdir@ietf.org Cc: draft-ietf-jose-fully-specified-algorithms.all@ietf.org; jose@ietf.org; last-call@ietf.org Subject: Secdir last call review of draft-ietf-jose-fully-specified-algorithms-08 Reviewer: Kathleen Moriarty Review result: Has Issues Greetings! Sorry for my late review. In reviewing the draft, there are 2 easily resolvable findings. The first is that the term "cross mode" is used and never defined. Tracing back to the reference provided, the closest I could find to "cross mode" was the following text in RFC 9459: "To avoid cross-protocol concerns, implementations MUST NOT use the same keying material with more than one mode. For example, the same keying material must not be used with AES-CTR and AES-CBC." Matching the language or proving a definition would help to resolve this concern. Second, as I was reading the draft, anther security consideration became clear and should be added. An attacker can easily avoid fingerprinting detection or signature detection by rotating the ciphersuite whether it be defined or polymorphic. If programmed to rotate, then the results will look different. Awareness of flexibility in protocols to conduct attacks should be explicitly stated so that OWASP can write up mitigations sooner rather than later when attacks become prevalent. Thank you for addressing the concerns! I did check the has issues, but do think these are very easily addressed. Best regards, Kathleen
- [secdir] Secdir last call review of draft-ietf-jo… Kathleen Moriarty via Datatracker
- [secdir] Re: Secdir last call review of draft-iet… Michael Jones
- [secdir] Re: Secdir last call review of draft-iet… Michael Jones
- [secdir] Re: Secdir last call review of draft-iet… Kathleen Moriarty
- [secdir] Re: [jose] Re: Secdir last call review o… Orie