[130168] in cryptography@c2.net mail archive

home help back first fref pref prev next nref lref last post

Re: OpenID/Debian PRNG/DNS Cache poisoning advisory

daemon@ATHENA.MIT.EDU (Perry E. Metzger)
Fri Aug 8 14:09:09 2008

To: "Ben Laurie" <benl@google.com>
Cc: "Eric Rescorla" <ekr@networkresonance.com>,
	  "Dave Korn" <dave.korn@artimi.com>,  bugtraq@securityfocus.com,
	  security@openid.net,  "OpenID List" <general@openid.net>,
	  cryptography@metzdowd.com,  full-disclosure@lists.grok.org.uk
From: "Perry E. Metzger" <perry@piermont.com>
Date: Fri, 08 Aug 2008 14:08:37 -0400
In-Reply-To: <1b587cab0808081011y56136c2apbc0496366cce697b@mail.gmail.com> (Ben Laurie's message of "Fri\, 8 Aug 2008 18\:11\:42 +0100")


"Ben Laurie" <benl@google.com> writes:
>> It's easy to compute all the public keys that will be generated
>> by the broken PRNG. The clients could embed that list and refuse
>> to accept any certificate containing one of them. So, this
>> is distinct from CRLs in that it doesn't require knowing
>> which servers have which cert...
>
> It also only fixes this single type of key compromise. Surely it is
> time to stop ignoring CRLs before something more serious goes wrong?

The problem is, the CRL mechanism itself is also dangerous.  Sadly,
clients are required to keep on going if they can't reach a CRL
server. That means that if you DoSing the CRL servers or use DNS
attacks to effectively take them offline, you've also effectively
eliminated the certificate revocation.

I'm not going to tell you that paying attention to CRLs wouldn't be
better than what happens now, but it will not eliminate the
problem. It is too hard to "prove a negative" (that is, to prove to
yourself that no revocation exists.)

The kerberos style of having credentials expire very quickly is one
(somewhat less imperfect) way to deal with such things, but it is far
from perfect and it could not be done for the ad-hoc certificate
system https: depends on -- the infrastructure for refreshing all the
world's certs every eight hours doesn't exist, and if it did imagine
the chaos if it failed for a major CA one fine morning.

One also worries about what will happen in the UI when a certificate
has been revoked. If it just says "this cert has been revoked,
continue anyway?" the wrong thing will almost always happen.

Perry
-- 
Perry E. Metzger		perry@piermont.com

---------------------------------------------------------------------
The Cryptography Mailing List
Unsubscribe by sending "unsubscribe cryptography" to majordomo@metzdowd.com

home help back first fref pref prev next nref lref last post