{"id":2746,"date":"2016-07-18T09:19:55","date_gmt":"2016-07-18T09:19:55","guid":{"rendered":"https:\/\/www.thesslstore.com\/blog\/?p=2746"},"modified":"2016-08-04T09:13:21","modified_gmt":"2016-08-04T09:13:21","slug":"bug-juniper-software-enabled-severe-ipsec-vulnerability","status":"publish","type":"post","link":"https:\/\/www.thesslstore.com\/blog\/bug-juniper-software-enabled-severe-ipsec-vulnerability\/","title":{"rendered":"Bug in Juniper Software Enabled Severe IPSec Vulnerability"},"content":{"rendered":"<h2 class=\"p1\"><span class=\"s1\">Major vulnerability will hopefully have small impact on internet security.<\/span><\/h2>\n<p>A major bug in Juniper Networks\u2019 Junos OS was fixed this week in a new patch released by the company. In the IKE\/IPSec protocols, the software\u2019s implementation of certificate validation, a key part of how X.509 certificates provide a secure connection, did not work properly. Juniper Networks is one of the largest manufacturers of network and internet infrastructure devices.<\/p>\n<p>In the <a href=\"https:\/\/kb.juniper.net\/InfoCenter\/index?page=content&amp;id=JSA10755&amp;actp=search\" rel=\"nofollow\">release of their patch, Juniper wrote<\/a> that \u201cJunos incorrectly validated self-signed certificates when the &#8216;issuer name [matched] one of the valid CA certificates enrolled in Junos.&#8217;\u201d This means the software was only looking at the name of a certificate when determining its legitimacy.<\/p>\n<p>Luckily, the bug only affects \u201ccertificates used for IKE\/IPSec,\u201d which is just one of the many protocols that use security certificates for encryption and authentication. Juniper stated that, \u201cother public key-based authentication is unaffected by this vulnerability,\u201d so the widely used SSL\/TLS protocols were not at risk from this vulnerability.<\/p>\n<p>In order to provide authentication, one of the core purposes of the X.509 certificate standard, there needs to be cryptographic validation of the certificate being used. This proper way to do this is for the client device to check the digital signature of the certificate, and locally compute it to make sure that there is a match with the issuing Root CA.<\/p>\n<p>When that process is done correctly, the client device can prove if the certificate being presented was really signed by the trusted Root CA, or if the certificate is a forgery. Junos\u2019 code did not do this. Instead, it skipped all the mathematics, and just looked to see if the issuer name matched any of the Root CAs.<\/p>\n<p>Junos\u2019 process involves no cryptographic proofs and provides no security. Using the bug, an attacker could simply create their own certificate with an Issuer name matching a trusted Root and have Junos trust it. They could then use the certificate to impersonate any server and receive sensitive information. It\u2019s equivalent to a store accepting a piece of paper that someone wrote \u201c$20 Bill\u201d on with a pen.<\/p>\n<p>To say this was a mistake is an understatement. Hanno B\u00f6ck, a cyber security journalist, <a href=\"https:\/\/twitter.com\/hanno\/status\/754635265520574464\" rel=\"nofollow\">said<\/a> \u201c[the code] was implemented by people who had no idea what they were doing.\u201d<\/p>\n<p>Juniper says they have no knowledge that this vulnerability has actually been exploited, and no other evidence has suggested it has. If this vulnerability has been used it would make it extremely easy for malicious actors to undermine the security of IKE\/IPSec connections being made with Junos.<\/p>\n<p>The affected protocols are not very popular \u2013 they are primarily used in securing VPN connections, though most VPNs opt for other protocols for security. IPSec\u2019s lack of popularity is likely a contributing factor to the bug, as it would be under far less scrutiny from code-auditing projects and researchers.<\/p>\n<p>Juniper\u2019s problems also made headlines late last year when a <a href=\"http:\/\/blog.cryptographyengineering.com\/2015\/12\/on-juniper-backdoor.html\" rel=\"nofollow\">backdoor was discovered<\/a> in the code used in another one of their operating systems. The backdoor had been present for years and was part of the code for a random number generator, one of the tools used in establishing secure connections. This backdoor allowed for the decryption of those connections, particularly VPN connections where the software was frequently used. It is not known how that backdoor appeared in their software, but some suspect it may have been done under the influence or supervision of a government.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Major vulnerability will hopefully have small impact on internet security. A major bug in Juniper Networks\u2019 Junos OS was fixed this week in a new patch released by the company&#8230;.<\/p>\n","protected":false},"author":2,"featured_media":2859,"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":[17],"tags":[148,147],"class_list":["post-2746","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-industry-lowdown","tag-ipsec-vulnerability","tag-juniper","post-with-tags"],"views":7265,"jetpack_featured_media_url":"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2016\/07\/iStock_41312644_SMALL.jpg","_links":{"self":[{"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/posts\/2746","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\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/comments?post=2746"}],"version-history":[{"count":0,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/posts\/2746\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/media\/2859"}],"wp:attachment":[{"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/media?parent=2746"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/categories?post=2746"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/tags?post=2746"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}