[TLS] weird ECDSA interop problem with cloudflare/nginx

mrex@sap.com (Martin Rex) Mon, 25 July 2016 19:08 UTC

Return-Path: <mrex@sap.com>
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 0416712D595 for <tls@ietfa.amsl.com>; Mon, 25 Jul 2016 12:08:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.922
X-Spam-Level:
X-Spam-Status: No, score=-6.922 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 EtJKdzy77BLW for <tls@ietfa.amsl.com>; Mon, 25 Jul 2016 12:08:51 -0700 (PDT)
Received: from smtpde01.smtp.sap-ag.de (smtpde01.smtp.sap-ag.de [155.56.68.170]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 778B912D565 for <tls@ietf.org>; Mon, 25 Jul 2016 12:08:51 -0700 (PDT)
Received: from mail06.wdf.sap.corp (mail06.sap.corp [194.39.131.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtpde01.smtp.sap-ag.de (Postfix) with ESMTPS id 3ryrQ95DJbz1HqF for <tls@ietf.org>; Mon, 25 Jul 2016 21:08:49 +0200 (CEST)
X-purgate-ID: 152705::1469473729-0000082D-B47CE5D2/0/0
X-purgate-size: 1033
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
X-SAP-SPAM-Status: clean
Received: from ld9781.wdf.sap.corp (ld9781.wdf.sap.corp [10.21.82.193]) by mail06.wdf.sap.corp (Postfix) with ESMTP id 3ryrQ93Yfjzl0BT for <tls@ietf.org>; Mon, 25 Jul 2016 21:08:49 +0200 (CEST)
Received: by ld9781.wdf.sap.corp (Postfix, from userid 10159) id 728521A508; Mon, 25 Jul 2016 21:08:49 +0200 (CEST)
To: tls@ietf.org
Date: Mon, 25 Jul 2016 21:08:49 +0200 (CEST)
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: <20160725190849.728521A508@ld9781.wdf.sap.corp>
From: mrex@sap.com (Martin Rex)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/0bv6NYJCKwS5AbAQ9GpycVOESXw>
Subject: [TLS] weird ECDSA interop problem with cloudflare/nginx
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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, 25 Jul 2016 19:08:53 -0000

I've just run into a weird interoperability problem with an (alleged)
cloudflare/nginx TLS server and my personal Firefox settings.

https://regmedia.co.uk/2015/07/14/giant_weta_mike_locke_flicker_cc_20.jpg


Traditionally I have all TLS ciphersuites with ECDSA disabled through
about:config, but it seems that recently two new TLS ciphersuites were
added to FF, which caused complete loss of interop with regmedia.co.uk
for me with my existing configuration. (Loss of pictures&media on the
www.theregister.co.uk news site).

specifically, after the FF update, this new TLS ciphersuite:

   security.ssl3.ecdhe_ecdsa_aes_128_gcm_sha256  (0xcc, 0xa9)

was the only ECDSA cipher suite enabled in my Firefox 47.0.1, and this
kills connectivity (TLS handshake_failure alert) with regmedia.co.uk.

It looks like a bug in the cloudflare/nginx cipher suites selection
algorithm, which appears to blindly go for ECDSA, even though there is
no actual ECDSA cipher suite available which the server supports.


-Martin