Re: [TLS] drop obsolete SSL 2 backwards compatibility from TLS 1.3 draft

mrex@sap.com (Martin Rex) Wed, 18 February 2015 01:17 UTC

Return-Path: <mrex@sap.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 205241A913A for <tls@ietfa.amsl.com>; Tue, 17 Feb 2015 17:17:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.551
X-Spam-Level:
X-Spam-Status: No, score=-6.551 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001] autolearn=ham
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 IvGHCVASWT6d for <tls@ietfa.amsl.com>; Tue, 17 Feb 2015 17:17:48 -0800 (PST)
Received: from smtpde02.smtp.sap-ag.de (smtpde02.smtp.sap-ag.de [155.56.68.140]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EABFF1A9120 for <tls@ietf.org>; Tue, 17 Feb 2015 17:17:47 -0800 (PST)
Received: from mail05.wdf.sap.corp (mail05.sap.corp [194.39.131.55]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtpde02.smtp.sap-ag.de (Postfix) with ESMTPS id 57786445B5; Wed, 18 Feb 2015 02:17:46 +0100 (CET)
X-purgate-ID: 152705::1424222266-00003099-8BF281AE/0/0
X-purgate-size: 2449
X-purgate: clean
X-purgate: This mail is considered clean (visit http://www.eleven.de for further information)
X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de
X-purgate-type: clean
Received: from ld9781.wdf.sap.corp (ld9781.wdf.sap.corp [10.21.82.193]) by mail05.wdf.sap.corp (Postfix) with ESMTP id 1BDEA41D37; Wed, 18 Feb 2015 02:17:46 +0100 (CET)
Received: by ld9781.wdf.sap.corp (Postfix, from userid 10159) id 121131B1B1; Wed, 18 Feb 2015 02:17:46 +0100 (CET)
In-Reply-To: <BLU177-W21BE1BB9BC3F129D6421CEC3220@phx.gbl>
To: Yuhong Bao <yuhongbao_386@hotmail.com>
Date: Wed, 18 Feb 2015 02:17:46 +0100
X-Mailer: ELM [version 2.4ME+ PL125 (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="US-ASCII"
Message-Id: <20150218011746.121131B1B1@ld9781.wdf.sap.corp>
From: mrex@sap.com
Archived-At: <http://mailarchive.ietf.org/arch/msg/tls/iwkv3py1BJCOqY8npDm6e9_n8gU>
Cc: Florian Weimer <fweimer@redhat.com>, "tls@ietf.org" <tls@ietf.org>
Subject: Re: [TLS] drop obsolete SSL 2 backwards compatibility from TLS 1.3 draft
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: mrex@sap.com
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: Wed, 18 Feb 2015 01:17:50 -0000

Yuhong Bao wrote:
> 
> Just confirmed that IE on Win7 even when misconfigured to enable
> SSLv2 doesn't send a SSLv2 ClientHello with TLS 1.2 on it which
> means that SChannel probably can't do it at all. Andrei Popov
> should be able to confirm this.

Speaking of Windows 7 SChannel, just today I enabled TLSv1.2
for the IIS on my Windows 7 test machine (it is disabled by default)
and tried to negotiate TLSv1.2 with it -- but I'm facing handshake failures.

I'm sending a pretty vanilla, extension-less ClientHello

  record=(3,0) and ClientHello.client_version=(3,3)

with the following TLS cipher suites:

  TLS_RSA_WITH_AES128_CBC_SHA
  TLS_RSA_WITH_RC4_128_SHA
  TLS_RSA_WITH_RC4_128_MD5
  TLS_RSA_WITH_3DES_EDE_CBC_SHA

and the Microsoft IIS server on my Win7 machine closes the connection.
The following two Events get written to the Windows "System" Eventlog:

 Source: Schannel   EventID: 36874
  An TLS 1.2 connectin request was received from a remote client application,
  but none of the cipher suites supported by the client application are
  supported by the server.  The SSL connection request has failed.

 Source: Schannel   EventID: 36888
  The following fatal alert was generated: 40.
  The internal error state is 1205.


As some might notice, the ClientHello lists the mandatory-to-implement
TLSv1.2 cipher suite (rfc5246, section 9), so it is extremely unexpected
to see the handshake fail when proposing TLSv1.2, but succeed when
proposing only TLSv1.1.

Since I can connect with a browser with TLSv1.2 (and with openssl-1.0.1j)
the issue might be the absence of the TLS signature algorithm extension.

Per rfc5246, the use of TLS extensions is a MAY for the TLSv1.2 client and
accepting a ClientHello without extensions is a MUST for the TLSv1.2 server:

(rfc 5246, section 7.4.1.2  ClientHello)
https://tools.ietf.org/html/rfc5246#page-42

   extensions
      Clients MAY request extended functionality from servers by sending
      data in the extensions field.  The actual "Extension" format is
      defined in Section 7.4.1.4.


                                       A server MUST accept ClientHello
   messages both with and without the extensions field,


Myself I don't have any Win8 / Win2012 machines, but I assume they're
also both affected.  I only tried this because the customers ADFS server
(2012 I believe) didn't want to interop.


-Martin