{"id":21462,"date":"2014-04-09T02:20:28","date_gmt":"2014-04-09T00:20:28","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/?p=21462"},"modified":"2014-04-09T02:20:28","modified_gmt":"2014-04-09T00:20:28","slug":"the-heartbleed-bug","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2014\/04\/09\/the-heartbleed-bug\/","title":{"rendered":"The Heartbleed Bug"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p><a href=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2014\/04\/heartbleed.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"21463\" data-permalink=\"https:\/\/mamchenkov.net\/wordpress\/2014\/04\/09\/the-heartbleed-bug\/heartbleed\/\" data-orig-file=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2014\/04\/heartbleed.png?fit=341%2C413&amp;ssl=1\" data-orig-size=\"341,413\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"heartbleed\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2014\/04\/heartbleed.png?fit=341%2C413&amp;ssl=1\" class=\"aligncenter size-full wp-image-21463\" alt=\"heartbleed\" src=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2014\/04\/heartbleed.png?resize=341%2C413&#038;ssl=1\" width=\"341\" height=\"413\" \/><\/a><\/p>\n<p>If you haven&#8217;t heard about <a href=\"http:\/\/heartbleed.com\/\">The Heartbleed Bug<\/a> yet, here is your chance. \u00a0This page describes it nicely in not too technical detail. \u00a0Let&#8217;s get a few quotes to get you started:<\/p>\n<blockquote><p>The Heartbleed Bug is a serious vulnerability in the popular OpenSSL cryptographic software library. This weakness allows stealing the information protected, under normal conditions, by the SSL\/TLS encryption used to secure the Internet. SSL\/TLS provides communication security and privacy over the Internet for applications such as web, email, instant messaging (IM) and some virtual private networks (VPNs).<\/p>\n<p>The Heartbleed bug allows anyone on the Internet to read the memory of the systems protected by the vulnerable versions of the OpenSSL software. This compromises the secret keys used to identify the service providers and to encrypt the traffic, the names and passwords of the users and the actual content. This allows attackers to eavesdrop on communications, steal data directly from the services and users and to impersonate services and users.<\/p><\/blockquote>\n<p>That doesn&#8217;t just sound nasty. \u00a0IT IS!<\/p>\n<p><!--more--><\/p>\n<p>Here is a look at how much of the Internet is affected:<\/p>\n<blockquote><p><strong>How widespread is this?<\/strong><\/p>\n<p>Most notable software using OpenSSL are the open source web servers like Apache and nginx. The combined market share of just those two out of the active sites on the Internet was over 66% according to <a href=\"http:\/\/news.netcraft.com\/archives\/2014\/04\/02\/april-2014-web-server-survey.html\">Netcraft&#8217;s April 2014 Web Server Survey<\/a>. Furthermore OpenSSL is used to protect for example email servers (SMTP, POP and IMAP protocols), chat servers (XMPP protocol), virtual private networks (SSL VPNs), network appliances and wide variety of client side software. [&#8230;]\u00a0Furthermore OpenSSL is very popular in client software and somewhat popular in networked appliances which have most inertia in getting updates.<\/p><\/blockquote>\n<p>Also, as to how widespread are the affected versions of the OpenSSL:<\/p>\n<blockquote><p><strong>How common are the vulnerable OpenSSL versions?<\/strong><\/p>\n<p>The vulnerable versions have been out there for over two years now and they have been rapidly adopted by modern operating systems.<\/p><\/blockquote>\n<p>And it&#8217;s not a fresh one either:<\/p>\n<blockquote><p>Bug was introduced to OpenSSL in December 2011 and has been out in the wild since OpenSSL release 1.0.1 on 14th of March 2012. OpenSSL 1.0.1g released on 7th of April 2014 fixes the bug.<\/p><\/blockquote>\n<p>So, now that I&#8217;ve got your attention, let&#8217;s not waste any more time and look for the fixes. \u00a0Check <a href=\"http:\/\/lwn.net\/Articles\/593859\/rss\">this Linux Weekly News post<\/a> for the list of distributions providing updated packages. \u00a0If you are not using Linux or your vendor hasn&#8217;t released the update yet, here is some information from the original <a href=\"https:\/\/www.openssl.org\/news\/secadv_20140407.txt\">OpenSSL Security Advisory<\/a>:<\/p>\n<blockquote><p>Affected users should upgrade to OpenSSL 1.0.1g. Users unable to immediately\u00a0upgrade can alternatively recompile OpenSSL with -DOPENSSL_NO_HEARTBEATS.<\/p><\/blockquote>\n<p>You can use <a href=\"http:\/\/filippo.io\/Heartbleed\/\">this handy tool<\/a> to check if your servers are still vulnerable.<\/p>\n<p>Your servers should be fine now. \u00a0But just in case you want more information on the issue, here are few more resources for you to check:<\/p>\n<ul>\n<li><a href=\"http:\/\/blog.existentialize.com\/diagnosis-of-the-openssl-heartbleed-bug.html\">Diagnosis of the OpenSSL Heartbleed Bug<\/a> &#8211; a technical look-into, complete with source code pieces and discussion on how and when it works.<\/li>\n<li><a href=\"http:\/\/www.reddit.com\/r\/netsec\/comments\/22gym6\/diagnosis_of_the_openssl_heartbleed_bug\/\">Reddit comments<\/a> to the above analysis.<\/li>\n<li><a href=\"http:\/\/lwn.net\/Articles\/593683\/\">Linux Weekly News post and comments<\/a> &#8211; some more details as to what to check and replace.<\/li>\n<li><a href=\"http:\/\/it.slashdot.org\/story\/14\/04\/07\/2354258\/openssl-bug-allows-attackers-to-read-memory-in-64k-chunks\">Slashdot discussion<\/a> &#8211; more links, comments, and some of much needed humor to defuse the situation a bit.<\/li>\n<li><a href=\"https:\/\/github.com\/blog\/1818-security-heartbleed-vulnerability\">GitHub blog post<\/a> &#8211; describes how a widely used web service handles the situation.<\/li>\n<li><a href=\"http:\/\/lifehacker.com\/what-the-heartbleed-security-bug-means-for-you-1560801201\">LifeHacker post<\/a> &#8211; describes what an average non-technical user can do about all this.<\/li>\n<li><a href=\"http:\/\/www.entrust.com\/openssl-heartbleed-bug\/\">Entrust Inc. on OpenSSL Heartbleed Bug<\/a> &#8211; a word from the Certification Authority.<\/li>\n<\/ul>\n<p>Did I miss anything interesting? \u00a0Let me know in the comments.<\/p>\n<p>In conclusion, here is another brief quote from <a href=\"http:\/\/heartbleed.com\/\">The Heartbleed Bug<\/a> site:<\/p>\n<blockquote><p><strong>Is there a bright side to all this?<\/strong><\/p>\n<p>For those service providers who are affected this is a good opportunity to upgrade security strength of the secret keys used. A lot of software gets updates which otherwise would have not been urgent. Although this is painful for the security community, we can rest assured that infrastructure of the cyber criminals and their secrets have been exposed as well.<\/p><\/blockquote>\n<p>So, yeah, don&#8217;t stress out too much. \u00a0It&#8217;s not the first such bug, and it&#8217;s not going to be the last either.<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>If you haven&#8217;t heard about The Heartbleed Bug yet, here is your chance. \u00a0This page describes it nicely in not too technical detail. \u00a0Let&#8217;s get a few quotes to get you started: The Heartbleed Bug is a serious vulnerability in the popular OpenSSL cryptographic software library. This weakness allows stealing the information protected, under normal &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2014\/04\/09\/the-heartbleed-bug\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">The Heartbleed Bug<\/span><\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_links_to":"","_links_to_target":""},"categories":[1,18,133,62,1334],"tags":[3085,72,3164,200],"keyring_services":[],"class_list":["post-21462","post","type-post","status-publish","format-standard","hentry","category-general","category-programming","category-sysadmin","category-technology","category-web-work","tag-apache","tag-email","tag-nginx","tag-security"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":21505,"url":"https:\/\/mamchenkov.net\/wordpress\/2014\/04\/11\/how-the-heartbleed-bug-works\/","url_meta":{"origin":21462,"position":0},"title":"How the Heartbleed bug works","author":"Leonid Mamchenkov","date":"April 11, 2014","format":"image","excerpt":"\u00a0 From xkcd, of course.","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"heartbleed_explanation","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2014\/04\/heartbleed_explanation-234x500.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":21562,"url":"https:\/\/mamchenkov.net\/wordpress\/2014\/04\/14\/heartbleed-reflections-list\/","url_meta":{"origin":21462,"position":1},"title":"Heartbleed reflections list","author":"Leonid Mamchenkov","date":"April 14, 2014","format":"link","excerpt":"Mark McLoughlin has a nice list of thoughts, ideas, and questions to reflect on in regards to the Heartbleed bug.","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":21491,"url":"https:\/\/mamchenkov.net\/wordpress\/2014\/04\/10\/lastpass-now-tells-you-which-heartbleed-affected-passwords-to-change\/","url_meta":{"origin":21462,"position":2},"title":"LastPass Now Tells You Which Heartbleed-Affected Passwords to Change","author":"Leonid Mamchenkov","date":"April 10, 2014","format":"link","excerpt":"LastPass Now Tells You Which Heartbleed-Affected Passwords to Change","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"lastpass","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2014\/04\/lastpass-500x281.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":21612,"url":"https:\/\/mamchenkov.net\/wordpress\/2014\/04\/17\/heartleech-atypical-heartbleed-tool-with-a-few-more-features\/","url_meta":{"origin":21462,"position":3},"title":"heartleech &#8211; atypical &#8220;heartbleed&#8221; tool with a few more features","author":"Leonid Mamchenkov","date":"April 17, 2014","format":"link","excerpt":"heartleech heartleech A typical \"heartbleed\" tool. What makes this different is: autopwn (-a) that does all the steps needed to get private key post-handshake (encrypted) heartbeats instead of during handshake evades Snort IDS rules loops making repeated requests (-l <loopcount>) dumps binary data to file (-f <filename>) IPv4 or IPv6\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":28885,"url":"https:\/\/mamchenkov.net\/wordpress\/2018\/10\/25\/the-illustrated-tls-connection\/","url_meta":{"origin":21462,"position":4},"title":"The Illustrated TLS Connection","author":"Leonid Mamchenkov","date":"October 25, 2018","format":false,"excerpt":"\"The Illustrated TLS Connection\" is an interactive guide to the TLS connection, explaining every byte with code, comments, annotations, and more.\u00a0 If you ever wanted to know the details of how this works, I can't think of a better resource to direct you to.\u00a0 And if you find any issues\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2018\/10\/tls_illustrated-451x500.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":21567,"url":"https:\/\/mamchenkov.net\/wordpress\/2014\/04\/14\/ssl-labs-deploying-forward-secrecy\/","url_meta":{"origin":21462,"position":5},"title":"SSL Labs: Deploying Forward Secrecy","author":"Leonid Mamchenkov","date":"April 14, 2014","format":"link","excerpt":"SSL Labs: Deploying Forward Secrecy With revelations about mass surveillance in the news everywhere, an obscure feature of SSL\/TLS called\u00a0Forward Secrecy\u00a0has suddenly become very interesting. So what is it, and why is it so interesting now?","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/21462","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=21462"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/21462\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=21462"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=21462"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=21462"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=21462"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}