Live data from Hacker News

Ssl.com: DCV bypass and issue fake certificates for any MX hostname

bugzilla.mozilla.org

21–30 of 66 posts

Re: Ssl.com: DCV bypass and issue fake certificates for any MX hostname

#21
post #18
post #7

Earlier quoted context omitted.

It is unlikely that SSL.com would issue a certificate for any major mail host; it would be malpractice for them not to have some kind of exclusion list. Issuing a Google certificate is a good way to get your whole CA killed.

> Issuing a Google certificate is a good way to get your whole CA killed. Surely what happened here is a good way to get your CA killed? The linked bug seems pretty bad.

Historically, singular domain validation bugs have not killed CAs.

Re: Ssl.com: DCV bypass and issue fake certificates for any MX hostname

#22
post #4

I guess they can check logs and find how many times this has been abused already? Can we trust them to release full transparent report?

All such certs should be in transparancy logs, so I think it should be possible for a third party to verify.

Random third parties can't verify if domain validation was performed properly; only the domain owner knows. Which is why domain owners should monitor Certificate Transparency logs: https://certificate.transparency.dev/monitors/

Re: Ssl.com: DCV bypass and issue fake certificates for any MX hostname

#23
post #17

I guess they can check logs and find how many times this has been abused already? Can we trust them to release full transparent report?

I would expect them to be able to report on certificates issued based on this validation method. That's a basic CA capability and other CA incidents often include these kinds of reports. Depending on what was logged during the validation, it might be tricky to determine if it was abuse or not. If the DNS content wasn't logged, they could pull a live record and report if the current record would support validation or…

This method may be more popular than you'd think, since it only requires the TXT record to be published once, whereas using the DNS method requires periodically updating the DNS record. Yes, that can be automated or delegated, but for a legacy/manual/dysfunctional organization, email to TXT record contact is an easy alternative to the now-banned email to WHOIS contact method that they were likely using previously.

Re: Ssl.com: DCV bypass and issue fake certificates for any MX hostname

#24
post #9
post #5

Have they started revoking invalid certs?

You can see the cert was revoked here https://crt.sh/?id=17926238129

Unclear who revoked that but I think it likely was the reporter who discovered the bug. They only needed it issued & logged as evidence, and would be good practice to revoke immediately.

Re: Ssl.com: DCV bypass and issue fake certificates for any MX hostname

#26
Public service announcement: CAA records exist and allow you to whitelist the CAs you trust to issue certificates for your domain.

https://letsencrypt.org/docs/caa/

You can use https://www.entrust.com/resources/tools/caa-lookup (or e.g. `dig caa paypal.com`) to see if any domain is protected.

https://isc.sans.edu/diary/26738 is a cautionary study from 2020 indicating only 3% of the Alexa top 1M had CAA records. And just now, I've seen numerous news and government sites that do not have CAA enabled... making them vulnerable to issuance bugs like this on CAs they may never have heard of, and thus making their readership/constituencies vulnerable to misinformation and fraud, especially in the context of a potential multifaceted attack against router infrastructure to perform MITM attacks at scale.

Of course, you'll want to make sure you don't accidentally disavow an important subdomain where an engineer used a different CA than your usual suspects. But looking at all historic issuers for your domain hierarchies on transparency logs using e.g. https://crt.sh/ might be a good place to start.

It's also good to monitor certificate transparency logs, but then the onus is on your security team to react if an incident occurs. Proactive controls are vital as well, and IMHO CAA avoids many of the downsides of pinning.

Re: Ssl.com: DCV bypass and issue fake certificates for any MX hostname

#27
post #17

I guess they can check logs and find how many times this has been abused already? Can we trust them to release full transparent report?

I would expect them to be able to report on certificates issued based on this validation method. That's a basic CA capability and other CA incidents often include these kinds of reports. Depending on what was logged during the validation, it might be tricky to determine if it was abuse or not. If the DNS content wasn't logged, they could pull a live record and report if the current record would support validation or…

You could at least narrow it down to certs with multiple domains, since it sounds like the email domain was added as an additional domain.

Re: Ssl.com: DCV bypass and issue fake certificates for any MX hostname

#28
post #26

Public service announcement: CAA records exist and allow you to whitelist the CAs you trust to issue certificates for your domain. https://letsencrypt.org/docs/caa/ You can use https://www.entrust.com/resources/tools/caa-lookup (or e.g. `dig caa paypal.com`) to see if any domain is protected. https://isc.sans.edu/diary/26738 is a cautionary study from 2020 indicating only 3% of the Alexa top 1M had CAA records. And j…

Domain owners may find my CAA record generator https://sslmate.com/caa/> useful, as it can automatically generate a CAA policy that covers all the certificates found in CT logs for your domain. It's not always obvious how to translate from issuer name to CAA domain (due to white labeled intermediates); my tool consults CCADB data to determine the correct CAA domain.

Re: Ssl.com: DCV bypass and issue fake certificates for any MX hostname

#29

I guess they can check logs and find how many times this has been abused already? Can we trust them to release full transparent report?

> Can we trust them to release full transparent report?

Generally browser vendors take a pretty dim view of CA's not being transparent when bad things happen. Given the seriousness of this issue,i suspect being aggressively transparent is their only hope of saving their business.

Re: Ssl.com: DCV bypass and issue fake certificates for any MX hostname

#30
post #6

So I guess you couldn't get certificates for any random (MX) domain, only for those where you can obtain an inbox / user account. Still really bad, especially for things like gmail.com, but also larger enterprises. Intense.

Or potentially one where you could subscribe to a mailing list. Which includes a lot of very important open source software projects.
Post reply on HN