{"id":180,"date":"2004-05-18T15:02:00","date_gmt":"2004-05-18T08:02:00","guid":{"rendered":""},"modified":"2004-05-18T15:02:00","modified_gmt":"2004-05-18T08:02:00","slug":"mac-os-x-help-uri-handler-arbitrary-script-execution","status":"publish","type":"post","link":"https:\/\/deepquest.code511.com\/blog\/2004\/05\/mac-os-x-help-uri-handler-arbitrary-script-execution\/","title":{"rendered":"Mac OS X Help URI Handler Arbitrary Script Execution"},"content":{"rendered":"<p>lixlpixel has reported a vulnerability in Mac OS X, potentially allowing malicious web sites to compromise a vulnerable system.<\/p>\n<p>The problem is that the &#8220;help&#8221; URI handler allows execution of arbitrary local scripts (.scpt) via the classic directory traversal character sequence using &#8220;help:runscript&#8221;.<!--more--><\/p>\n<p>It is reportedly possible to place arbitrary files in a known location, including script files, on a user&#8217;s system if the Safari browser has been configured to (&#8220;Open &#8220;safe&#8221; files after download&#8221;) (default behaviour) by asking a user to download a &#8220;.dmg&#8221; (disk image) file.<\/p>\n<p>This has been confirmed on Macintosh OS X using Safari 1.2.1 (v125.1) and Internet Explorer 5.2.<br \/>\nUncheck (&#8220;Open &#8220;safe&#8221; files after download&#8221;) in &#8220;Safari -> Preferences -> General&#8221;.<\/p>\n<p>Do not surf the Internet as a privileged user.<\/p>\n<p>Rename the help URI handler.<\/p>\n<p>Provided and\/or discovered by: lixlpixel<\/p>\n<p>Proof of Concept: copy\/paste &#8220;help:\/\/cat \/etc\/passwd&#8221; in the address bar<\/p>\n<p>This is a harmless POC that will launch the help and dump the passwd file.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mac OS X Help URI Handler Arbitrary Script Execution<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-180","post","type-post","status-publish","format-standard","hentry","category-apple"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4bBYZ-2U","_links":{"self":[{"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/posts\/180","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/comments?post=180"}],"version-history":[{"count":0,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/posts\/180\/revisions"}],"wp:attachment":[{"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/media?parent=180"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/categories?post=180"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/tags?post=180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}