{"id":13106,"date":"2020-09-10T13:47:34","date_gmt":"2020-09-10T17:47:34","guid":{"rendered":"https:\/\/www.thesslstore.com\/blog\/?p=13106"},"modified":"2023-03-20T14:38:49","modified_gmt":"2023-03-20T18:38:49","slug":"raccoon-attack-researchers-find-a-vulnerability-in-tls-1-2","status":"publish","type":"post","link":"https:\/\/www.thesslstore.com\/blog\/raccoon-attack-researchers-find-a-vulnerability-in-tls-1-2\/","title":{"rendered":"Raccoon Attack: Researchers Find A Vulnerability in TLS 1.2"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"h-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\">Bad news: there\u2019s a vulnerability in TLS 1.2. Good news: researchers say it\u2019s \u201cvery hard to exploit\u201d and major vendors have already released security patches for it.<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">(In case you\u2019re wondering: No you don\u2019t have to re-issue any certificates!)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">What is the Raccoon Attack? How does it work? What should site owners do?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let\u2019s hash it out.<span id=\"newline\"><\/span><\/p>\n\n\n<span style=\"--tl-form-height-m:150.25px;--tl-form-height-t:121.4583px;--tl-form-height-d:121.4583px;\" class=\"tl-placeholder-f-type-shortcode_12753 tl-preload-form\"><span><\/span><\/span>\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-is-the-raccoon-attack\">What Is the Raccoon Attack?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The attack doesn\u2019t allow a hacker to obtain the private key, so they\u2019d have to perform the attack individually on each connection they want to eavesdrop on.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In order to execute the Raccoon Attack, a hacker needs several conditions in place:<\/p>\n\n\n\n<ol class=\"wp-block-list\" type=\"1\">\n<li>Successfully setup a man-in-the-middle attack to intercept communications<\/li>\n\n\n\n<li>Connection must use TLS 1.2 or previous (but we\u2019ve all disabled SSL 3.0, TLS 1.0, and TLS 1.1 already\u2026right?)<\/li>\n\n\n\n<li>Connection must use Diffie-Hellman key exchange<\/li>\n\n\n\n<li>Server must re-use Diffie-Hellman public keys<\/li>\n\n\n\n<li>The attacker needs to be near the target server in order to run precise timing measurements<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">If you\u2019d like to learn more about how the attack is executed, the researchers have setup a very informative website at <a href=\"https:\/\/raccoon-attack.com\">raccoon-attack.com<\/a> with technical details and FAQs.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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, \u201ca real-world attacker will probably use other attack vectors that are simpler and more reliable than this attack\u201d.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-should-site-admins-do\">What Should Site Admins Do?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">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:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u201cRaccoon 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.\u201d<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Raccoon might not be a very likely real-world attack, but it\u2019s still a proven vulnerability, so site admins would be wise to check their servers and plug this potential security hole if necessary.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-test-your-server\">Test Your Server<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">As a first step, you can do a quick test to see if your server software\/configuration might be vulnerable to Raccoon.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here\u2019s how:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1) Go to <a href=\"https:\/\/www.ssllabs.com\/\">SSL Labs<\/a>, run a test for your domain, and look for this setting:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"707\" height=\"214\" src=\"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2020\/09\/ssllabs-raccoon-attack.png\" alt=\"SSL Labs test for Raccoon Attack.\" class=\"wp-image-13110\" srcset=\"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2020\/09\/ssllabs-raccoon-attack.png 707w, https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2020\/09\/ssllabs-raccoon-attack-300x91.png 300w\" sizes=\"auto, (max-width: 707px) 100vw, 707px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">2) If that parameter says \u201cYes\u201d then your server may be vulnerable.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-patching-your-server\">Patching Your Server<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">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:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>F5 has <a href=\"https:\/\/support.f5.com\/csp\/article\/K91158923\">released a list of versions<\/a> affected by Raccoon and details on how to patch each one.<\/li>\n\n\n\n<li>OpenSSL 1.1.1 is not vulnerable to Raccoon. <a href=\"https:\/\/www.openssl.org\/news\/secadv\/20200909.txt\">Older versions may need to upgrade<\/a>.<\/li>\n\n\n\n<li>Microsoft has <a href=\"https:\/\/portal.msrc.microsoft.com\/en-US\/security-guidance\/advisory\/CVE-2020-1596\">released security patches<\/a> for impacted software versions.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Researchers indicate that BearSSL, BoringSSL, Botan, Mbed TLS and s2n are not vulnerable to Raccoon.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-does-this-affect-my-ssl-certificate\">Does this Affect My SSL Certificate?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">No, this should not affect any SSL certificates\u2014it\u2019s an issue with server\/client configuration, not the digital certificate. We don\u2019t anticipate any SSL\/TLS certificates will need to be revoked or re-issued.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-let-s-move-to-tls-1-3\">Let\u2019s Move to TLS 1.3<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This vulnerability is another great reminder to move towards TLS 1.3\u2014which is generally more secure and efficient than TLS 1.2.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-style-default is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">\u201cThe 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.\u201d<\/p>\n<cite>Dean Coclin, CISSP, DigiCert<\/cite><\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">For more details on why TLS 1.3 is better, faster, and more secure, see our previous post: <a href=\"https:\/\/www.thesslstore.com\/blog\/tls-1-3-everything-possibly-needed-know\/\">TLS 1.3: Everything you need to know<\/a>.<\/p>\n\n\n<span style=\"--tl-form-height-m:801.312px;--tl-form-height-t:638.344px;--tl-form-height-d:638.344px;\" class=\"tl-placeholder-f-type-shortcode_12763 tl-preload-form\"><span><\/span><\/span>\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-s-in-a-name\">What\u2019s in A Name?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/www.thesslstore.com\/blog\/ssl3-poodle-vulnerability\/\">POODLE<\/a>, <a href=\"https:\/\/www.thesslstore.com\/blog\/zombie-poodle-and-goldendoodle-two-new-exploits-found-for-tls-1-2\/\">GOLDENDOODLE<\/a>, and now RACCOON. (All animal names that include \u201coo\u201d. I wonder what\u2019s next\u2026Baboon? Kangaroo? Coonhound?)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you\u2019re curious where this name came from, it was chosen by the team of researchers that discovered the vulnerability: Robert Merget, Marcus Brinkmann, Nimrod Aviram, Juraj Somorovsky, Johannes Mittmann, and J\u00f6rg Schwenk. Unlike many other TLS vulnerability names, Raccoon isn\u2019t an abbreviation or acronym for a longer title. In this case, it\u2019s just a name the researchers liked: \u201cRaccoons are just cute animals, and it is well past time that an attack will be named after them.\u201d<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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:<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Unbelievable moment clever racoon cracks locked bin in SECONDS\" width=\"960\" height=\"540\" src=\"https:\/\/www.youtube.com\/embed\/UyQRwDTtRCE?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Bad news: there\u2019s a vulnerability in TLS 1.2. Good news: researchers say it\u2019s \u201cvery hard to exploit\u201d and major vendors have already released security patches for it. A team of&#8230;<\/p>\n","protected":false},"author":23,"featured_media":13109,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":"","tve_updated_post":"","tve_custom_css":"","tve_user_custom_css":"","tve_globals":{},"tcb2_ready":0,"tcb_editor_enabled":0,"tve_landing_page":"","_tve_header":"","_tve_footer":""},"categories":[130,17,10200],"tags":[9835,12873,306,214],"class_list":["post-13106","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-everything-encryption","category-industry-lowdown","category-monthly-digest","tag-poodle","tag-raccoon","tag-tls-1-2","tag-tls-1-3","post-with-tags"],"views":40953,"jetpack_featured_media_url":"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2020\/09\/tls-raccoon-attack.png","_links":{"self":[{"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/posts\/13106","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/users\/23"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/comments?post=13106"}],"version-history":[{"count":0,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/posts\/13106\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/media\/13109"}],"wp:attachment":[{"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/media?parent=13106"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/categories?post=13106"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/tags?post=13106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}