{"id":81,"date":"2014-09-29T13:09:17","date_gmt":"2014-09-29T11:09:17","guid":{"rendered":"http:\/\/itso.dk\/?p=81"},"modified":"2015-08-18T19:32:22","modified_gmt":"2015-08-18T17:32:22","slug":"shellshock-am-i-affected","status":"publish","type":"post","link":"https:\/\/blog.itso.dk\/?p=81","title":{"rendered":"Shellshock &#8211; Am I affected?"},"content":{"rendered":"<p>No need to worry, for most distros just run your updater, then you are safe.<\/p>\n<p>How to check if you are affected, run the following code:<\/p>\n<pre><span class=\"crayon-i\">env<\/span> <span class=\"crayon-v\">x<\/span><span class=\"crayon-o\">=<\/span><span class=\"crayon-s\">'() { :;}; echo vulnerable'<\/span> <span class=\"crayon-v\">bash<\/span> <span class=\"crayon-o\">-<\/span><span class=\"crayon-i\">c<\/span> <span class=\"crayon-s\">\"echo Your system are patched against shellshock\"\r\n <\/span><\/pre>\n<p><span class=\"crayon-s\">If the output is &#8220;vulnerable&#8221; you need to update.<br \/>\n<\/span><\/p>\n<p>If the output is: &#8220;Your system are patched against shellshock&#8221; you need to do no further.<\/p>\n<p>&nbsp;<\/p>\n<p>Note: Many embeded system like routers, NAS servers will be vunlnerable, please consult the company who made the device for updates.<br \/>\nFreeNAS 9.2.1.7 is vulnerable, but patch is comming up, restrict web interface to lan only, and if remote access is needed: make proxy and login via SSH.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>No need to worry, for most distros just run your updater, then you are safe. How to check if you are affected, run the following code: env x='() { :;}; echo vulnerable&#8217; bash -c &#8220;echo Your system are patched against shellshock&#8221; If the output is &#8220;vulnerable&#8221; you need to update. If the output is: &#8220;Your &#8230;<\/p>\n<p><a href=\"https:\/\/blog.itso.dk\/?p=81\" class=\"more-link\">Continue reading &lsquo;Shellshock &#8211; Am I affected?&rsquo; &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-81","post","type-post","status-publish","format-standard","hentry","category-linux-tip"],"_links":{"self":[{"href":"https:\/\/blog.itso.dk\/index.php?rest_route=\/wp\/v2\/posts\/81","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.itso.dk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.itso.dk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.itso.dk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.itso.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=81"}],"version-history":[{"count":5,"href":"https:\/\/blog.itso.dk\/index.php?rest_route=\/wp\/v2\/posts\/81\/revisions"}],"predecessor-version":[{"id":86,"href":"https:\/\/blog.itso.dk\/index.php?rest_route=\/wp\/v2\/posts\/81\/revisions\/86"}],"wp:attachment":[{"href":"https:\/\/blog.itso.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=81"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.itso.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=81"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.itso.dk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=81"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}