K
K
Konstantin2021-06-10 22:51:48
Information Security
Konstantin, 2021-06-10 22:51:48

Firefox shows some HTTPS sites as untrusted. ISP MITM attack?

Hello.
In the last 1-2 weeks, I began to notice in the Firefox browser that after opening different https sites, a message appears stating that the certificate is not trusted, because. it may be self-signed and the publisher cannot be verified. Something like this. After a while (5-10 minutes), the site via https starts working correctly.

An hour ago I opened the link https://2cyr.com/decode/?lang=ru and found the same thing. I decided to save the certificate and the chain for interest, to compare later.
After 5 minutes, the site started working and also saved the certificate and the chain.
To my surprise, the root publisher "DST Root CA X3" was missing in the chain in the non-working version.

In a non-working version:
5ko.fr -> R3

In a working version:
5ko.fr -> R3 -> DST Root CA X3

Can you please tell me what it might look like?
mitm attack?

The file " 5ko-fr.pem " is the same in both versions:

But " 5ko-fr-chain.pem " is different
Not working "5ko-fr-chain.pem":

-----BEGIN CERTIFICATE-----
MIIGATCCBOmgAwIBAgISA2Anq4tExdvgda+grrP82i49MA0GCSqGSIb3DQEBCwUAMDIxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MQswCQYDVQQDEwJSMzAeFw0yMTA1MTgwOTQ2MjVaFw0yMTA4MTYwOTQ2MjVaMBExDzANBgNVBAMTBjVrby5mcjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANkoiN+9bfyzZcoWJSGxkVxsaKzvN0gs9LwpioY+dmbupW5PE4LBEQ8j6fqIoPQleFzHgZ9aWubjCBoGpSPtLB1E4/P6zRbFLx2i7CGUw1SPm6LdmY5KSQdqfmVj6JUMteUnNnZVR50+m/2Vvk5w7k88CSn+846MU4yOpdmRS07Colrb6Wxo4JdKr/chm8zl+iRyKWM5qRo0dkTeLjHyOWL/JsHFwptuCPa2ItLhayJ3CQQi83V97hJl9HpHqKCiBEt2lacLwGWN+okK443MjUBJJIUaJ19QzdY72xmQIwKK2Fb4QD2q38oAkKXdEg+is2GfvxxREtigLFAz7j4sfy0CAwEAAaOCAzAwggMsMA4GA1U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KcdBodfpga3csTS7MgROSR6cz8faXbauX+5v3gTt23ADq1cEmv8uXrAvHRAosZy5Q6XkjEGB5YGV8eAlrwDPGxrancWYaLbumR9YbK+rlmM6pZW87ipxZzR8srzJmwN0jP41ZL9c8PDHIyh8bwRLtTcm1D9SZImlJnt1ir/md2cXjbDaJWFBM5JDGFoqgCWjBH4d1QB7wCCZAA62RjYJsWvIjJEubSfZGL+T0yjWW06XyxV3bqxbYoOb8VZRzI9neWagqNdwvYkQsEjgfbKbYK7p2CNTUQ
-----END CERTIFICATE-----

Answer the question

In order to leave comments, you need to log in

4 answer(s)
K
Konstantin, 2021-06-11
@webmaster

Solution: Problem with OCSP request.
host ocsp server: r3.o.lencr.org
The problem is reproduced in the following two cases:
1) If you block the dns request with the permission of the host r3.o.lencr.org (in this case, the connection to the local ip dns server 192.168.1.1 on port 53 )
2) If you block the connection to the host r3.o.lencr.org on port 80

G
galaxy, 2021-06-10
@galaxy

Because of the cross-signature, most likely - https://letsencrypt.org/certificates/
UPD: however, I'm probably wrong, it has nothing to do with it

M
Mrkliner, 2021-06-10
@Mrkliner

If you don’t want to bother and you have two browsers, then open it not in firefox, but in another. This is the easiest. Or remove the "Only HTTPS" setting in firefox, and that's it

V
Vladimir Dubrovin, 2021-06-11
@z3apa3a

Most likely, you do not trust the ISRG Root X1 / ISRG Root X2 certificates, update the system list of root certificates, or manually set the Let's encrypt root certificates to trusted root certificates.
DST Root CA X3 is expiring in September, so it is no longer used for new certificates.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question