Re: [TLS] SCSVs and SSLv3 fallback

"Yngve N. Pettersen" <yngve@spec-work.net> Mon, 08 April 2013 20:54 UTC

Return-Path: <yngve@spec-work.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1C71E21F907E for <tls@ietfa.amsl.com>; Mon, 8 Apr 2013 13:54:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7OzIf33e1MpX for <tls@ietfa.amsl.com>; Mon, 8 Apr 2013 13:54:51 -0700 (PDT)
Received: from smtp.domeneshop.no (smtp.domeneshop.no [194.63.252.54]) by ietfa.amsl.com (Postfix) with ESMTP id 4CD1B21F8EFC for <tls@ietf.org>; Mon, 8 Apr 2013 13:54:51 -0700 (PDT)
Received: from 239.171.251.212.customer.cdi.no ([212.251.171.239]:56457 helo=killashandra.invalid.invalid) by smtp.domeneshop.no with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <yngve@spec-work.net>) id 1UPJ5V-0005HQ-Sd; Mon, 08 Apr 2013 22:54:49 +0200
Content-Type: text/plain; charset="iso-8859-15"; format="flowed"; delsp="yes"
To: Martin Rex <mrex@sap.com>
References: <20130408204113.601EA1A698@ld9781.wdf.sap.corp>
Date: Mon, 08 Apr 2013 22:54:46 +0200
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Yngve N. Pettersen" <yngve@spec-work.net>
Message-ID: <op.wu8ppkb73dfyax@killashandra.invalid.invalid>
In-Reply-To: <20130408204113.601EA1A698@ld9781.wdf.sap.corp>
User-Agent: Opera Mail/12.15 (Win32)
Cc: "tls@ietf.org" <tls@ietf.org>
Subject: Re: [TLS] SCSVs and SSLv3 fallback
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/tls>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Apr 2013 20:54:52 -0000

On Mon, 08 Apr 2013 22:41:13 +0200, Martin Rex <mrex@sap.com> wrote:

> Yngve N. Pettersen wrote:
>>
>> Even with the reminder about tolerance in RFC 5746 0.15% of renego  
>> patched
>> servers are extension (88%) and/or version intolerant (24%) in the TLS  
>> 1.0
>> to TLS 1.2 range, and the reason they are still around is that the other
>> clients have not enforced a no-rollback policy for renego patched  
>> servers.
>> Overall, 14.7% are intolerant for those in the 3.x and/or 4.x range.
>
> Huh? -------------------------------------------------------^^^
>
> Why would you ever check for 4.xx version numbers?
>
> Rejecting 4.x version numbers is perfectly OK for TLS servers!
>
> rfc5246 says:
>                                                           TLS servers
>    compliant with this specification MUST accept any value {03,XX} as
>    the record layer version number for ClientHello.
>
>    TLS clients that wish to negotiate with older servers MAY send any
>    value {03,XX} as the record layer version number.
>
> A TLS client that uses a version {04,00} at the record layer or in
> ClientHello.client_version is squarely in undefined territory,
> and every conceivable server behaviour is perfectly compliant
> with the TLSv1.2 spec.  (Personally, however, I believe that
> crashing is never a valid option for the server).

The keywords are "forward compatibility".

And your quote concerns the *record* layer version, which is 3.1 in my  
testcase.

The 4.1 that I am using in my test, is set in the  
*ClientHello.client_version* field.

IMO a SSL/TLS server MUST tolerate ANY ClientHello.client_version larger  
than its own highest supported version, and when returning the Server  
Hello will reply with whatever its highest supported version is.

-- 
Sincerely,
Yngve N. Pettersen

Using Opera's mail client: http://www.opera.com/mail/