Vulnerability in TLS 1.2
Bad news: there’s a vulnerability in TLS 1.2. Good news: researchers say it’s “very hard to exploit” and major vendors have already released security patches for it.
A team of researchers has documented a vulnerability in TLS 1.2 (and earlier versions) that could allow a man-in-the-middle attacker to acquire a shared session key and decrypt SSL/TLS traffic.
The vulnerability only applies in very specific circumstances and is difficult to execute, but software vendors have released patches to block potential attackers from taking advantage of this loophole.
(In case you’re wondering: No you don’t have to re-issue any certificates!)
What is the Raccoon Attack? How does it work? What should site owners do?
Let’s hash it out.
What is the Raccoon Attack?
The Raccoon attack is a newly discovered vulnerability in TLS 1.2 and earlier versions. It allows hackers (in certain situations) to determine a shared session key and use that to decrypt TLS communications between the server and client.
The attack doesn’t allow a hacker to obtain the private key, so they’d have to perform the attack individually on each connection they want to eavesdrop on.
In order to execute the Raccoon Attack, a hacker needs several conditions in place:
- Successfully setup a man-in-the-middle attack to intercept communications
- Connection must use TLS 1.2 or previous (but we’ve all disabled SSL 3.0, TLS 1.0, and TLS 1.1 already…right?)
- Connection must use Diffie-Hellman key exchange
- Server must re-use Diffie-Hellman public keys
- The attacker needs to be near the target server in order to run precise timing measurements
If you’d like to learn more about how the attack is executed, the researchers have setup a very informative website at raccoon-attack.com with technical details and FAQs.
As far as we know, this attack has not been used in the real world. Researchers say that due to the multiple conditions that have to be in place for this attack to work, “a real-world attacker will probably use other attack vectors that are simpler and more reliable than this attack”.
What Should Site Admins Do?
Raccoon is a possible but rather unlikely attack, and it targets configurations that were already considered bad practice and were being disabled by browsers. In the words of the researchers who found it:
“Raccoon is a complex timing attack and it is very hard to exploit. It requires a lot of stars to align to decrypt a real-world TLS session.”
Raccoon might not be a very likely real-world attack, but it’s still a proven vulnerability, so site admins would be wise to check their servers and plug this potential security hole if necessary.
Test Your Server
As a first step, you can do a quick test to see if your server software/configuration might be vulnerable to Raccoon.
1) Go to SSL Labs, run a test for your domain, and look for this setting:
2) If that parameter says “Yes” then your server may be vulnerable.
Patching Your Server
If your server is vulnerable to this attack, you will likely be able to solve the issue by simply patching or upgrading the relevant software package:
- F5 has released a list of versions affected by Raccoon and details on how to patch each one.
- OpenSSL 1.1.1 is not vulnerable to Raccoon. Older versions may need to upgrade.
- Microsoft has released security patches for impacted software versions.
Researchers indicate that BearSSL, BoringSSL, Botan, Mbed TLS and s2n are not vulnerable to Raccoon.
Does this Affect My SSL Certificate?
No, this should not affect any SSL certificates—it’s an issue with server/client configuration, not the digital certificate. We don’t anticipate any SSL/TLS certificates will need to be revoked or re-issued.
Let’s Move to TLS 1.3
This vulnerability is another great reminder to move towards TLS 1.3—which is generally more secure and efficient than TLS 1.2.
“The complexity of this attack makes it unlikely to be used in practice; however, to be safe, organizations are encouraged to adopt TLS 1.3 and begin deprecating older versions of the protocol.”
Dean Coclin, CISSP, DigiCert
For more details on why TLS 1.3 is better, faster, and more secure, see our previous post: TLS 1.3: Everything you need to know.
What’s in A Name “Raccoon”?
POODLE, GOLDENDOODLE, and now RACCOON. (All animal names that include “oo”. I wonder what’s next…Baboon? Kangaroo? Coonhound?)
Name was chosen by the team of researchers that discovered the vulnerability: Robert Merget, Marcus Brinkmann, Nimrod Aviram, Juraj Somorovsky, Johannes Mittmann, and Jörg Schwenk. Unlike many other TLS vulnerability names, Raccoon isn’t an abbreviation or acronym for a longer title.
Plus, it turns out that raccoons are pretty good at getting into things that are supposed to be locked and secure, so the name seems pretty fitting to us: https://youtu.be/UyQRwDTtRCE
For more blogs click here
Leave a comment