Revoked certificates not added to CRLite
A certificate revoked for key compromise was not added to Mozilla's CRLite revocation list, so Firefox continued to treat the site as trusted. An attacker with the compromised private key could still impersonate the site to Firefox users.
Originally disclosed on Mozilla
- Fixed in 4 days
- Paid in 5 days
- Disclosed after 4 days
I noticed recently that a certificate revoked with reason keyCompromise was not added to CRLite. Given that this may bypass revocation checks for compromised certificates, it may be considered a security issue.
The cert in question:
https://crt.sh/?id=13302141633
It is at the time of writing this bug still live at:
https://posttraining.go.ke/
I had already mentioned this in Mozilla's security matrix channel, and it was confirmed that this is a bug, Frederick Braun asked me to open a bugzilla bug to track it here.
Here's a copy of the conversation in the Matrix channel:
hannob:
Hi, I wonder what the delays between a cert's revocation and it showing up in Mozilla's CRLite is.
The cert for https://posttraining.go.ke/ has been revoked 2 days ago (KeyCompromise), yet I can still access the page in Firefox.
freddy:
so, djackson tells me elsewhere that you can query crlite manually with https://github.com/mozilla/crlite/tree/main/rust-query-crlite and that it seems it's not yet included
We'll wait for someone else to take a look at why it's not covered yet and if that's a typical time frame
jschanck:
Thanks for reporting this! It looks like we have a bug that is preventing us from ingesting CRLs from this one issuer. We'll get it patched shortly.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a bug in the CRL ingestion process for one certificate issuer prevented the revoked certificate from being added to CRLite.
Impact
Firefox users could still access a site whose certificate was revoked for key compromise, potentially allowing an attacker with the compromised key to impersonate the site.
What the attacker needed
Victim uses Firefox; attacker holds compromised private key
The fix
The bug was acknowledged and a patch was promised shortly, but the text does not confirm it was fixed.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
When a website's security certificate is stolen or leaked, the owner asks the certificate authority to revoke it. Browsers check a list of revoked certificates to block them. Here, the revoked certificate was missing from that list, so the browser still allowed the site, meaning someone with the stolen key could pretend to be the site.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.