<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sam on Medium]]></title>
        <description><![CDATA[Stories by Sam on Medium]]></description>
        <link>https://medium.com/@sam0-0?source=rss-db693b12095a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*VQ0ais6TnMaamCPl</url>
            <title>Stories by Sam on Medium</title>
            <link>https://medium.com/@sam0-0?source=rss-db693b12095a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 22:40:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sam0-0/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Multiple Business Logic Errors in APPLE music/TV allowing bypass of parental controls]]></title>
            <link>https://medium.com/@sam0-0/multiple-business-logic-errors-in-apple-music-tv-allowing-bypass-of-parental-controls-0d870d4870c5?source=rss-db693b12095a------2</link>
            <guid isPermaLink="false">https://medium.com/p/0d870d4870c5</guid>
            <category><![CDATA[apple]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <dc:creator><![CDATA[Sam]]></dc:creator>
            <pubDate>Wed, 15 May 2024 12:27:01 GMT</pubDate>
            <atom:updated>2024-05-15T12:28:22.021Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi techies, from this side of the screen ! Lets’ start the write-up without wasting the golden time !</p><p>So, Apple uses parental controls to stop child’s/teens from accessing the inappropriate content, it uses a pin which is only know to parent to access the inappropriate content, so if there is any easy method which could allow teens to bypass this parental controls in order to view the locked content , then ? As easy as anyone could do it , And i found multiple ways to bypass the parental controls, so lets take a look into it !</p><ol><li><strong>Wired settings of parental controls allowing to bypass it !</strong></li></ol><p>I found a logic flow which is wired, When parent applies the parental lock in apple music website it only restricts the content in the music.apple.com, So think as you’re an parent of a child who wants to lock inappropriate content, you just apply parental lock and done ! but in apple it’s not like that, If a parent applies the parental lock to music.apple.com it only restricts the content on the website which is not known to most of the users not even me, so now a child can use apple music/tv application to view the inappropriate content even the parental control is enabled in apple music web, So i reported the same thing to apple on 14–3–24 and after a day i received a response saying as it is working as intended , and this time they were right ! as i missed a line on their webpage saying : <strong>“These content restrictions apply to Apple TV and Apple Music on the web. They do not restrict playback on other devices”</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2r-EvkK0LHDRIXsMVUElOQ.png" /></figure><p>The root cause of this is that apple is using different controls for apple music app and apple music web, which works independently, So if you set parental controls in apple music web[music.apple.com] ,then in apple music app the parental control is not applied at all.</p><p><strong>2. Bypassing the parental controls via mobile app</strong></p><p>Now, I started to investigate parental controls in mobile app, and at first i got nothing, and though of giving it up, but after digging into the traffic of apple music i found out that, if we change settings in apple music app it reflects in apple music website, so what ? It could allow an teen to change settings of apple music from the application without any type of authentication ,So if there is parental controls enabled in apple music website, a child can open apple music application change the settings and access the inappropriate content which proves the statement given by the apple as false, even if the text line on apple’s parental control settings page says : “<strong>These content restrictions apply to Apple TV and Apple Music on the web. They do not restrict playback on other devices</strong>”, then after one more day, i created a fully fledged report to share with apple, but when i tried to create a POC video the flow is gone ! the changes in apple music app was not reflected to apple music site at all or maybe i missed the flow! a bummer , YES !</p><p><strong>3. Now lets target the line : “These content restrictions apply to Apple TV and Apple Music on the web. They do not restrict playback on other devices”</strong></p><p>Now i though that from the music.apple.com it is working as intended, as it shows users the line saying it will only restrict the content on music.apple.com and not other devices, Now i checked the flow of parental controls in apple music application, and there is no line or info which could inform user that the parental control settings applied on apple music app only restricts the content on apple music app, So as a parent you will set parental controls and simply think your child cannot access the restricted content, as on apple music app and there’s no warning for you that the parental control will only work in app and not in web, A child can access the web apple music and can see the restricted content [Its a simple bypass ]! Now what ? as apple declined my report on the basis of a simple line, now i can report this to them , And guess what i got reply saying this [A huge disappointment]:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eelJFUFlYiNhndGs7NtmOw.png" /></figure><p>Here is the one good POC video i recorded if you want to take a look at : <a href="https://youtu.be/WYgmtI0TUpE">https://youtu.be/WYgmtI0TUpE</a></p><p>They want me to report it as a feedback , Really ?</p><p><strong>4. Adding One more bug to the same flow of attacks 😵</strong></p><p>Now i found a crystal clear root cause and very easy reproduction steps, lets take a look into it, So assume as a parent you enabled parental control settings in apple music app, and a teen child want to view the restricted content, he can simply logout from the application and login again and boom the parental controls is gone from the application , Similar way he can uninstall the apple music application and install it again or just clear the app data from settings[Android device] and booom the parental controls is gone ,So now again it looks like a new bug, Ain’t it ? the root cause of this is apple music app is using client side checks to see if the user is allowed to view the explicit content or not, Here is the flow of it :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*CU_bhrHnNZ19k49Cj2jUTA.png" /></figure><p><strong>Root cause of this</strong> : the app is checking the parental controls on client side, just by TRUE or FALSE condition, which can be bypassed just by logging out and logging in again into the app very easily.</p><p>I reported this 4th thing with proper attack scenarios to apple and look at their response :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gfxlaGHLkQr32qq32aPlhw.png" /></figure><p>They kept saying i should report this to apple as a feedback , i was really not expecting the reply , WTH apple😥 ???? IT really disappointed me a lot after spending hefty amount of time in it ! i really do not agree with this decision of apple, what do you guys think ? i wont mind if you guys comment your thoughts on the decision of apple, so they could know that its not a feedback 😂 and a bug !</p><p>And they also said something cool look at it : As per apple “Parental controls are not a security feature” cool yay !😂</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HZXMDU9GiK-lIlyEi8f-eQ.png" /></figure><p>At the end, i though of leaving this issue as it is, and disclosing it publicly so everyone can know about it !</p><p><strong>Timeline :</strong></p><p>Reported the initial discovery : 14/3/24</p><p>Rejected as WAI : 14/3/24</p><p>Reported a working bug : 16/3/24</p><p>Rejected as they want me to report it as feedback : 16/3/24</p><p>Reported one more bug with different root cause : 18/4/24</p><p>Rejected as they want me to report it as feedback : 19/4/24</p><p>Disclosure : 14/5/24</p><p>You can follow me on twitter[X] here : <a href="https://twitter.com/__Sam0_0">__Sam0_0</a> , I’ll keep posting more write-up here !</p><p>Thanks !</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0d870d4870c5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BYPASSING PARENTAL CONTROL ON WHOLE APPLE ECO-SYSTEM]]></title>
            <link>https://medium.com/@sam0-0/bypassing-parental-control-on-whole-apple-eco-system-1c6975c24105?source=rss-db693b12095a------2</link>
            <guid isPermaLink="false">https://medium.com/p/1c6975c24105</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[apple]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[bugbounty-writeup]]></category>
            <dc:creator><![CDATA[Sam]]></dc:creator>
            <pubDate>Tue, 12 Mar 2024 19:07:02 GMT</pubDate>
            <atom:updated>2024-03-12T19:07:02.618Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi,</p><p>Hope you guys are doing well, As always lets start into the bug, without wasting any time, as we all know parental control restricts childs/teens from accessing inappropriate content, so lets take a look into apple’s parental controls ,</p><p><strong>HOW PARENTAL CONTROL WORKS IN APPLE :</strong></p><p>1- Parent Enter parental pin to enable/change parental settings on the site</p><p>2- Pin goes to the apple servers, server generates base64 token and send it back to the parent</p><p>3- Parent uses the base64 token as authorization to change parental settings</p><h4>Explanation of attack flow : The Bypass</h4><p>Now, after some digging i found out that the base64 token which is used as authorization is made of <strong>dsid [A unique integer value for each apple id] and timestamp</strong>, Now we need dsis and timestamp to forge our own custom token, send it with an request and take control of parental controls as a child.</p><p>For that we will need dsid, So after digging into it for one more day i finally found out that, if we send a request to familyws.icloud.apple.com with a particular cookie and endpoint we can get dsid for our account, So for that we will need a cookie named <strong>“caw” </strong>which can be obtained from storage section of the browser as we are already logged into the account [But we have parental restricitions] now after obtaining the the cookie i made a request to this endpoint :</p><p><a href="https://familyws.icloud.apple.com/api/family-members">https://familyws.icloud.apple.com:443/api/family-members</a></p><p>Which responded with our account’s <strong>dsis </strong>, as <strong>currentDsid </strong>in response</p><p>Now, all we need is time-stamp, there is huge mess, after around 30 attempts i noticed the timestamp is acting weird and not allowing us to forge a valid token, Then i thought of bruteforcing it,and started to bruteforce the epoch timestamp on character by character as it was in millisecond format i ignored last 3–4 digits and started to focus on minutes time only, and at the end, after bruteforcing and some trail and error for few minutes i found that it allows max 3–4 minutes of variation in minutes from the time of which the parent last accessed [It means to any action which parent did such as changing seconds in that time] It was still a mystery that how it is allowing or declining access , But at the end i managed to forge a custom token to bypass the parental controls , I made a python based exploit to automate the whole attack which requires some cookies to work[It will not work now as it is fixed by apple] you can check it here : <a href="https://github.com/SAM0-0/APPLE-PARENTAL-BYPASS">https://github.com/SAM0-0/APPLE-PARENTAL-BYPASS</a></p><p><strong>poc </strong>: <a href="https://youtu.be/L2ZkFdbCpMo">https://youtu.be/L2ZkFdbCpMo</a></p><p><strong>Steps to reproduce :[This steps can be made easier on the actual attack ]</strong></p><p><strong>step-1 : </strong>Child gets restricted by parents for 18+ content</p><p><strong>step-2 : </strong>Child uses the account’s cookie to obtain dsid from running python script-1</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/996/1*yuEOk4ufa_1Ynoh_EKFQhQ.png" /></figure><p><strong>step-3 :</strong> Child runs the python script-2 and add’s his ctoke cookie from the browser, And the script bruteforces the coustom tokens untill it gets the valid one and once its done it provides option to remove the parental restriction, and child removes the restrcition.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dLm_8ffY-9OEIoR2u5i6fw.png" /></figure><p><strong>The root cause :</strong><br> The token which is used for changing settings of Parental Controls, Is guessable by anyone, Because it is made of timestamp and dsid, We can get the dsid of our account by logging into appleid.apple.com, Once we have that , we can simply guess the timestamp very easily, And more interesting thing is that, there is no rate limit on the endpoint which allows attackers to bruteforce the tokens and guess the right token to edit the Parental Controls, and once they guess the right token they can do anything as they want they can enable or disable the age restriction or change current pin even without knowing it, or change the recovery email too.</p><p><strong>The response</strong> from apple is that <strong>they investigated this for nine months</strong> and at the end stated that it is a duplicate bug ! So sadly 0$ in rewards , <strong>I even investigated it further and apple applied a pretty good fix this time .</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FISOckXUybVfQ4%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExOWkxZnI5OTFkejBsZnplbWx0eXp2Ymo5YWljeTBqZHl0OGk0aGFqeCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw%2FISOckXUybVfQ4%2Fgiphy.gif&amp;image=https%3A%2F%2Fmedia4.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExM3czM2J2NHppbmV3bW5rbDdoenV4cDB4NzFobnF6bXNrdjg1MjZxayZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw%2FISOckXUybVfQ4%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="294" frameborder="0" scrolling="no"><a href="https://medium.com/media/31deaae8e65869b8b121c29f37c76a51/href">https://medium.com/media/31deaae8e65869b8b121c29f37c76a51/href</a></iframe><p><strong>The Question</strong> : The four digit pin is bruteforcable ? Yes you are right i reported that as well, but it resulted in a duplicate as well, And it is way different than the bug we are covering right now !</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FxT9DPBMumj2Q0hlI3K%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExYTMxcXhjbGhpOWN0aWl5M2JlNHRsYmJlY2IybWh2ajhucWhjbTc5eCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw%2FxT9DPBMumj2Q0hlI3K%2Fgiphy.gif&amp;image=https%3A%2F%2Fmedia3.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExc2lkMzN5Nm9kbTZjb3ZibDJ6bmVtaG5hc2hicGdnNjJ0b3RtZTdkayZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw%2FxT9DPBMumj2Q0hlI3K%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="259" frameborder="0" scrolling="no"><a href="https://medium.com/media/357489d4c1cd3e8b5d5b08bbe568b659/href">https://medium.com/media/357489d4c1cd3e8b5d5b08bbe568b659/href</a></iframe><p>The issue allowed us to bypass the parental control and its setting on any apple services including apple tv, music ,podcasts, and if we disable it on any service it will be disabled on every single other services as well, And i was able to alter recovery email, change or remove the parental controls from the accounts with minimal efforts as well, As we know if someone leaked this things to teens it could result in a huge mess for apple as things like this does not take alot of time to get in reach.</p><p><strong>Time-line :</strong></p><p>7 April 2023 — Reported the bug</p><p>7 July 2023 — Update ? — They’re investigating the report</p><p>14 Dec 2023 — Report closed by some error form their side and then fix applied on same day!</p><p>16 Jan 2024 — Duplicated</p><p>13 Mar 2024 — Disclosure</p><p>Follow me here for more write ups and any questions ! :)</p><p><a href="https://twitter.com/__Sam0_0">https://twitter.com/__Sam0_0</a></p><p>Thanks.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1c6975c24105" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BYPASSING PAYMENTS IN APPLE FOR FREE TRAILS FOR LIFETIME]]></title>
            <link>https://infosecwriteups.com/bypassing-payments-in-apple-for-free-trails-for-lifetime-8e3019dfe57b?source=rss-db693b12095a------2</link>
            <guid isPermaLink="false">https://medium.com/p/8e3019dfe57b</guid>
            <category><![CDATA[bug-bounty-writeup]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[apple]]></category>
            <category><![CDATA[apple-security]]></category>
            <dc:creator><![CDATA[Sam]]></dc:creator>
            <pubDate>Tue, 09 Jan 2024 06:04:07 GMT</pubDate>
            <atom:updated>2024-03-04T05:22:59.738Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi, hope you guys are doing well,</p><p>So ,Lets start without wasting any time , Apple music provides free trials for every new user, But it requires to add a credit card to it and then allows a user to get free trial, Now what if we can bypass the payment verification and get unlimited trials for lifetime ?</p><p>It took me a week,but i did exactly the same ! It also results in mass account creation of apple ids without verifying or adding your phone number , we can create apple account in bulks within seconds, Which could be benifitial for spammer or few organizations!</p><p><strong>There are total 3 requests are responsible for creating an apple account : </strong>1-<a href="https://buy.music.apple.com/WebObjects/MZFinance.woa/wa/generateEmailConfirmationCodeSrv">https://buy.music.apple.com:443/WebObjects/MZFinance.woa/wa/generateEmailConfirmationCodeSrv</a><br> 2-<a href="https://buy.music.apple.com/WebObjects/MZFinance.woa/wa/validateEmailConfirmationCodeSrv">https://buy.music.apple.com:443/WebObjects/MZFinance.woa/wa/validateEmailConfirmationCodeSrv</a><br> 3-<a href="https://buy.music.apple.com/WebObjects/MZFinance.woa/wa/createAccountSrv">https://buy.music.apple.com:443/WebObjects/MZFinance.woa/wa/createAccountSrv</a></p><p><strong>Explanation of attack flow : [creating apple id for free trial]</strong></p><p><strong>(Step-1):</strong> In the First request the conformation code is generated and in response for an given email, But the cookies are playing main role in this whole process, after 2 days of work, i finally understood the whole flow of account creation and identified cookies which are responsible for the oprations, So for the first cookie we need an cookie named wosid-lite , Without it we cannot genrate an verification code for an email, so after digging up more, i found one more endpoint : <a href="https://buy.music.apple.com/account/restricted/create/options">https://buy.music.apple.com:443/account/restricted/create/options</a> ,Which gives us new value of wosid-lite for each request, Now as we have wosid-lite we can generate as many verification codes as we want and in response of first request we get an clientoken which we are using in next steps.</p><p><strong>(Step-2):</strong> Now in Second request , we are verifying the code and email, but this request works only if ns-mzf-inst is present in cookies, Then after digging more in apple i found one more endpoint : <a href="https://buy.music.apple.com/WebObjects/MZFinance.woa/wa/validateAccountFieldsSrv">https://buy.music.apple.com:443/WebObjects/MZFinance.woa/wa/validateAccountFieldsSrv</a> , Which gives us new value of ns-mzf-inst for each new request , Now as we have clientoken, wosid-lite from First step and ns-mzf-inst, we can verify our email with verification code , and in response we will get pageuuid , which we are using in next steps.</p><p><strong>(Step-3):</strong> In Third request, we are verifying address and other details of users , for that, we will need pageuuid, clientoken and cookies from above steps, Then there are two options for us , Add credit card or go with None,As we need free trails we have to go with card,So now to bypass apple payments system, we will need an dummy card for that i took “401658”, Then used an credit card generator from bin, and generated 200 dummy credit cards,Now, we have to fill all the address, and put state and city as new york, and we are ready to make this request to fool the apple payments by dummy cards, and put all the data in request and send it and in response we can see status:0 or xml data to verify that the account is created. (I automated all the input fields with random but valid data in automation ), After carefully adding everything we are good to create an account, But apple is protected by an ip rate limit , which is very very easy to bypass, just by rotating proxies for automation,(I am successfully able to bypass this too by using an proxy ip) and get apple accounts in mass/bulk/<br> Now as we added out dummy credit card successfully, we just now have to enroll any trial in any apple product just by adding cvv of fake dummy credit cards.</p><p><strong>Steps to reproduce :</strong><br> Steps are briefly explained in the explanation section, please refer to that and, because it will be very messy to write down here, if still you guys needs steps then i can provide them, connect me on my twitter<br><strong>1-</strong> Run the python script and wait for output.<br><strong>2-</strong> in output we will get an email ,password , cvv, now just login with that email and password , and activate any trial and add cvv, and you will get free trial with fake/dummy credit card.<br> We, can run the script as many time as we want , and get free one month trials on every run !</p><p><strong>python script is here if you need it :</strong> <a href="https://github.com/SAM0-0/APPLE-PAYMENT-BYPASS/blob/main/exploit.py">https://github.com/SAM0-0/APPLE-PAYMENT-BYPASS/blob/main/exploit.py</a></p><p>POC : <a href="https://youtu.be/3WJ8F5GLzBc">https://youtu.be/3WJ8F5GLzBc</a></p><p><strong>The response</strong> from apple is that they investigated this for six months , and told me that they fixed the issue, and i also verified the issue as well, But when it came to bounty they told me that this report is not eligible for bounty, they only awards bounty for the bugs present in the list which is on their website ! <strong>Their response : “This is because the reported issue and your proof-of-concept do not demonstrate the categories listed on </strong><a href="https://security.apple.com/bounty/categories"><strong>https://security.apple.com/bounty/categories</strong></a><strong>,” </strong>they denied and refused to award a bounty !</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BarOUMwZRGuM7iMO5vg3qQ.png" /></figure><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FOPU6wzx8JrHna%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FOPU6wzx8JrHna%2Fgiphy.gif&amp;image=https%3A%2F%2Fmedia0.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExNG9oMnRwZ2Mwc2tqbW12YzZ3ZDRnYmlyYmNuZTZsdXV6czg5ZTQ4bSZlcD12MV9naWZzX2dpZklkJmN0PWc%2FOPU6wzx8JrHna%2Fgiphy.gif&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="361" frameborder="0" scrolling="no"><a href="https://medium.com/media/b082d1bdb562ff748eb60ccb46e42631/href">https://medium.com/media/b082d1bdb562ff748eb60ccb46e42631/href</a></iframe><p><strong>I even investigated it further, even after no bounty and maybe i think i found a bypass as well, but not gonna report it to apple anytime !</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FdtGIRL0FDp6nnOPGb5%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FdtGIRL0FDp6nnOPGb5%2Fgiphy.gif&amp;image=https%3A%2F%2Fmedia1.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExMWtoNTBlM3VlZnV2dnQ3aDRtOXZya3hkOW9xMzVla2o4NWJyZWsxeiZlcD12MV9naWZzX2dpZklkJmN0PWc%2FdtGIRL0FDp6nnOPGb5%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="326" frameborder="0" scrolling="no"><a href="https://medium.com/media/0d443c8fbd9878e2947f98e7093bf046/href">https://medium.com/media/0d443c8fbd9878e2947f98e7093bf046/href</a></iframe><p>This issue also allowed us to create bulk account without adding phone number to an apple id which is mandatory for creating an apple id if you are not adding your credit cards, and also allowed to bypass credit card verification by adding dummy cards, and random but logical shipping addresses with it, And create free trails and accounts for unlimited time, so when trail expires we can get new account in few seconds,In some countries Apple also offers 6 months trails too, But its only useful for android and web users, to use apple services for free for the rest of the life, For apple users they can use family sharing option to get trails without removing their own apple account from their device, Users should not pay for the thing which can be available for free !😏</p><p><strong>Time-line :</strong></p><p>9 oct 2022 — Reported the bug</p><p>15 Mar 2023 — Fixed the bug</p><p>24 Mar 2023 — Denied for any bounty !</p><p>9 Jan 2024 — Disclosure</p><p>Follow me here for more write ups and any questions ! :)</p><p><a href="https://twitter.com/__Sam0_0">https://twitter.com/__Sam0_0</a></p><p>Thanks.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8e3019dfe57b" width="1" height="1" alt=""><hr><p><a href="https://infosecwriteups.com/bypassing-payments-in-apple-for-free-trails-for-lifetime-8e3019dfe57b">BYPASSING PAYMENTS IN APPLE FOR FREE TRAILS FOR LIFETIME</a> was originally published in <a href="https://infosecwriteups.com/">InfoSec Write-ups</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HUNTING BUGS ON OTT OR MEDIA STREAMING PLATFORMS CHECK THIS OUT? [HACKING HLS STREAMS]]]></title>
            <link>https://infosecwriteups.com/hunting-bugs-on-ott-or-media-streaming-platforms-check-this-out-hacking-hls-streams-cd183d5892b6?source=rss-db693b12095a------2</link>
            <guid isPermaLink="false">https://medium.com/p/cd183d5892b6</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[apple]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[hlsstreamingserver]]></category>
            <dc:creator><![CDATA[Sam]]></dc:creator>
            <pubDate>Tue, 03 Oct 2023 19:16:31 GMT</pubDate>
            <atom:updated>2023-10-23T15:14:09.885Z</atom:updated>
            <content:encoded><![CDATA[<h3>HUNTING BUGS ON OTT OR STREAMING PLATFORMS CHECK THIS OUT? [HACKING HLS STREAMS FOR FUN &amp; PROFIT]</h3><p>Hey folks 🤠,<br> This blog is on hacking/testing the hls streams for some bounty and fun. If you ever notice an .M3U8 extension in your network traffic and if the content is not public then this is the blog for you ! give it a try.<br> <br><strong>What are hls streams ?</strong><br> HLS streams are designed to break down a large video or other file into small chunks and transfer it to users as they need them to view it as a movie or video, I mean it’s better to fetch a few small video chunks instead of fetching the whole single file to watch some parts of that video, it saves time and it’s fast too, it’s my understanding of hls streams.<br> <br><strong>Working of hls streams :</strong><br>Now it’s complex to get all small chunks one by one in proper order , so the hls streams uses files named M3U8, this file contains URLs of this small chunks, so a user can fetch the .m3u8 file and the player will fetch the small chunks from the URLs which are derived from the .m3u8 file</p><p><strong>What’s wrong ?</strong><br> Now think there’s a paid platform which uses this hls streams , now what If you just got their m3u8 files , won’t it let you download all the chunks and let you pirate it and see the movie/video without a subscription at anytime? We can literally share it to anyone 😉</p><p><strong>The current defence = Encryption :</strong><br> Now it’s really basic that it will need some kind of security, for that a secret key is embedded into the m3u8 file which is used to encrypt this small chunks so no one can use it, but it’s obvious that anyone who can access the . m3u8 file can extract that secret key from that file and decrypt the chunks to pirate those paid video files.</p><p>Still there are ways that we can make hls streams secure, by adding session while fetching small chunks ,so no other user can fetch it, , Authorization of index or m3u8 file, Storing the key in encrypted format like apple is doing on their platforms😉</p><p>Now for testing this kind of hls streams all, we have to do is fetch .m3u8 file, and for that we can use tools and extension like m3u8 finder , m3u8 downloader etc. once we have that file we can , put it in downloader and it will download all the chunks and merge it for us.</p><p><strong>Testing Encrypted Hls Streams</strong></p><p>Now what if the stream is encrypted, then we can check the m3u8 file, it will contain a line with <strong>hls.keys</strong>, just check it , there’s so high chances that we can get the decryption key for it, Its really very high.</p><p>We can also use <strong>ffmpeg </strong>to directly fetch the video from a index file or .m3u8 file</p><p><strong>A Failed attempt of testing hls streams on a huge organization :</strong></p><p>As I started to test a OTT platform from [redacted domain] named [redacted TV], i found that there are m3u8 files which contains links for small chunks of videos , now there is no Authorization to download those small video chunks so it’s a clean security concern, but the things which is stopping attackers from pirating the content is, that the sample aes encryption, we will need a key to decrypt this hls streams, but as I can see in the index file, it says AAA://123.AA [Changed due to security concerns] like this, so I cannot get the description key, so even if i have the whole video file I cannot open it without the key, so it’s totally safe.</p><p>Then after I started to test the same app on different platforms and found that, hls stream is getting downloaded in .frag files in a xx.xxxx directory, and it’s playing offline via a inbuilt player, so there should be a key inside somewhere which is used to decrypt those downloaded chunk files, I tried my best and download a whole episode but was not able to make it play at the end.</p><p>If there’s anything which could be added or edited to this just ping me on my twitter :<strong> </strong><a href="https://twitter.com/__Sam0_0"><strong>__Sam0_0</strong></a></p><p>If you liked the blog you can follow me on twitter : <a href="https://twitter.com/__Sam0_0"><strong>__Sam0_0</strong></a></p><p>Thanks.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cd183d5892b6" width="1" height="1" alt=""><hr><p><a href="https://infosecwriteups.com/hunting-bugs-on-ott-or-media-streaming-platforms-check-this-out-hacking-hls-streams-cd183d5892b6">HUNTING BUGS ON OTT OR MEDIA STREAMING PLATFORMS CHECK THIS OUT? [HACKING HLS STREAMS]</a> was originally published in <a href="https://infosecwriteups.com/">InfoSec Write-ups</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A TALE OF 5250$ : HOW I ACCESSED MILLIONS OF USER’S DATA INCLUDING THEIR NATIONAL ID’S]]></title>
            <link>https://infosecwriteups.com/a-tale-of-5250-how-i-accessed-millions-of-users-data-including-their-national-id-s-fd48ca7ca0bf?source=rss-db693b12095a------2</link>
            <guid isPermaLink="false">https://medium.com/p/fd48ca7ca0bf</guid>
            <category><![CDATA[s3-bucket]]></category>
            <category><![CDATA[bugbounty-writeup]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <dc:creator><![CDATA[Sam]]></dc:creator>
            <pubDate>Fri, 07 Jan 2022 09:20:54 GMT</pubDate>
            <atom:updated>2022-01-10T19:32:29.573Z</atom:updated>
            <content:encoded><![CDATA[<h3>A TALE OF 5250$: HOW I ACCESSED MILLIONS OF USER’S DATA INCLUDING THEIR ADDRESS AND PERSONAL INFO</h3><p>Hi, Hope you guys are doing well, And a Happy New Year, YAY! ✨, Let’s start the blog without wasting more time.</p><p>As usual, I am hunting in Tecno src program for something in the source code of the application, As the scope is huge, So I collected all the applications and decompiled them all at once with apktool with this command: <strong>find . -iname “*.apk” -exec apktool d -o {}_out {} \;</strong></p><p>(Yah it will take a good amount of time to decompile 🥲)</p><h3><strong>FINDING THE BUCKET :</strong></h3><p>Now I started to look for something juicy in decompiled files, but as there are</p><p>about 50+ applications, I can’t look at each of them manually right? I just got an idea of nuclei, and boom I knew there are templates for android applications,</p><p>I just downloaded them and, started nuclei on the whole directory😅</p><p>Command for that : <strong>nuclei -target /path-to-output-folder/”android testing”/allapks/ -t /path-to-tamplates/mobile-nuclei-templates/</strong></p><p>After 18–19 mins of a run, Nuclei gave an output saying <strong>S3 Bucket Found, </strong>I tried to access it via AWS CLI, and it&#39;s like: <strong>Acess denied </strong>😔, No luck there.</p><p>Then after a few mins of running, I&#39;ve got one more output for s3 bucket, I casually tried to access it without any hope, and damn! the s3 bucket is full of juice, And I was just like :</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F14qb1Uhf40ndw4%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F14qb1Uhf40ndw4%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2F14qb1Uhf40ndw4%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="245" frameborder="0" scrolling="no"><a href="https://medium.com/media/50f0243ee8b61d24eb8490987331ac2e/href">https://medium.com/media/50f0243ee8b61d24eb8490987331ac2e/href</a></iframe><p>I just simply got access to tecno&#39;s data of internal files, Users, and everything they have, I can download everything, Even the whole bucket 😂.</p><p>Here is just a glimpse of the data: Now I am damn sure that the bucket is full of juice. Ahh, I wanted to look at more files but as we have to follow bug bounty rules I stopped doing more and directly reported to the team.</p><p>Now, After reporting it, I&#39;ve got one more s3 bucket with nuclei, And it also contained about 4–5 gigs of data 😳</p><p>I&#39;ve reported it too, But don&#39;t know why the team said “ <strong>both s3 buckets are managed by the same team” </strong>so they merged my report to the previous one 😔, I did not expect something like this😔, I tried to convince them they cant merge it, But they just did it😔 But they gave me extra 25 reputations on the program and moved the report to critical, which is still very less for what I just found! Guys, can you say they are right or wrong here for merging different reports? Write down in comments so the team can see 🥲, I’ve rewarded 5250$ for only one report and 0$ for the second one, Even it contained so much sensitive data🥲, I want to say that, I haven&#39;t downloaded any file from the buckets, I only downloaded one file from tecno&#39;s server to send it with the vulnerability report, now they fixed the server and, no one have any access to the data, and all the data of people is safe.</p><p><strong>Links :</strong></p><p><strong>Nuclei</strong>: <a href="https://github.com/projectdiscovery/nuclei">https://github.com/projectdiscovery/nuclei</a> <strong>Thanks to </strong><a href="https://github.com/projectdiscovery/nuclei"><strong>projectdiscovery</strong></a></p><p><strong>Android templates for nuclei</strong>: <a href="https://github.com/optiv/mobile-nuclei-templates">https://github.com/optiv/mobile-nuclei-templates</a></p><p><strong>APKTOOL</strong>: <a href="https://github.com/iBotPeaches/Apktool">https://github.com/iBotPeaches/Apktool</a></p><p>Thanks, guys for reading, I hope you enjoyed it, and please ignore any mistakes and my grammar too😅, You guys can follow me on Twitter: <a href="https://twitter.com/__Sam0_0">@__sam0_0</a></p><p>I will publish more writeups soon stay tuned!!! YaY🔥</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fd48ca7ca0bf" width="1" height="1" alt=""><hr><p><a href="https://infosecwriteups.com/a-tale-of-5250-how-i-accessed-millions-of-users-data-including-their-national-id-s-fd48ca7ca0bf">A TALE OF 5250$ : HOW I ACCESSED MILLIONS OF USER’S DATA INCLUDING THEIR NATIONAL ID’S</a> was originally published in <a href="https://infosecwriteups.com/">InfoSec Write-ups</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HOW I AM ABLE TO CRASH ANYONE’S MOZILLA FIREFOX BROWSER BY SENDING AN EMAIL]]></title>
            <link>https://infosecwriteups.com/how-i-am-able-to-crash-anyones-mozilla-firefox-browser-by-sending-an-email-a12563cc8d79?source=rss-db693b12095a------2</link>
            <guid isPermaLink="false">https://medium.com/p/a12563cc8d79</guid>
            <category><![CDATA[bugs]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <dc:creator><![CDATA[Sam]]></dc:creator>
            <pubDate>Wed, 29 Dec 2021 19:08:13 GMT</pubDate>
            <atom:updated>2022-01-10T04:36:04.690Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi, Hope you guys are doing well, Here is the story of how I am able to crash anyone’s Mozilla firefox by just sending a single email.. let’s start.</p><p>I am hunting on google’s Gmail, And after 3 days of trying I am not able to find anything, then I just randomly thought to put a lot of emojis in a single email and send it to someone to see what happens. I just used a very large number of emojis and special characters like this :</p><p>You can download the payload file here: <a href="https://github.com/SAM0-0/payloads"><em>https://github.com/SAM0-0/payloads</em></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*atBFuFhdnAn4HJL56-U6ow.png" /></figure><p>At first thought google can handle anything like this, Still, I tried to do it,</p><p>I added a lot of emojis to the title of the email and body of the email.</p><p>And sent it to my second account, I always use firefox So I opened the second email in hope that it will crash and boom💥. My firefox just crashed by just clicking on the received email. So I tested the same thing on chrome and what? It’s not working on chrome, Everything is just working smoothly, Then I tried on <strong>duckduckgo </strong>and boom 💥 , Crashed it, Then tried on people’s favorite browsers <strong>windows explorer,</strong> and <strong>EDGE </strong>both are crashing too, danggg.</p><p>And I was like :</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FqngUbAbaWRuFy%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FqngUbAbaWRuFy%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2FqngUbAbaWRuFy%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="340" frameborder="0" scrolling="no"><a href="https://medium.com/media/a8ca9a754fdacc75f15f9e9c4b0a2823/href">https://medium.com/media/a8ca9a754fdacc75f15f9e9c4b0a2823/href</a></iframe><p>I’ve reported this to firefox and they took it as a performance upgrade and not as a security issue😥, But they fixed it in firefox version 93 as a new upgrade, Yay!!!!!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C5025naYwIYLIBPtG9SrKg.png" /></figure><p>As they said firefox is loading every single emoji as an image, so it is the main cause of the crash, As I understood.</p><p>I hope you guys enjoyed the post! Stay tuned for more writeups. Will publish many soon.</p><p>Thanks for reading and please ignore any mistakes and my grammar too😅, You guyz can follow me on Twitter: <a href="https://twitter.com/__Sam0_0">@__sam0_0</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a12563cc8d79" width="1" height="1" alt=""><hr><p><a href="https://infosecwriteups.com/how-i-am-able-to-crash-anyones-mozilla-firefox-browser-by-sending-an-email-a12563cc8d79">HOW I AM ABLE TO CRASH ANYONE’S MOZILLA FIREFOX BROWSER BY SENDING AN EMAIL</a> was originally published in <a href="https://infosecwriteups.com/">InfoSec Write-ups</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HOW I GOT MY FIRST RCE WHILE LEARNING PYTHON]]></title>
            <link>https://infosecwriteups.com/how-i-got-my-first-rce-while-learning-python-75f51563309c?source=rss-db693b12095a------2</link>
            <guid isPermaLink="false">https://medium.com/p/75f51563309c</guid>
            <category><![CDATA[bugs]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[rce]]></category>
            <dc:creator><![CDATA[Sam]]></dc:creator>
            <pubDate>Wed, 29 Dec 2021 18:25:40 GMT</pubDate>
            <atom:updated>2022-01-10T04:38:22.424Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi,</p><p>I am just learning python in redacted.com and learning and learning…</p><p>Till I spotted a section that allows us to run python code on the web and allows us to modify the files, Then I tried to run pip and what everything is working properly, I just thought what if I try to run some commands? via OS module?</p><p>I tried following code :</p><p>import os<br>os.system(‘cd ~’)</p><p>a=open(“../../../../etc/passwd”,”rt”)</p><p>print(a.read())</p><p>And the output for that is just lit🔥:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/786/1*wss0WVcLhdDDUDmi1q9Rcg.png" /></figure><p>And I was like what the hack it is:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F8zYunr3Hg8XPq%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F8zYunr3Hg8XPq%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2F8zYunr3Hg8XPq%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="182" frameborder="0" scrolling="no"><a href="https://medium.com/media/d357287e6aabc63dc25e1480ea9bf374/href">https://medium.com/media/d357287e6aabc63dc25e1480ea9bf374/href</a></iframe><p>And what else ? i’ve reported it in a minute and the company also implemented the fix , And fix they banned some commands 😂, But i am still able to run some commands like :</p><p>print(os.system(‘ps’))</p><p>print(os.system(‘kill -h’))</p><p>os.system(‘cat /proc/version’)<br>os.system(‘cat /proc/partitions’)<br>os.system(‘cat /proc/scsi/scsi’)<br>os.system(‘cat /proc/meminfo’)</p><p>print(os.system(‘ifconfig -a’))<br>print(os.system(‘ip link show’))<br>print(os.system(‘netstat’))</p><p>I am also able to compile c and c++ file and run them too like this :</p><p>f = open(“anon.cpp”, “w”)<br>f.write(“#include&lt;iostream&gt; \n”)<br>f.write(“using namespace std; \n”)<br>f.write(“int main(){ \n”)<br>f.write(“ cout &lt;&lt; \”Hello World\”; \n”)<br>f.write(“return 0; \n}”)<br>f.close()<br>os.system(‘g++ anon.cpp -o a’)<br>os.system(‘./a’)</p><p>Possibly it can lead to RCE somehow, I am not sure about it, yet reported about it and they just fixed it in just 2 days .. Damn. And last site admin said: Thank you for the report, hhahahah🥲</p><p>Stay tuned for more writeups. Will publish many soon.</p><p>Thanks for reading and please ignore any mistakes and my grammar too😅, You guyz can follow me on twitter : <a href="https://twitter.com/__Sam0_0">@__sam0_0</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=75f51563309c" width="1" height="1" alt=""><hr><p><a href="https://infosecwriteups.com/how-i-got-my-first-rce-while-learning-python-75f51563309c">HOW I GOT MY FIRST RCE WHILE LEARNING PYTHON</a> was originally published in <a href="https://infosecwriteups.com/">InfoSec Write-ups</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>