<?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 Shuva Saha on Medium]]></title>
        <description><![CDATA[Stories by Shuva Saha on Medium]]></description>
        <link>https://medium.com/@scriptshuva?source=rss-6cd95667dbcc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*JLUOVcPNW_8lQDwEZholoA.jpeg</url>
            <title>Stories by Shuva Saha on Medium</title>
            <link>https://medium.com/@scriptshuva?source=rss-6cd95667dbcc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 23:08:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@scriptshuva/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[Instagram and Meta 2FA Bypass by Unprotected Backup Code Retrieval in Accounts Center]]></title>
            <link>https://medium.com/@scriptshuva/instagram-and-meta-2fa-bypass-by-unprotected-backup-code-retrieval-in-accounts-center-c735ff650f10?source=rss-6cd95667dbcc------2</link>
            <guid isPermaLink="false">https://medium.com/p/c735ff650f10</guid>
            <category><![CDATA[bug-bounty-writeup]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[facebook-bug-bounty]]></category>
            <category><![CDATA[2fa-bypass]]></category>
            <category><![CDATA[meta-bug-bounty]]></category>
            <dc:creator><![CDATA[Shuva Saha]]></dc:creator>
            <pubDate>Thu, 22 Aug 2024 10:28:39 GMT</pubDate>
            <atom:updated>2025-09-05T10:01:33.718Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello, I&#39;m Shuva Saha (scriptshuva). Today, I will be discussing a vulnerability I discovered: bypass of two-factor authentication (2FA) mechanisms in Meta and Instagram.</p><p><strong>Bounty</strong>: $10,000 Awarded for bypassing two-factor authentication (2FA) mechanisms in Meta and Instagram</p><h4>Meta 2FA Bypass</h4><p>A hacker who gains access to a victim Facebook or Instagram account can retrieve Meta 2FA backup codes from account center, bypassing Meta two-factor authentication (2FA) and gaining full access to victim Meta account.</p><h4>Step 1: Login Initiation</h4><ol><li>Go to <a href="https://auth.meta.com/">Meta Auth</a>.</li><li>Log in using compromised Facebook or Instagram accounts.</li></ol><h4>Step 2: 2FA Handling</h4><ol><li>If 2FA is enabled on Meta account, select recovery code option when prompted for 2FA.</li></ol><h4>Step 3: Exploitation Process</h4><ol><li>Open a new tab in the browser and go to<a href="https://accountscenter.facebook.com/password_and_security/two_factor"> Facebook Accounts Center Two-factor authentication Settings</a>.</li></ol><p>2. Click Additional methods and then Click Recovery codes</p><p>3. Use a proxy tool, such as Burp Suite, to intercept <strong>FXAccountsCenterTwoFactorRecoveryCodesDialogQuery</strong> graphql request.</p><h4>Step 4: Request Modification</h4><ol><li>Modify the intercepted request by changing the variables and doc_id as shown below:</li></ol><pre>variables={&quot;account_id&quot;:&quot;victim_meta_account_id&quot;,&quot;account_type&quot;:&quot;FRL&quot;,&quot;interface&quot;:&quot;FB_WEB&quot;}&amp;doc_id=6358505927544740</pre><p><strong>Note</strong>: Flaw here is missing meta account password protection.</p><h4>Step 5: Recovery Code Retrieval</h4><ol><li>Send modified request.</li><li>Extract recovery code from response.</li></ol><h4>Step 6: Account Takeover</h4><ol><li>Use retrieved 2FA backup code to log in to the victim meta account, effectively bypassing 2FA.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/642/1*nqZF78OJ1C54LWFgS2Nvxg@2x.jpeg" /></figure><h4>Instagram 2FA Protection Bypass</h4><p>A hacker who gains access to a victim Facebook account can retrieve Instagram 2FA backup codes from account center, bypassing Instagram two-factor authentication (2FA) and gaining full access to victim Instagram account.</p><h4>Step 1: Login Initiation</h4><ol><li>Go to <a href="https://instagram.com/">Instagram</a>.</li><li>Log in using compromised Facebook account.</li></ol><h4>Step 2: 2FA Handling</h4><ol><li>If 2FA is enabled on Instagram account, select recovery code option when prompted for 2FA.</li></ol><h4>Step 3: Exploitation Process</h4><ol><li>Open a new tab in the browser and go to<a href="https://accountscenter.facebook.com/password_and_security/two_factor"> Facebook Accounts Center Two-factor authentication Settings</a>.</li></ol><p>2. Click Additional methods and then Click Recovery codes</p><p>3. Use a proxy tool, such as Burp Suite, to intercept <strong>FXAccountsCenterTwoFactorRecoveryCodesDialogQuery</strong> graphql request.</p><h4>Step 4: Request Modification</h4><ol><li>Modify intercepted request by changing variables and doc_id as shown below:</li></ol><pre>variables={&quot;account_id&quot;:&quot;victim_instagram_account_id&quot;,&quot;account_type&quot;:&quot;INSTAGRAM&quot;,&quot;interface&quot;:&quot;FB_WEB&quot;}&amp;doc_id=6358505927544740</pre><p><strong>Note</strong>: Flaw here is missing Instagram account password protection.</p><h4>Step 5: Recovery Code Retrieval</h4><ol><li>Send modified request.</li><li>Extract recovery code from response.</li></ol><h4>Step 6: Account Takeover</h4><ol><li>Use retrieved 2FA backup code to log in to victim Instagram account, effectively bypassing 2FA.</li></ol><h4>Outcome</h4><p>By following these steps, attacker successfully logs into victim Instagram and Meta accounts by bypassing the two-factor authentication, exploiting missing password protection for accessing backup codes.</p><h4>Technical Details</h4><p>The vulnerability exists because Instagram and Meta backup code retrieval process in Facebook Accounts Center does not require the Instagram and Meta account password. This lack of password protection allows hacker with access to the victim Facebook account to obtain Instagram and Meta backup codes and bypass 2FA.</p><h4>Remediation</h4><p>Now, accessing Instagram and meta backup codes for requires verifying login to Instagram and meta accounts, ensuring that backup codes are protected by an additional layer of security.</p><p><strong>Timeline:</strong></p><p>Report Created : Monday, June 26, 2023</p><p>Bounty Awarded : July 8, 2023 ( $5000 for Meta 2FA bypass )</p><p>Bounty Awarded : July 27, 2023 ( $5000 for Instagram 2FA bypass )</p><p>Publicly Disclose Approved: August 21, 2024</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c735ff650f10" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>