Live data from Hacker News

Downgrade Attack on TLS 1.3 and Vulnerabilities in Major TLS Libraries

nccgroup.trust

11–20 of 69 posts

Re: Downgrade Attack on TLS 1.3 and Vulnerabilities in Major TLS Libraries

#11
Downgrading to TLS1.2 isn't the end of the world.

One of the things you can do to make a significant difference is configure all of your httpd (apache2, nginx, whatever) to specifically disallow SSLv3, TLS1.0 and TLS1.1.

There is no longer any relevant population of useragents that don't understand TLS1.2.

Re: Downgrade Attack on TLS 1.3 and Vulnerabilities in Major TLS Libraries

#12
Just commenting since I saw and recognized the name next to BearSSL... Thomas Pornin is an absolute treasure, and anyone interested in entry level crypto and beyond should read through his StackOverflow responses. Many of the answers simplify complex topics into more digestable pieces.

Re: Downgrade Attack on TLS 1.3 and Vulnerabilities in Major TLS Libraries

#13
There's a big disparity between the level of ambition in transport security implementations, and the big recent archievements in getting crypto more widely deployed...

I think the current standard should be memory-safe implementations with proven robustness against known classes of attacks, and optional resistance against traffic analysis (at expense of wasted bandwidth).

Re: Downgrade Attack on TLS 1.3 and Vulnerabilities in Major TLS Libraries

#14

Downgrading to TLS1.2 isn't the end of the world. One of the things you can do to make a significant difference is configure all of your httpd (apache2, nginx, whatever) to specifically disallow SSLv3, TLS1.0 and TLS1.1. There is no longer any relevant population of useragents that don't understand TLS1.2.

Seconded, and sourced:

> Microsoft cited public stats from SSL Labs showing that 94 percent of the Internet's sites have already moved to using TLS 1.2, leaving very few sites on the older standard versions.

> "Less than one percent of daily connections in Microsoft Edge are using TLS 1.0 or 1.1," Pflug said, also citing internal stats.

https://www.zdnet.com/article/chrome-edge-ie-firefox-and-saf...

Re: Downgrade Attack on TLS 1.3 and Vulnerabilities in Major TLS Libraries

#16

> The last 20 years of attacks that have been re-discovering Bleichenbacher's seminal work in 1998 clearly show that it is close to impossible to correclty implement the RSA PKCS#1 v1.5 encryption scheme. While our paper recommends a series of mitigations, it is time for RSA PKCS#1 v1.5 to be deprecated and replaced by more modern schemes like OAEP and ECEIS for asymmetric encryption or Elliptic Curve Diffie-Hellman…

The Cryptographic Right Answers (https://latacora.micro.blog/2018/04/03/cryptographic-right-a...) do tell you to ditch RSA if you can.

They say the only way to use RSA is in a very very specific way that is probably not the default in many implementations. If you need to be careful when doing crypto you will do something wrong. It's just better for everyone if you just forget about RSA and switch to something that is both highly secure by default and hard to mess up in the implementation.

Re: Downgrade Attack on TLS 1.3 and Vulnerabilities in Major TLS Libraries

#18
post #14

Downgrading to TLS1.2 isn't the end of the world. One of the things you can do to make a significant difference is configure all of your httpd (apache2, nginx, whatever) to specifically disallow SSLv3, TLS1.0 and TLS1.1. There is no longer any relevant population of useragents that don't understand TLS1.2.

Seconded, and sourced: > Microsoft cited public stats from SSL Labs showing that 94 percent of the Internet's sites have already moved to using TLS 1.2, leaving very few sites on the older standard versions. > "Less than one percent of daily connections in Microsoft Edge are using TLS 1.0 or 1.1," Pflug said, also citing internal stats. https://www.zdnet.com/article/chrome-edge-ie-firefox-and-saf...

Well given the amount of Internet traffic out there, I'd say that one percent (albeit 'less than' that) could be rather a lot of traffic that would be blocked if TLS 1.0 or 1.1 were totally dropped or blocked.

Re: Downgrade Attack on TLS 1.3 and Vulnerabilities in Major TLS Libraries

#19
post #17

am I vulnerable if I only use TLS 1.2?

Yes. The only way to be invulnerable to this class of attack is of one of:

1. You never use RSA at all (the attack needs a server to be willing to do RSA decryption, but clients only need to be willing to do RSA for certificate verification)

2. Everything is "on premises". This is a cache timing attack and probably won't be practical even a short distance away over a network.

3. Server doesn't allow any version below TLS 1.3

Re: Downgrade Attack on TLS 1.3 and Vulnerabilities in Major TLS Libraries

#20

> The cat is not dead yet, with two lives remaining thanks to BearSSL (developed by my colleague Thomas Pornin) and Google's BoringSSL. Some kind of award has to go to this sentence, that has to be the most convoluted way to simply say "aren't vulnerable." In context you can only just barely follow it, and it literally involves counting the vulnerable + un-vulnerable libraries to check they all add up to 9...

I think the audience addressed loved that joke as much as this brilliant attack suite itself.
Post reply on HN