Re: [saag] RADIUS is deprecating MD5

Viktor Dukhovni <ietf-dane@dukhovni.org> Sun, 31 March 2024 14:59 UTC

Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: saag@ietfa.amsl.com
Delivered-To: saag@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3AFE3C14F5EE for <saag@ietfa.amsl.com>; Sun, 31 Mar 2024 07:59:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.396
X-Spam-Level:
X-Spam-Status: No, score=-4.396 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_DNSWL_MED=-2.3, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=dukhovni.org
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VkRYHjeMI_c5 for <saag@ietfa.amsl.com>; Sun, 31 Mar 2024 07:59:44 -0700 (PDT)
Received: from chardros.imrryr.org (chardros.imrryr.org [144.6.86.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DF4B6C14F5E8 for <saag@ietf.org>; Sun, 31 Mar 2024 07:59:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dukhovni.org; i=@dukhovni.org; q=dns/txt; s=f8320d6e; t=1711897210; h=date : from : to : subject : message-id : reply-to : references : mime-version : content-type : in-reply-to : from; bh=SFaiEF3X8RvKgIl3i+JDb063x2YZQNSl7E8RorES3nI=; b=utCHa0/mDY6BfF3JHGDrR5vRRWIkfxYXifiCH6UNbb+K5T1KWuwXVcU0JsZ2iTDZACRs0 NyQ0zfpwqTLcd9DT7vtzmCRgeUxKT6RBC6dNftB/zVLMLSi7zeRkOeLhjtDFVCNWBrDmZfg JAXMw0FZwkSzYGQhZPUmH5yRCW26T0g=
Received: by chardros.imrryr.org (Postfix, from userid 1000) id 8407292B6EF; Sun, 31 Mar 2024 11:00:10 -0400 (EDT)
Date: Sun, 31 Mar 2024 11:00:10 -0400
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
To: saag@ietf.org
Message-ID: <Zgl6ejdpJNOyUja0@chardros.imrryr.org>
Reply-To: saag@ietf.org
References: <755BC73B-B981-4986-B45A-E9796DCC66BC@deployingradius.com> <ME0P300MB0713122730DC9574730AC816EE382@ME0P300MB0713.AUSP300.PROD.OUTLOOK.COM>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <ME0P300MB0713122730DC9574730AC816EE382@ME0P300MB0713.AUSP300.PROD.OUTLOOK.COM>
Archived-At: <https://mailarchive.ietf.org/arch/msg/saag/2AWQfL5PJxD6ptWIcz77xVqv7V8>
Subject: Re: [saag] RADIUS is deprecating MD5
X-BeenThere: saag@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Security Area Advisory Group <saag.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/saag>, <mailto:saag-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/saag/>
List-Post: <mailto:saag@ietf.org>
List-Help: <mailto:saag-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/saag>, <mailto:saag-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 31 Mar 2024 14:59:48 -0000

On Sun, Mar 31, 2024 at 10:49:53AM +0000, Peter Gutmann wrote:

> >We will be deprecating the use of RADIUS/UDP, in large part due to it's
> >reliance on MD5.  Everyone shipping RADIUS clients should take a serious look
> >at moving to TLS immediately.

I am not aware of published attacks on MD5 that are relevant to RADIUS.
While MD5 is no long collision-resistant, that does not appear to be
needed here.  Instead, it is first pre-image resistance that is needed
here, to protect the presumably strong shared secret (low entropty
shared secrets are just as easily brute forced in dictionary attacks
with SHA2-256 as with MD5).

I appreciate and agree that new protocols should not use MD5, but it is
not clear that there's a pressing case to deprecate its long-standing
use in RADIUS.  What attack is that guarding against?

-- 
    Viktor.