Thousands of SSL Certs Issued To Unqualified Names
Trailrunner7 writes "The recent attack on Comodo and several of its associated registration authorities has spurred quite a bit of re-examination of the way that the Web's certificate authority infrastructure works--or doesn't. One interesting result of this work is that the folks at the Electronic Frontier Foundation have discovered that there are more than 37,000 legitimate certificates issued by CAs for unqualified names such as 'localhost,' or 'Exchange,' a practice that could simplify some forms of man-in-the-middle attacks. 'Although signing "localhost" is humorous, CAs create real risk when they sign other unqualified names. What if an attacker were able to receive a CA-signed certificate for names like "mail" or "webmail?"' Such an attacker would be able to perfectly forge the identity of your organization's webmail server in a "man-in-the-middle" attack!'"
How is this new? People have been using internal server names (fully qualified and not) for a long time.
In fact, Microsoft Exchange "best practices" state you should be using the unqualified server name as one of the SAN entries in the SSL cert.
Software should automatically reject certificates for unqualified names, even if properly signed.
These are not names the CA should be issuing. The only reason for issuing them is greed.
Make the CA aware that should any illegal activity be done using unqualified names that the CA will held legally responsible.
Watch the unqualified names disappear overnight.
Obviously, the notion that CAs are fundamentally broken, dubiously competent, and somewhat parasitic is bad for business and therefore can be rejected out of hand.
Therefore, I propose the following: All browsers shall be required to stop trusting those inexpensive standard SSL certs, as well as certs issued by budget CAs. 'Extended Validation' certs will now be baseline, with prices remaining unchanged, and two new levels of verification will be added:
'Extended Validation: Pinky Swear!'(indicated by a green background with two interlocking pinky fingers) will have the same standards as 'EV'; but with the additional promise that we had the work experience kid, or a script, whichever is cheaper, check that the certificate request wasn't made from a hotmail account.
'Double-Secret Extended Validation'(icon TBA, pending negotiations with film rightsholders) is so secure that we can't even tell you the process by which we verify applications; but it is super secure.
This should solve all CA related trust issues.
Where are the EFFs SSL Observatory getting their data from, how well has it been validated? Their website only says "We have downloaded datasets of all of the publicly-visible SSL certificates on the IPv4 Internet" which doesn't say anything really - who is compiling this data and how are they doing it?
I was just working on a PC with a virus that routes all traffic through some sort of SSL MITM mechanism.
"When information is power, privacy is freedom" - Jah-Wren Ryel
Our mailserver has a REAL fqdn.... mail.XXXXX.com. Its only ever refered to by this.... so how would having mail as a cert help? :/
- http://www.milkme.co.uk
I'm sorry, but haven't most of us, in the back of our minds, known all along that the whole SSL thing is just a money scam?!
Even if the commercial CA's get there act together, there are still plenty of CA's that my browsers trust by default but are in fact highly suspect. SSL can provide real security, but not through public CA's that are blindly included in your browser/OS.
Generic certificates (like *.example.com) should also be banned in my opinion.
If I used a sig over again, would anyone notice?
A certification is a statement of opinion. (And furthermore, it is a statement by a complete stranger who has no relationship with you and owes you jack shit.) The sooner we learn this, the sooner we will start to work on real solutions to the problems (i.e. switch to OpenPGP). If you charge CAs with complicity, you are just legitimizing the flawed idea behind our current CA infrastructure and reinforcing the idea that certifications are some kind of sacrosanct objective statements of truth (or in this case, negligent or malicious statements of falsehood), yet that position is a complete denial of reality.
People treating CAs whom they have never personally met and have a relationship with, as fully trusted, is what has really failed here. In real life (as opposed to the internet fantasy) you can't fully trust a faceless CA's (Comodo, Verisign, whatever) statement that keyid xxx is so-and-so, any more than you can trust a stranger on the street to hold your wallet for an hour while you step away. Let's end the fantasy, instead of going to court and demanding that the delusion be continued to be given respect.
As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
There should be a user configurable option in all browsers that you can point toward a standardized revocation list server.
Furthermore, you should be able to add more than one revocation list server in this option.
For example: You are running Chrome and it is pointing to the default revocation list on some one of google's servers. That is a nice corporate revocation list. It only has actually compromised certs on its list (which is good). However, I don't trust companies that have repeatedly issued bad certs. I want to execute the death penalty to whole CAs and even groups of CAs owned by the same company wholesale. I want to be able to maintain my own blackhole (to steal the term from email) list.
Personally, I would like to crosscheck my blackhole against all the companies who are listed by the EFF's observatory and blackhole all the companies that have had a violation of any kind.
I don't care if this leaves me with only 6 CAs left. THAT'S THE POINT. I want to get a message in my browser every time I hit a cert from a fishy company.
This shouldn't be an issue, because the HTTPS rules say that the IPaddress must match, as well as the alternate names if present. Unfortunately, user's are convinced to tell their software to break the rules because PKI operations are handled so poorly.
It would be immediately obvious when someone performed a MitM attack using a valid certificate for "webmail". Why? Because the real certificate is signed by a ghetto CA that isn't trusted by any of the "major" vendors, and both the certificate and some of the intermediates have long since expired.
I'll be worried if I can access that site without a bunch of ugly warnings popping up.
Fight hunger. Filet a politician and send him to a 3rd world country of your choice.
The global CA infustructure is used for a lot more than just securing public web sites.
To understand if there is even a problem you first need to check the key usage/EKUs of these certs to see in what context the certificates are allowed to be used.
Because entering 'mail' in my client is far less annoying than mail.hq.internal.mydomain.com, and it has the added benefit that if I make an image that talks to mail rather than mail.hq.internal.mydomain.com it can be deployed at any other site and still function correctly. So an image made on hq.internal.mydomain.com also works on nyc.internal.mydomain.com and lax.internal.mydomain.com without any additional work.
Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
"Huge amounts"? GoDaddy offers widely-trusted certs (their roots are in all major browsers, and also chain back to the old ValiCert root so it works with ancient browsers) for about $13/year. Hardly "huge amounts".
StartSSL has their root in all major browsers, and they issue certs for free. (Naturally, they also offer Class 2 and EV certs for money, but their basic domain-validated certs are free.) While the PKI model has its flaws, StartSSL seems to be doing The Right Thing within the confines of the model (4096-bit roots, 2048-bit minimum key length, checks for weak keys, no internal/unqualified names, etc.).
In order for 'mail' to work, somebody had to set up your DNS with a "search path" of "hq.internal.mydomain.com". Why can't whatever software is connecting to 'mail' also append the search path to the hostname used for checking the certificate?