Re: [TLS] Eleven out of every ten SSL certs aren't valid

Ivan Ristic <ivan.ristic@gmail.com> Tue, 29 June 2010 14:15 UTC

Return-Path: <ivan.ristic@gmail.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 943E23A6B97 for <tls@core3.amsl.com>; Tue, 29 Jun 2010 07:15:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.531
X-Spam-Level:
X-Spam-Status: No, score=-1.531 tagged_above=-999 required=5 tests=[AWL=1.068, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3QaJdZ0dN8+t for <tls@core3.amsl.com>; Tue, 29 Jun 2010 07:15:44 -0700 (PDT)
Received: from mail-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by core3.amsl.com (Postfix) with ESMTP id D40743A69CD for <tls@ietf.org>; Tue, 29 Jun 2010 07:15:32 -0700 (PDT)
Received: by fxm1 with SMTP id 1so1404714fxm.31 for <tls@ietf.org>; Tue, 29 Jun 2010 07:15:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=CTIy7PArc/la4AieCAv7+C/lMk/9TD9/PHpDo3jTmzE=; b=axztb2GEBk2BUWzCMsX5UxyeD2WER79WxWICBj7RJzj5TohB9RkCbEECZ8jGe8phaG ihp/Tydi09Bnvf7wSLy9iurcBYbbFG3JejhN/wuFY0pAUNWCFJnEqNZxp8othCF7R9fR 3BUnt7Iy+YK/PaDm5siU9VehTuPCFqJ7GaYuQ=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=S4c7QM+1XsxBtDPZJUpsHnZQ5d3I3KLIUp08I1zSHrdMqM1fmO+pKH8OOnFdhaF0Hw DR8Z8S36AEJkTUpVc0B3+X8aRvVx0RxDBl9On9jOpGlgFg9lDyPnNaHQwnbRoJ2X03ly QtDssj4W16XujIo4x3aeq37hC2ucgm0rIE9A8=
MIME-Version: 1.0
Received: by 10.239.187.211 with SMTP id m19mr447023hbh.56.1277820939649; Tue, 29 Jun 2010 07:15:39 -0700 (PDT)
Received: by 10.239.164.79 with HTTP; Tue, 29 Jun 2010 07:15:39 -0700 (PDT)
In-Reply-To: <201006291350.o5TDoMoO018788@fs4113.wdf.sap.corp>
References: <E1OTVaY-0004g3-OW@wintermute02.cs.auckland.ac.nz> <201006291350.o5TDoMoO018788@fs4113.wdf.sap.corp>
Date: Tue, 29 Jun 2010 15:15:39 +0100
Message-ID: <AANLkTinwJ5hQTHS0-L0QsAF2bj1cuajfBrg0ZS10wWhp@mail.gmail.com>
From: Ivan Ristic <ivan.ristic@gmail.com>
To: mrex@sap.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
Cc: tls@ietf.org
Subject: Re: [TLS] Eleven out of every ten SSL certs aren't valid
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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: Tue, 29 Jun 2010 14:15:50 -0000

On Tue, Jun 29, 2010 at 2:50 PM, Martin Rex <mrex@sap.com> wrote:
> Peter Gutmann wrote:
>>
>> In case someone here still hasn't seen this, the subject is a reference to:
>>
>>   SSL Certificates In Use Today Aren't All Valid
>>   http://www.esecurityplanet.com/features/article.php/3890171/SSL-Certificates-In-Use-Today-Arent-All-Valid.htm
>>
>> which posits that only 3% of SSL certs in use today are valid.  The figures
>> seem a bit suspicious though, for example they claim 23 million SSL sites
>> while the same article quotes Netcraft as claiming there are 1.5 million SSL
>> certs in use (the Netcraft figures may be for CA-issued certs only, since they
>> quote Verisign as a percentage of that total).  Still, 3% seems pretty low,
>> could this be due to something like virtual hosting and the client not sending
>> the hostname, thereby getting the wrong cert?  Even with that though, I
>> wouldn't have expected a 97% invalidity rate.
>
> From the quoted article:
>
> "Only about 3.17 percent of the domain names matched," Ristic said.
> (Ivan Ristic, director of engineering at Qualys)
> is probably about the scan engine to which an URL was posted to the
> TLS mailing list a short while ago:
>
> https://www.ssllabs.com/ssldb/index.html
>
> This is based on the seriously flawed assumption that a DNS entry that
> can be resolved into an IP-Address of a machine with a Web-Server on
> Port 80 will have the same Web-Server on Port 443 if port 443 is active.

If you're referring to my work, I didn't make any assumptions. I
merely reported the findings, which are that  about 3.17% of domain
names that respond with SSL on port 443 have a potentially valid
certificate.

If you're wondering, the results are without SNI. I will have another
run later with SNI enabled.


> Try "www.oracle.com", "www.googlemail.com", "www.gmx.de".
> You can get correct answers for "mail.google.com" and "www.gmx.net".
>
> What is really irritating is that a service like "www.hotmail.com"
> is not accessible via TLS _at_all_ and suggests you to enter
> username an password into a plain http form -- OUCH!
>
>
> -Martin
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls

-- 
Ivan Ristic
ModSecurity Handbook [http://www.modsecurityhandbook.com]
SSL Labs [https://www.ssllabs.com/ssldb/]