[secdir] Re: draft-ietf-ipsecme-ikev2-downgrade-prevention-05 ietf last call Secdir review

Valery Smyslov <svan@elvis.ru> Wed, 17 June 2026 14:27 UTC

Return-Path: <svan@elvis.ru>
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 F37D7102C595D; Wed, 17 Jun 2026 07:27:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1781706467; bh=JO5M05S5Box6PKDsVC93vwXn2Cwrsd2N/3kz58g6ffE=; h=From:To:CC:References:In-Reply-To:Subject:Date; b=d2KhVRO3HTrnuJsjCIsvTUi4ujuOZ7XbZVcbJCMiYQotj28DvCnQ2adOVUKzx1hy1 zHXRyss/HsSERJH26qvfV95nK2D7wfsoJnCdGMA044MDHEhPGJEiaC1OZSt8vbtPmM St6Y+ZI4NTk6YXF49p5uLUULIxLbGHovfZx83ZG8=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (1024-bit key) header.d=elvis.ru
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 Kk3Ouvd-3rsv; Wed, 17 Jun 2026 07:27:41 -0700 (PDT)
Received: from akmail.elvis.ru (akmail.elvis.ru [82.138.51.97]) by mail2.ietf.org (Postfix) with ESMTP id 7CE55102C5944; Wed, 17 Jun 2026 07:27:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=elvis.ru; s=mail; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: Date:Subject:In-Reply-To:References:CC:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=JO5M05S5Box6PKDsVC93vwXn2Cwrsd2N/3kz58g6ffE=; b=egJAo9T/9WN/UQHOC/RkM0S5eI utmngQA5/Wtzl3CXGdeZocvdR+6OYSTuc8mVGICwjk5QTvuu0pF3QT+56mp9VUfFwJnf2xcmEQRcv bddvXT3rcSPg2BDdP2Iq+MowT28N2rXP0NX4HDd9ZIoFVjt6gkRL2TvkSgCYM38qH0Cc=;
Received: from kmail2.elvis.ru ([93.188.44.210]) by akmail.elvis.ru with esmtp (Exim 4.92) (envelope-from <svan@elvis.ru>) id 1wZrEq-0000Vn-Of; Wed, 17 Jun 2026 17:27:32 +0300
Received: from mail.office.elvis.ru ([10.111.1.29]) by kmail2.elvis.ru with esmtp (Exim 4.94.2) (envelope-from <svan@elvis.ru>) id 1wZrEq-000XSY-Gm; Wed, 17 Jun 2026 17:27:32 +0300
Received: from MAIL16.office.elvis.ru (10.111.1.29) by MAIL16.office.elvis.ru (10.111.1.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1779.2; Wed, 17 Jun 2026 17:27:32 +0300
Received: from BuildPC (10.111.10.33) by MAIL16.office.elvis.ru (10.111.1.29) with Microsoft SMTP Server id 15.1.1779.2 via Frontend Transport; Wed, 17 Jun 2026 17:27:32 +0300
From: Valery Smyslov <svan@elvis.ru>
To: 'Yaroslav Rosomakho' <yaroslavros@gmail.com>, secdir@ietf.org
References: <178127025275.1143.3354974399358197795@dt-datatracker-f9b87776f-8pmmg> <02ac01dcfca5$c01d6eb0$40584c10$@elvis.ru>
In-Reply-To: <02ac01dcfca5$c01d6eb0$40584c10$@elvis.ru>
Date: Wed, 17 Jun 2026 17:27:32 +0300
Message-ID: <017501dcfe65$6f2c79d0$4d856d70$@elvis.ru>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQJZl21E2mTfO9IBMYQFhR15AzeQ1AIkBogttTh6WUA=
Content-Language: ru
X-CrossPremisesHeadersFilteredBySendConnector: MAIL16.office.elvis.ru
X-OrganizationHeadersPreserved: MAIL16.office.elvis.ru
X-Spam-Scanner: Rspamd work in kmail2.elvis.ru, WHITELIST
X-KLMS-Rule-ID: 1
X-KLMS-Message-Action: clean
X-KLMS-AntiSpam-Status: not scanned, disabled by settings
X-KLMS-AntiPhishing: Clean, bases: 2023/02/21 22:47:00
X-KLMS-AntiVirus: Kaspersky Security for Linux Mail Server, version 8.0.3.30, bases: 2023/02/21 21:02:00 #20887462
X-KLMS-AntiVirus-Status: Clean, skipped
X-Spam-Scanner: Rspamd work in akmail.elvis.ru, WHITELIST
Message-ID-Hash: IXQSQBFFGF2MX3EVMUCBXK2ZN5GSGAIQ
X-Message-ID-Hash: IXQSQBFFGF2MX3EVMUCBXK2ZN5GSGAIQ
X-MailFrom: svan@elvis.ru
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-ipsecme-ikev2-downgrade-prevention.all@ietf.org, ipsec@ietf.org, last-call@ietf.org
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [secdir] Re: draft-ietf-ipsecme-ikev2-downgrade-prevention-05 ietf last call Secdir review
List-Id: Security Area Directorate <secdir.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/secdir/2a0THDMQYZgIyEPjblxFEgGqJHs>
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 Yaroslav,

after discussing with Chris, we decided to add some text into the Security considerations
section that addresses nuances concerned with PSK (and EAP) authentication.

Please find it in the new version of the draft:
https://datatracker.ietf.org/doc/draft-ietf-ipsecme-ikev2-downgrade-prevention/

The diff is:
https://author-tools.ietf.org/iddiff?url1=draft-ietf-ipsecme-ikev2-downgrade-prevention-05&url2=draft-ietf-ipsecme-ikev2-downgrade-prevention-06&difftype=--html

We hope this text resolves your concerns.

Regards,
Chris & Valery.

> Hi Yaroslav,
> 
> thank you for your review. Please, see inline.
> 
> > Document: draft-ietf-ipsecme-ikev2-downgrade-prevention
> > Title: Downgrade Prevention for the Internet Key Exchange Protocol Version 2
> > (IKEv2) Reviewer: Yaroslav Rosomakho Review result: Has Issues
> >
> > 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.
> >
> > This specification describes an extension to IKEv2 that prevents particular
> > downgrade attacks.
> >
> > Minor issues:
> >
> > I found Section 7.2 incomplete. It requires the new mechanism to be used during
> > IKE session resumption if it was used during the previous IKE SA establishment,
> > but it does not specify the transcript to be signed or MAC'ed for the
> > IKE_SESSION_RESUME exchange.
> 
> RFC 5723 (IKE Session Resumption) does not define any new transcript for authentication,
> it is the same as specified in Section 2.15 of RFC 7296, but RealMessage1 and RealMessage1
> in this case will be the IKE_SESSION_RESUME messages and not the IKE_SA_INIT messages.
> 
> For this reason, there is no need to specify a separate transcript for resumption.
> the draft modifies the way data to be authenticated is constructed (as per Section 2.15)
> and this automatically applies to IKE session resumption too.
> 
> > I believe it would be beneficial to clarify the security properties when
> > symmetric shared secrets are used for authentication. The security argument
> > relies on at least one non-compromised authentication key being used. This is
> > clear for asymmetric authentication, where compromise of one peer's private key
> > does not imply compromise of the other peer's private key. However, when a
> > single shared symmetric secret is used for authentication, compromise of that
> > secret compromises both authentication directions.
> 
> In IKEv2 each peer can use its own PSK for authentication (to construct the AUTH payload).
> It's true, that in this case both peers have to know both PSKs, but _formally_ they
> can be different. Thus, I can imagine a situation when one of these PSKs is known to an attacker,
> while the other is not. In this case we have the situation similar to the asymmetric
> authentication, - the attacker can create the AUTH payload on behalf of one
> peer, but not on behalf of the other (provided peers check that the used PSK is associated
> with the peer identity). Sure, if these PSKs are the same and the attacker knows this fact
> and this PSK is compromised, then our defense does not work.
> 
> Do you think this should be clarified somehow in the draft?
> 
> > Nits:
> >
> > Some articles missing:
> 
> It happens (I'm sure these parts were written by me) :-)
> 
> > Section 7.1: If peers support extension defined in this document -> If peers
> > support the extension defined in this document
> >
> > Section 7.2: provides a client with session ticket -> provides a client with a
> > session ticket
> >
> > Section 8: one of extensions -> one of the extensions
> >
> > Section 9: defines new Notify Message Type -> defines a new Notify Message Type
> >
> > Minor grammar:
> >
> > Section 7.2: each of parameter -> each parameter
> >
> > Section 7.2: it is RECOMMENDED that the host do not use -> it is RECOMMENDED
> > that the host does not use
> >
> > Section 8: Note, that -> Note that
> 
> Thanks for these findings, a PR is created:
> https://github.com/smyslov/ikev2-downgrade-prevention/pull/45
> 
> Regards,
> Valery.