<?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 Nirmal Thapa on Medium]]></title>
        <description><![CDATA[Stories by Nirmal Thapa on Medium]]></description>
        <link>https://medium.com/@tnirmalz?source=rss-55b87a3feae7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*USIGuC6BeZ8DzhHDfSZlKg.jpeg</url>
            <title>Stories by Nirmal Thapa on Medium</title>
            <link>https://medium.com/@tnirmalz?source=rss-55b87a3feae7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 16 Nov 2026 22:01:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tnirmalz/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[Facebook BugBounty — Disclosing page members]]></title>
            <link>https://medium.com/@tnirmalz/facebook-bugbounty-disclosing-page-members-1178595cc520?source=rss-55b87a3feae7------2</link>
            <guid isPermaLink="false">https://medium.com/p/1178595cc520</guid>
            <category><![CDATA[bug-bounty]]></category>
            <dc:creator><![CDATA[Nirmal Thapa]]></dc:creator>
            <pubDate>Thu, 20 Dec 2018 16:20:06 GMT</pubDate>
            <atom:updated>2019-10-06T13:49:07.787Z</atom:updated>
            <content:encoded><![CDATA[<h3>Facebook BugBounty — Disclosing page members</h3><p>Because of some privacy reasons, identity of page members (admins/mods/analysts) is kept secret by facebook and normal page visitors cannot find the details about these members. But.. back in July 2018, when I was hunting for bugs in Facebook, I found multiple ways to disclose members of a facebook page.</p><h3>Disclosing post creators with &#39;Get messages&#39; feature</h3><p>This feature named “Get Messages” is available in Facebook pages when uploading posts and stuffs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/633/1*FgypJmkJ5OjqCmBkiZ5jWw.png" /><figcaption>Get Messages feature</figcaption></figure><p>Mainly e-commerce and online shopping websites use this feature with one of their product so whenever a visitor wants to know more about that particular product, they can simply click on “Send message” button. A post with this feature enabled looks something like below screenshot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/625/1*dVW-6FzCY1RlpZc_d_qobA.png" /><figcaption>A post with “Get messages” feature enabled</figcaption></figure><p>The bug here is, if we click on this “Send message button”, profile ID of the creator is leaked in one of the responses coming from host <a href="https://x-edge-chat.facebook.com/">https://x-edge-chat.facebook.com</a> which is not visible in general..</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/958/1*uwMDkao18qq3luA2FGb6fw.png" /><figcaption>Inbox demo</figcaption></figure><p>.. but if we check burp suite logs, we can see that the ID of creator is leaked.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g4livVEaktCCIE6Ihzp9Ew.png" /><figcaption>Creator’s profile leaked</figcaption></figure><p>In the above screenshot, 100027117349417 is the ID of my test account.</p><p><strong>Impact?</strong></p><p>This particular bug is really easy to exploit and if an attacker needs to find the creator of a Facebook page, s/he can just go to the page, find posts with this feature enabled, click on send message button, check the logs and BOOM profile ID of the creator is disclosed.</p><p><strong>Timeline</strong></p><p>6th July 2018: Issue found and reported.</p><p>10th July 2018: First Reply by Facebook Security</p><p>11th July 2018: Issue triaged</p><p>27th July 2018: Issue fixed</p><p>4th Sep 2018: Bounty awarded *Nice bounty :P*</p><h3>Disclosing the identity of people sending message on the behalf of page</h3><p>When I was going through Burp Suite logs to report the above issue, I noticed this weird response too.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YFgz3tyY4Ve30BhaHNDrUg.png" /><figcaption>Unknown_response.png</figcaption></figure><p>I was pretty sure this was something else and could lead to another leak so I just saved this screenshot and decided to look into this issue later.</p><p>*Fast forward to 1 week later*</p><p>I tried to reproduce this issue by simply sending a message to the page as a normal visitor..</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/363/1*sHMmFnAPZ8DGvmzOqo8b-Q.png" /><figcaption>Sending message to a page as normal visitor</figcaption></figure><p>.. and replied from the page</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1j-1qvf_SpHnh4B19Hh9XA.png" /><figcaption>Replying to the above visitor from page</figcaption></figure><p>As soon as I recieved this “Hello visitor” message, I checked Burp Suite logs and saw this exact same response like before.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OSoOVxw7cFDfUCEK4xUpJw.png" /><figcaption>Message senders’ profile leaked</figcaption></figure><p>Here, 100027405052940 is the profile ID of page member who replied “Hello visitor”. This means.. You send a message to a Facebook page, someone who has ability to read/reply messages replies to you and immediately his profile ID is leaked.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F6nWhy3ulBL7GSCvKw6%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fsurprised-pikachu-6nWhy3ulBL7GSCvKw6&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F6nWhy3ulBL7GSCvKw6%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="378" frameborder="0" scrolling="no"><a href="https://medium.com/media/17861f47c8d76ee7cd62e6af8431bce3/href">https://medium.com/media/17861f47c8d76ee7cd62e6af8431bce3/href</a></iframe><p>Impact?</p><p>Very very very easy to exploit. Anyone can just randomly send message to a facebook page, someone replies to that message and BOOM, their profile ID is leaked. ;)</p><p><strong>Timeline</strong></p><p>6th Jul 2018: Initial Discovery of bug</p><p>14th Jul 2018: Mystery behind the ‘leak’ found and reported</p><p>18th Jul 2018 3:37 AM: Issue triaged</p><p>18th Jul 2018 10:53 PM: Issue fixed</p><p>1st Aug 2018: Bounty awarded</p><p>T̶h̶a̶t̶’̶s̶ ̶a̶l̶l̶ ̶f̶o̶r̶ ̶2̶0̶1̶8̶.̶ ̶I̶ ̶h̶o̶p̶e̶ ̶t̶o̶ ̶d̶i̶v̶e̶ ̶m̶o̶r̶e̶ ̶i̶n̶t̶o̶ ̶F̶a̶c̶e̶b̶o̶o̶k̶ ̶B̶u̶g̶B̶o̶u̶n̶t̶y̶ ̶p̶r̶o̶g̶r̶a̶m̶ ̶i̶n̶ ̶2̶0̶1̶9̶ ̶❤</p><p>Thank you for reading this post. If you have any queries/suggestions, I’m available on <a href="https://twitter.com/tnirmalz">Twitter</a> :)</p><p>Happy Hacking!! .. until next time.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1178595cc520" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>