<?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 Sudip Shah on Medium]]></title>
        <description><![CDATA[Stories by Sudip Shah on Medium]]></description>
        <link>https://medium.com/@sudipshah_66336?source=rss-3ce7ee610710------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*KYmafj_mlk69XK0J</url>
            <title>Stories by Sudip Shah on Medium</title>
            <link>https://medium.com/@sudipshah_66336?source=rss-3ce7ee610710------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 07:44:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sudipshah_66336/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[Disclosing Facebook page admins by playing a game]]></title>
            <link>https://medium.com/@sudipshah_66336/disclosing-facebook-page-admins-by-playing-a-game-2b0f4ed082e4?source=rss-3ce7ee610710------2</link>
            <guid isPermaLink="false">https://medium.com/p/2b0f4ed082e4</guid>
            <category><![CDATA[facebook]]></category>
            <category><![CDATA[facebook-bug-bounty]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[infosec]]></category>
            <dc:creator><![CDATA[Sudip Shah]]></dc:creator>
            <pubDate>Sat, 28 Jan 2023 13:51:18 GMT</pubDate>
            <atom:updated>2023-01-28T14:16:51.190Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Hello there, It’s been a long time since I wrote any article on my resolved reports due to some internal problems so today I’m going to write about a bug in Facebook(now Meta) which I had found nearly </em><strong><em>2–3 years ago</em></strong><em> . The vulnerability got resolved and fixed few months ago and I was seeking for some ways to bypass it so it took some time for the publish.</em></p><p><em>I found a medium impact privacy bug on Facebook where I was able to leak page admin’s personal account id </em><strong><em>by playing a game with them(Instant Games).</em></strong></p><p><strong>The Bug :<br></strong>There was a feature in Facebook messenger associated with <strong>Facebook Instant games</strong> which allowed users to play games with their friends through the Messenger app . I was able to use this ability to create a game play between page and attacker which is an unintended thing to be and it resulted in disclosure of the page admin. <br>Though it requires some user interaction from the page like clicking the game and playing it , It is however a unique way of approach by an attacker to disclose the admin .</p><p><strong>Impact:</strong><br>It leads to page admin disclosure which is a privacy issue to the page. The impact is high because the page’s admin information is meant to be kept private and not shown to the public.</p><p><strong>Affected app</strong>: <strong><em>CreatorStudio app version — 25.0.0.42.106</em></strong></p><blockquote><strong>Setup:<br></strong>Users: UserA , UserB , UserC , PageX<br>Environment: UserA is the <strong>attacker</strong> , UserB is any friend of UserA , UserC is the Admin of PageX and UserC uses CreatorStudio App to check inbox of PageX</blockquote><p><strong>Repro Steps:</strong></p><blockquote><strong>1</strong>. UserA(attacker) sends a “Play a Game” message to UserB by going to www.messenger.com &gt; www.messenger.com/t/{userB_id} and clicking on “ Play a game “ option . <br><strong>2</strong>. UserA then intercepts the request and clicks on any game .<br><strong>3.</strong> Now a <strong>POST</strong> request is sent with doc_id=3037811092958141 where UserA replaces “<strong>contextSourceID </strong>“ , “<strong>context_source_id</strong>” and “<strong>thread_id</strong>” with page_id of PageX and forwards the edited request . <br><strong>4.</strong> Now UserC(PageX admin ) opens CreatorStudio app and Checks the Page inbox and clicks on the Game to play it . <br><strong>5.</strong> A game session between the attacker and Page is now created . <br><strong>6.</strong> The page plays one round . Then the score is sent to attacker(UserA) by UserC instead of PageX. Attacker(UserA) will receive one message and notification that <strong>{page_admins_personal_id}</strong> played the game . Thus it leads to page admin disclosure as the game is played by the <strong>admin_personal_id</strong> instead of <strong>Page_id</strong> .</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5L2z9F5vqRhDp8DCz4kDxg.png" /><figcaption>vulnerable parameters</figcaption></figure><p>Here is the poc : <a href="https://youtu.be/Yt6bc41dSec">https://youtu.be/Yt6bc41dSec</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FYt6bc41dSec%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DYt6bc41dSec&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FYt6bc41dSec%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/dcee59dc473dd994e7a8c208c99265fb/href">https://medium.com/media/dcee59dc473dd994e7a8c208c99265fb/href</a></iframe><p>After some time of the report the <strong>Instant Games </strong>feature in messenger was removed as they were switching to <strong>Facebook Gaming Tab</strong> .<br>You can check out this article by Leo to learn more about the migration here <strong><em>: </em></strong><a href="https://www.facebook.com/fbgaminghome/blog/instant-games-platform-updates"><strong><em>https://www.facebook.com/fbgaminghome/blog/instant-games-platform-update</em></strong><br></a><a href="https://www.engadget.com/2019-07-26-instant-games-facebook-gaming-tab.html?guccounter=1&amp;guce_referrer=aHR0cHM6Ly93d3cuZ29vZ2xlLmNvbS8&amp;guce_referrer_sig=AQAAAAGUIkslyyRsRgjOfp-enOsDw9lIdQsj9dpGZNbpsJMtHiw_MznBSKmAThqsE7FbR-U6Hu3wVTIZFMY2ajPDYc3jljWGrxJ5EGb5LE4F-51qJwFWhrbvnRIPshbu9291iw9_B80oXOisxVVTk99dFq-SRI5Idtx2M0us0S3xCWq7"><strong><em>Engadget </em></strong></a>and <a href="https://www.business-standard.com/article/news-ani/facebook-is-removing-instant-games-from-messenger-119072601675_1.html"><strong><em>Business-Standard</em></strong></a> has also covered this story .</p><p><strong><em>Timeline:</em></strong></p><p><strong><em>Initial report sent:</em></strong> August 23, 2020<br><strong><em>Fb asked for more info :</em></strong> August 29, 2020<br><strong><em>Additional info sent:</em></strong> August 29, 2020<br><strong><em>More info sent</em></strong>(<em>I found out that it was doing something with the timestamps which resulted in the bug reproducible only when the request is modified within 17–20 seconds</em>): September 11, 2020</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/730/1*wXExxIIzCHuchTF9WyIhxQ.png" /></figure><p><strong><em>Fb team asked for more info</em></strong>: September 15, 2020<br><strong><em>Sent more info with updated poc:</em></strong> September 15, 2020<br><strong><em>Pre-triaged:</em></strong> September 21, 2020<br><strong><em>Triaged:</em></strong> September 25, 2020</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/716/1*9OPmDv6fPioq0rfiNeeZHw.png" /></figure><p><strong><em>Bounty rewarded</em></strong>(without fix): <strong>500$</strong> on January 15, 2021</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/748/1*mXT3-47g0dB4hCY_nbDM7Q.png" /></figure><p><strong><em>Bounty dispute</em></strong> : January 15, 2021<br><strong><em>Bounty rewarded again</em></strong> : <strong>1500$</strong> on March 5, 2021</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/729/1*sPz5AqBT10losYibXOFyMw.png" /><figcaption>I was amazed by this message xD</figcaption></figure><p><strong><em>Fixed</em></strong>: March 6, 2021<br><strong><em>Asked for public disclosure</em></strong>: May 10, 2021<br><strong><em>Facebook working on a more holistic fix</em></strong>: September 2, 2021</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/724/1*lO0b5HZ0rp6DD5JQelKHBw.png" /></figure><p><strong><em>Fixed finally</em></strong>: November 29, 2022</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/721/1*ab5aOv4Y1KkriIH5VKxc5w.png" /></figure><p><strong><em>Resolved</em></strong>: December 7, 2022</p><p>So in total, I received a bounty of <strong>500$ + 1500$ + 75$ = 2075$</strong>. I was thrilled to receive the bounty notification at that time, as it allowed me to purchase a phone of my own choice which helped me testing further .I will try more and learn more to find good bugs in the upcoming days.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Ftenor.com%2Fembed%2F17132293&amp;display_name=Tenor&amp;url=https%3A%2F%2Ftenor.com%2Fview%2Fkillua-zoldyck-hunter-x-hunter-smile-anime-disappear-gif-17132293&amp;image=https%3A%2F%2Fmedia.tenor.com%2FAjqYC_YDvX4AAAAC%2Fkillua-zoldyck-hunter-x-hunter.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=tenor" width="600" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/553f63aa9c9a309d09a6b6aa2e541139/href">https://medium.com/media/553f63aa9c9a309d09a6b6aa2e541139/href</a></iframe><p><em>Thank you for taking the time to read my article. Have a great day! &lt; 3</em></p><p><strong>You can follow me on <br><em>Twitter </em></strong>: <a href="https://twitter.com/kn1ght_yagami">https://twitter.com/kn1ght_yagami</a> <br><strong><em>Facebook </em></strong>: <a href="https://www.facebook.com/sudipshah505/">https://www.facebook.com/sudipshah505/</a><br><strong><em>Instagram </em></strong>: <a href="https://www.instagram.com/sudip_shah_582/">https://www.instagram.com/sudip_shah_582/</a><br><strong><em>LinkedIn </em></strong>: <a href="https://www.linkedin.com/in/sudip-shah-714852211/">https://www.linkedin.com/in/sudip-shah-714852211/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b0f4ed082e4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BountyCon 2022 CTF : Rotohash]]></title>
            <link>https://medium.com/@sudipshah_66336/bountycon-2022-ctf-rotohash-5a6bda2f8b6a?source=rss-3ce7ee610710------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a6bda2f8b6a</guid>
            <dc:creator><![CDATA[Sudip Shah]]></dc:creator>
            <pubDate>Thu, 07 Jul 2022 15:16:52 GMT</pubDate>
            <atom:updated>2022-07-07T15:20:20.834Z</atom:updated>
            <content:encoded><![CDATA[<h3>BountyCon 2022 CTF : Rotohash</h3><p><strong>Tribute to </strong><a href="https://publish.whoisbinit.me/"><strong>Binit Ghimire</strong></a></p><p>Binit Ghimire was an amazing ,talented,and very helpful security researcher with an amazing skillset and knowledge about different stuffs in Infosec field . Few days ago , when we first heard the news of his untimely demise , I was literally shocked as I knew him for more than 5 years and I always used to ask him on everything and it was a great loss for the entire Infosec community . May his soul rest in peace .</p><p>You can find his writeups here:</p><p><a href="https://publish.whoisbinit.me/">Read what Binit writes @ WHOISpublish! | Binit Ghimire</a></p><p>It’s been a long time since I assembled any write-up so today I’m going to write about my experience while solving the challenges from <strong>BountyCon 2022 CTF.</strong></p><p>As I am a novice in programming and I know only very few stuffs, when I tried to attempt any challenges , it took me a while(2–3 days) and the help of several people to solve the challenge . I will write <strong>manual approach</strong>(<em>difficult one</em>) at first and <strong>programming based approach</strong> at the end(<em>reliable one</em>).</p><h4>The Challenge:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/897/1*FEiE8K1wwJ0mMcLqG6wHQQ.png" /><figcaption>Challenge</figcaption></figure><blockquote>Lets see what the <strong>script.py</strong> contains :</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/1*o9fRpHC9nbbZHlJbAnRqfw.png" /><figcaption>script.py</figcaption></figure><p>As previously mentioned about programming, I didn’t properly understand the code but after multiple glances at the code, I came to know that the string is rotated and then hashed to md5 value. And yes, as you might have guessed, md5 hashes can’t be decrypted and can only be cracked. I saw the input rotation is an integer so yes the numbers, then I tried fuzzing the numbers from 1 to (length of the string ) and printing it inside the rotate function. Then I tried rotating the string through negative integers. The code snippet looked as,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bkFsuCuJfgdVJuOP6weLDw.png" /><figcaption>fuzzing and printing the rotatefunction without hashing to see what’s happening</figcaption></figure><p>Then I got some ideas from this source .</p><p>Now it’s time to hop into the server and try it . A netcat connection was sent and we were to input the integer and output would be the rotated then md5 hashed value .</p><p>So I assumed that the flag was 32 characters long . I tried entering -32.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/604/1*atOGdHrBKRB3lsOb6x16qw.png" /></figure><p>It gave the md5 value = <strong>18d86af9b3ff7d144983dc1bc13f5c7d</strong> . “<strong>18d86af9b3ff7d144983dc1bc13f5c7d</strong>” is the md5 value of “<strong>$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$</strong>” (32 dollar signs).</p><p>Now we need to fuzz the first character of the 32 dollar signs with some ASCII values then convert all of them to md5 hash and then compare it with the md5 hash given by the server when we enter -31. So I wrote this code to print the strings with 1st character modified to all printable ASCII characters .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PLa8adGejdgaqOMKQMi7IQ.png" /><figcaption>modifying 1st character with ASCII values</figcaption></figure><p>The output of the above function which looks like :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/423/1*nb1x685EXNXfGZY94A8vGg.png" /></figure><p>Lets generate md5 hashes of all of this now . I used<strong> </strong><a href="https://www.miraclesalad.com/webtools/md5.php"><strong>MiracleSalad’s</strong></a><strong> </strong>online md5 hash generator to generate hashes from all of this strings and treat them as multiple lines .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/847/1*yuc2ZI2WraBgv_4kPC3qbw.png" /><figcaption>md5 hashes of all the strings</figcaption></figure><p>I copied them to clipboard and pasted them in Notepad++ . Now we need to compare the md5 hashes with the md5 value which we get after entering -31.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/542/1*EVO8r7HtcLHuObqSkJEKSQ.png" /><figcaption>-31</figcaption></figure><p>The hash we got this time was “<strong>2b31692aa52066c0f4439a540229b39b</strong>” which is the md5 value of “<strong>}$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$</strong>” . We can find this by hitting Ctrl+F in Notepad++ then searching for the hash value and noting the line number and grepping the initial string which was on that line number .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QDTpfwt_3QZ6u4v_g4qGRQ.png" /><figcaption>Line 84 got a hit</figcaption></figure><p>Like this we can then do it all again with the updated string and compare each md5 values until we get a “{“ as the format of the flag is BountyCon{ } ,so we can write BountyCon at the front ourselves and then compare it again with the value got from the nc server.</p><p>So we could get the string like this each time then we compare their first characters with md5 value provided by the nc :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/433/1*PqcCX9ZHvAT5WCTs0rKXnA.png" /></figure><p><strong>We just need to compare the hashes which we obtained from the server with the hashes that we generated by fuzzing the first character of the dollar string each time.</strong></p><p>Finally we can get the flag which is BountyCon{why_4re_U_5o_neg471v3}</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FUFJDK7yQoa8UxnZN3T%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fxbox-xbox-series-x-halo-infinite-lone-wolves-UFJDK7yQoa8UxnZN3T&amp;image=https%3A%2F%2Fmedia0.giphy.com%2Fmedia%2FUFJDK7yQoa8UxnZN3T%2Fgiphy-downsized-large.gif%3Fcid%3D790b76111e1e26f1cce7753533f43a008ac484d78b424c90%26rid%3Dgiphy-downsized-large.gif%26ct%3Dg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="244" frameborder="0" scrolling="no"><a href="https://medium.com/media/2a083c2f8e9c2825999958a209dc6db2/href">https://medium.com/media/2a083c2f8e9c2825999958a209dc6db2/href</a></iframe><p>Yes , we could do it very easily by writing a program to fuzz and generate and compare the md5 hashes but I am weak in programming and I am currently learning it with my best motive as by doing this ctf , I now more realize how important programming is day by day . So if you don&#39;t want to run a process manually multiple times and not waste probably 1 hour to find a 32 character long flag , then learn programming :D . It is never a bad idea to learn programming .</p><h3>Solution.py (the easy and more reliable approach)</h3><p>If you know programming then you can easily solve this problem by exporting the hashes from the server from -31 to 0 in results.csv file using the following python code :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RV7WjD6k7yiJlvSluwVvow.png" /><figcaption>solution.py</figcaption></figure><p>Programming approach is wayy comfortable and reliable than manual approach . It is difficult to do each step one by one manually . If the length of the flag was more , it would be a lot more difficult to find the flag manually .</p><p><strong>Results.csv</strong> contains the hashes as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/440/1*yIKHFaDeHSemVtMop1bg8A.png" /><figcaption>results.csv</figcaption></figure><p>The output of the <strong>solution.py </strong>is as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jhqCGpA5q0pxjJQPPyu-fw.png" /><figcaption>output</figcaption></figure><p>We retrieved the flag : <strong>BountyCon{why_4re_U_50_neg471v3}</strong></p><p>Facebook CTF challenges are awesome . I will try to learn more till the next time and try to find more flags next time . This time I managed to find just 2 flags (Rotohash and so-close) . I guess I was close to Steal No Data and Nonogram but couldn’t manage to solve those :( .</p><p><strong>You can follow me on <br>Twitter : </strong><a href="https://twitter.com/kn1ght_yagami">https://twitter.com/kn1ght_yagami</a><br><strong>Facebook</strong> : <a href="https://www.facebook.com/sudipshah505/">https://www.facebook.com/sudipshah505/</a><br><strong>Instagram : </strong><a href="https://www.instagram.com/sudip_shah_582/">https://www.instagram.com/sudip_shah_582/</a></p><p><em>Thank you for taking the time to read my article. Have a great day! <br>Also Thanks to </em><a href="https://ashokcpg.medium.com/"><em>Ashok </em></a><em>dai for reviewing this writeup :D</em></p><p>#bountycon #bountycon2022 #facebookctf #fbctf #ctf</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a6bda2f8b6a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I was able to reveal page admin of almost any page on Facebook]]></title>
            <link>https://medium.com/pentesternepal/how-i-was-able-to-reveal-page-admin-of-almost-any-page-on-facebook-5a8d68253e0c?source=rss-3ce7ee610710------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a8d68253e0c</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[facebook-bug-bounty]]></category>
            <dc:creator><![CDATA[Sudip Shah]]></dc:creator>
            <pubDate>Mon, 20 Dec 2021 12:01:33 GMT</pubDate>
            <atom:updated>2021-12-21T04:04:10.977Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello there , I am Sudip Shah from Pokhara, Nepal(a 19 yo independent security researcher). I found a bug on Facebook for Android where I was able to leak any page admin’s personal account id through <strong>IDOR</strong>.</p><p>It’s been a long time since I wrote an article about my resolved reports due to some internal problems. Today, I am going to write about a high impact vulnerability on Facebook which I found after lots of tries.</p><p><strong><em>Background:</em></strong><em> I was very devastated and frustrated by the thought that I tried but was not able to find some cool bugs like you see on Twitter or anywhere. Seeing them made me realize that I should learn more about stuff. The logical bugs of Facebook which most people always try at their first attempts were never my first attempts. From the beginning, I always tried to find some high impact bugs on a technical basis but I always ended up finding logical bugs more. Logical and technical both bugs are nice actually, no arguments on that. It was fine actually as I was able to pay my bills due to them. But I wanted more, I wanted to get myself involved on the technical side more. So after 2 years of trying to find on the technical side of Facebook and after lots of duplicates and informative, I finally managed to find an IDOR vulnerability on Facebook’s Android app .</em></p><p><strong><em>Why did I choose Facebook android?</em></strong><em> I was frustrated with trying on the Facebook web, checking all those responses and requests, trying to find something hidden. So I tried </em><a href="https://www.facebook.com/whitehat/education/testing-guides"><em>intercepting on the Facebook Android app</em></a><em>. <br>I managed to find a strange behaviour while checking the request and responses of my HTTP history were while viewing the live video of any page, I was getting the admin’s real id in the response stated in the “broadcaster_id” parameter.</em></p><h4><strong>The Bug:</strong></h4><p>While intercepting and navigating to the other <strong>page’s live video section</strong> in FB android, I found a vulnerable endpoint in the doc_id=4449530781773796 , where <strong>when the page_id in the request is changed to any page then the page admin is disclosed in the response in the broadcaster_id parameter</strong>.</p><p><strong>Impact:</strong><br>It leads to page admin disclosure which is a privacy issue to the page. The impact is high because the page’s admin information is meant to be kept private and not shown to the public.</p><h4>Repro Steps:</h4><blockquote>1. Send a Post request to graph.facebook.com/graphql with doc_id=4449530781773796<br>2. Edit the page_id in the request to any page. <br>3.In the response, we can disclose the admin easily by seeing the broadcaster_id=</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8IT3-qlKzGj4cZuZyMFKmQ.png" /></figure><p>Here is the poc : <a href="https://youtu.be/bskV-Nr64rE">https://youtu.be/bskV-Nr64rE</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FbskV-Nr64rE%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DbskV-Nr64rE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FbskV-Nr64rE%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/5e4274ea9ca5a27b770ea2aed48d3edb/href">https://medium.com/media/5e4274ea9ca5a27b770ea2aed48d3edb/href</a></iframe><p>This bug could’ve affected most of the pages on Facebook because most of the pages have live video features nowadays.To perform the exploit on a mass scale ,a script would be created to automate and change the value of the page_id in the request and capture the broadcaster_id from the response and save it in a file . <br>Or , <br>We can use the <a href="https://portswigger.net/burp/documentation/desktop/tools/intruder/using">Intruder option of Burpsuite</a> and select the page_id and insert the list of page_id’s in the payloads and run it . Then we could get the admin info in the response and save it in a text file for targeting .</p><h4>2nd Scenario:</h4><p>I found one more scenario of the issue where the exact live_video_id can be provided in the request and then the admin will be disclosed in the response through IDOR vulnerability .<br>The Upper case used directly any page_id but this case uses the exact live_video_id . In this case, the vulnerable doc_id is doc_id=5048752835141848 where the video_id can be changed to any live video’s id then the admin of the page will be disclosed in the response in the broadcaster_id parameter.</p><blockquote><strong>Here are the steps</strong> <em>:<br></em>1. Page conducts a live video<br>2. Attacker intercepts FB4A and then searches for doc_id=5048752835141848<br>3. Change the video id to the required page’s live video id<br>4. We can see the admin of the page being disclosed in the broadcaster_id= parameter in the response.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n3ahhyPG-gnlm5VzVRRBFA.png" /><figcaption>idor2</figcaption></figure><p>The second case got duplicated of the first issue because they both had the same root cause.</p><p><strong><em>Timeline:</em></strong></p><p><strong><em>Initial report sent</em></strong>: October 5, 2021<br><strong><em>The second scenario sent</em></strong>: October 6, 2021<br><strong><em>Triaged</em></strong>: October 7, 2021</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/730/1*SikBSRbPXdIRRDf1GdGrBQ.png" /></figure><p><strong><em>Fixed</em></strong>: October 21, 2021</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/731/1*qMdF5tSYVqQ_D2MmPgjZwA.png" /></figure><p><strong><em>Rewarded</em></strong>: <strong>4500$</strong> Bounty rewarded on November 5, 2021</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/737/1*XzFHFDX7JRuHM5z9-7YzuQ.png" /><figcaption>my highest on a single report till now (4500$) xD</figcaption></figure><p>I was so happy as I received the bounty notification because it was my highest of all time on a single report. I will try more and learn more to find more high impact bugs in the upcoming days.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FJ9O4Frj8gUYHiObBaw%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FJ9O4Frj8gUYHiObBaw%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2FJ9O4Frj8gUYHiObBaw%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="244" frameborder="0" scrolling="no"><a href="https://medium.com/media/4bfa0a0b3def43d9152d518450753775/href">https://medium.com/media/4bfa0a0b3def43d9152d518450753775/href</a></iframe><p>Thank you for taking the time to read my article. Have a great day!</p><p><strong>Coverage</strong>:</p><p><a href="https://portswigger.net/daily-swig/teen-hacker-scoops-4-500-bug-bounty-for-facebook-flaw-that-allowed-attackers-to-unmask-page-admins">Teen hacker scoops $4,500 bug bounty for Facebook flaw that allowed attackers to unmask page admins</a></p><p>You can follow me on <a href="https://www.facebook.com/sudipshah505"><strong>Facebook</strong></a> or <a href="https://twitter.com/kn1ght_yagami"><strong>Twitter</strong></a> if you like to get connected with me.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a8d68253e0c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/pentesternepal/how-i-was-able-to-reveal-page-admin-of-almost-any-page-on-facebook-5a8d68253e0c">How I was able to reveal page admin of almost any page on Facebook</a> was originally published in <a href="https://medium.com/pentesternepal">Pentester Nepal</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My 2nd 4digit Bug Bounty From Facebook]]></title>
            <link>https://medium.com/@sudipshah_66336/my-2nd-4digit-bug-bounty-from-facebook-99baa727ed02?source=rss-3ce7ee610710------2</link>
            <guid isPermaLink="false">https://medium.com/p/99baa727ed02</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[web-application-security]]></category>
            <category><![CDATA[pentesting]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[facebook-bug-bounty]]></category>
            <dc:creator><![CDATA[Sudip Shah]]></dc:creator>
            <pubDate>Mon, 10 Aug 2020 17:15:09 GMT</pubDate>
            <atom:updated>2020-08-12T15:19:51.018Z</atom:updated>
            <content:encoded><![CDATA[<p>I found an unintended behaviour in the FBLite app where the page admin could be easily exposed while adding a photo to his story . When the Page sends a photo message through FBLite then we can observe the Add to story options there . While clicking on it , the admin is getting disclosed . The usual behaviour should be that while clicking on the add to story options , the photo should be added to the page’s story but in this scenario the photo is being added to the page_admin’s personal id which leads to admin disclosure.</p><p>Impact<br><em>It leads to page admin disclosure which is a serious issue.<br>A page admin will post a story to their personal account instead of the Page when messaging from the Page inbox on FBLite and hitting “Add to Story”</em></p><blockquote>Steps<br>1.UserA sends a photo to UserB through the page.<br>2. UserA clicks on Add to story option<br>3. The photo is added to the UserA’s story instead of Page’s story which is leading to page admin disclosure.</blockquote><p>I don’t have a POC video available as I sent them the steps only and they were able to reproduce with that much of information only .</p><p>This writeup is a bit type of non technical but I hope you all are able to understand the bug and enjoy the writeup .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/870/1*G37lD5O50qXzZKro-47xgQ.png" /></figure><p>I can’t describe my happiness that I got after receiving this awesome notification . I was finally able to buy an awesome Laptop with the help of this bounty from Facebook . So I thank Facebook Security team for this wonderful experience . I was like this to myself.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F14cDsqOkks6O8U%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fcheers-congrats-14cDsqOkks6O8U&amp;image=https%3A%2F%2Fmedia2.giphy.com%2Fmedia%2F14cDsqOkks6O8U%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="435" frameborder="0" scrolling="no"><a href="https://medium.com/media/269fb505e6ff5e57571d3d1647ee9c1b/href">https://medium.com/media/269fb505e6ff5e57571d3d1647ee9c1b/href</a></iframe><p>Finally I got Listed in the Hall Of Fame of Facebook too due to the bug reports that I sent to Facebook .</p><p>I still have a lot to learn in this journey of bug hunting and this motivated me to keep continuing the journey . :)</p><p>Thanks a lot to everyone and very special thanks to beloved <a href="https://medium.com/@ashokcpg">Ashok</a> dai .</p><p>#Bugbounty</p><p>Follow <a href="https://medium.com/bugbountywriteup">Infosec Writeups</a> for more.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=99baa727ed02" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Story of My first 4 digit bounty from Facebook]]></title>
            <link>https://medium.com/@sudipshah_66336/the-story-of-my-first-4-digit-bounty-from-facebook-3a29830e03cd?source=rss-3ce7ee610710------2</link>
            <guid isPermaLink="false">https://medium.com/p/3a29830e03cd</guid>
            <category><![CDATA[facebook-bug-bounty]]></category>
            <category><![CDATA[pentesting]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[web-application-security]]></category>
            <dc:creator><![CDATA[Sudip Shah]]></dc:creator>
            <pubDate>Fri, 17 Jul 2020 13:56:05 GMT</pubDate>
            <atom:updated>2020-07-17T13:56:05.083Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Luckily , I managed somehow (After a lot of frustrations of not able to find any valid bugs after the 1st one ) to find a bug in Facebook Lite app which would easily Disclose the admin_id of any page .</blockquote><p>I was just trying to test each and every function that the FBLite app have and I found one suspicious behaviour which leads to <strong>Page Admin Disclosure</strong>. It is fixed currently so I’m disclosing it publicly .</p><blockquote>I will write the description and steps to reproduce that I sent to facebook now :</blockquote><p><strong>Description</strong> : When the page messages a fan/follower of the page then the messages are sent through page’s id which is the normal behaviour . Now I found a bug that when the page admin goes to his page inbox in fblite and then send a photo to any fans/follower of the page , then the photo is sent through <em>page’s admin’s personal profile id instead of page id</em> . This bug is leading to <strong>Page admin disclosure.</strong></p><blockquote><strong>Steps :</strong> <br>1. User A goes to his PageX’s inbox through fblite and sees UserB’s message thread<br> 2. UserA messages to User B <br> 3.User B receives the text message done by UserA through page’s id <br> 4. UserA now sends photo to UserB through the page inbox.<br> 5. UserB receives the photo message through UserA’s personal profile id instead of the page id which leads to page admin disclosure.</blockquote><p><em>POC is here </em>: https://drive.google.com/file/d/1F9tkf1AU33vTsrk_PE09lLmU13wB89uD/view?fbclid=IwAR2fuYeh80vFu9nfvPINdvyjh_ER9pjqO267nPW5OhgqB-KhCWhOz0H8fCQ</p><p>Timeline:</p><p>Report Submitted : <strong>June 25, 2020</strong></p><p>Pre-triage : <strong>June 29, 2020</strong></p><p>Triaged : <strong>June 29, 2020</strong></p><p>Confirmation of Fix : <strong>July 7, 2020</strong></p><p>Finally Reward awarded : <strong>July 16 , 2020</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/489/1*YmcEIe6_hDqhQ5dbfYiv0g.png" /></figure><p><strong>The flaw in the sending photo feature through FBLite made me find this bug without using any tools . I’m very grateful to facebook for rewarding me with a nice bounty amount for this logical bug .</strong></p><p>I don’t know how to express my happiness about my first 4 digit bounty in Facebook . I was really very happy when I received this bounty notification . I was like :</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2Fl3vR7aXoQX0OdHi48%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fifc-lol-meme-l3vR7aXoQX0OdHi48&amp;image=https%3A%2F%2Fmedia1.giphy.com%2Fmedia%2Fl3vR7aXoQX0OdHi48%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="244" frameborder="0" scrolling="no"><a href="https://medium.com/media/443c84ff9b09820833c36a783a664acc/href">https://medium.com/media/443c84ff9b09820833c36a783a664acc/href</a></iframe><p>I still have a lot to learn in this journey of bug hunting and this motivated me to keep continuing the journey . :)</p><p>Thanks a lot to everyone and very special thanks to our beloved <a href="https://medium.com/@ashokcpg"><strong>Ashok </strong></a><strong>dai </strong>.</p><p>#BugBounty</p><p>Follow <a href="https://medium.com/bugbountywriteup">Infosec Writeups</a> for more.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3a29830e03cd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The story of My First $xxx Bug Bounty From Facebook]]></title>
            <link>https://medium.com/@sudipshah_66336/the-story-of-my-first-xxx-bug-bounty-from-facebook-565a212c94ad?source=rss-3ce7ee610710------2</link>
            <guid isPermaLink="false">https://medium.com/p/565a212c94ad</guid>
            <dc:creator><![CDATA[Sudip Shah]]></dc:creator>
            <pubDate>Sun, 31 May 2020 04:54:00 GMT</pubDate>
            <atom:updated>2020-06-01T02:27:33.045Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><em>I am a complete beginner &amp; learner seeking for a way to get into bug bounties. I’ve been familiar with bug bounties for over 1 year but I couldn’t get any bounties from my reports. Most of my reports becomes closed as informative and duplicates only.</em></blockquote><p>So after a lot of time and effort , I thought my aim in this lockdown is only to find valid bugs in Facebook . I reported 15 bugs to facebook initially but 7 of them were informative and rest of them(u do the math) were dupes. Then I found this bug ; <strong>Page Admin Disclosure</strong>.</p><blockquote>How I was able to discover the flaw?</blockquote><p>I was literally very sad on getting all the reports closed so I thought I’ll try sth new. I thought I’ll check once in the <strong>mbasic</strong> domain of facebook(<strong>m.facebook.com</strong>) . First I created a page , tried to check every functions available there. Then I saw sth unusual happening. <br>In the post options of the page , I saw the more option . When I clicked on the …More option. Though I was acting as Testing(the page) the post was uploaded by the page admin.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*ZLzu6JWwaSXnLMtPBDn9KQ.png" /></figure><p>When the Page tries to post any other features like Photos&amp;videos,check in ,etc then the post won’t be posted by the page. It would be posted by the admin. This bug denoted the disclosure of the admin .</p><p>The steps I sent to facebook were like this:</p><ol><li>Suppose USerA is admin of a Page . Go to <a href="https://m.facebook.com/">m.facebook.com</a> and login with UserA’s account. <br> 2. Now , Go to your Page menu.Select Acting as [Page_name]<br> And post a text for example;”Hello World”<br> <br> 3. The text is posted by the page . <br> <br> 4 . Now Again Select Acting as [Page_name] option and try to post a photo or check in or <br> click on more options.<br> 5. Then upload a photo or do checkin or more and Click on post<br> 6. Then the post will be posted by UserA though we selected the option of <br> ‘Acting as [Page_name]’</li></ol><blockquote>And then I submitted the bug:</blockquote><p>I waited a lot for the response from the Team as I was panicked to know about the results of my bug.</p><blockquote><em>Timeline:</em></blockquote><p>Report Submission : <strong>April 5 , 2020</strong></p><p>Pre-triage : <strong>April 7 ,2020</strong></p><p>Triaged : <strong>April 8 ,2020</strong></p><p>Me panicking: <strong>April 16 , April 30 , 2020</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/755/1*-76ZRV5rCg4ba44N1nNIoQ.png" /></figure><p>Confirmation of Fix: <strong>May 4 , 2020</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*8G154hnRrwO7o9CjSkEgBA.png" /></figure><p>Panic attacks again: <strong>May22, May 28,2020</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*wsIdrxBCcEtqjZ7WtIO1pQ.png" /></figure><p>Finally the bounty awarded: <strong>May 30,2020</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/895/1*rX6xX6EWOtbYi9mhwVO4pg.png" /></figure><p>I don’t know how to explain my happiness about my first valid bug in my life to be in facebook . I was really very happy when I received the bounty notification. I was like</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FfA81FF4mdE6lgeoJwb%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2FFriends-season-1-friends-tv-the-one-with-evil-orthodontist-fA81FF4mdE6lgeoJwb&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FfA81FF4mdE6lgeoJwb%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="362" frameborder="0" scrolling="no"><a href="https://medium.com/media/2439914124ca123651a694088dbcdc54/href">https://medium.com/media/2439914124ca123651a694088dbcdc54/href</a></iframe><p>I still have a lot to learn and this motivated me to keep continuing the journey.</p><p>Thank you so much to everyone and special thanks to <a href="https://medium.com/@ashokcpg">Ashok </a>dai .</p><p>#facebookbugbounty</p><p>POC Link : <a href="https://drive.google.com/file/d/1QOUTXfBteinT9KIYaQ6zwEeNTMwa1v26/view?fbclid=IwAR13BaS45MmjvDRI48h6oDxEyyOXnuoi3iwfnzzXiSGtjGn06kQvpKf3CNg">https://drive.google.com/file/d/1QOUTXfBteinT9KIYaQ6zwEeNTMwa1v26/view?fbclid=IwAR13BaS45MmjvDRI48h6oDxEyyOXnuoi3iwfnzzXiSGtjGn06kQvpKf3CNg</a></p><ul><li><a href="https://medium.com/tag/bug-bounty">The most insightful stories about Bug Bounty - Medium</a></li><li><a href="https://medium.com/tag/facebook-bug-bounty">The most insightful stories about Facebook Bug Bounty - Medium</a></li><li><a href="https://medium.com/tag/web-application">The most insightful stories about Web Applications - Medium</a></li><li><a href="https://medium.com/tag/infosec">The most insightful stories about Infosec - Medium</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=565a212c94ad" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>