<?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 Nadeem Mansoori on Medium]]></title>
        <description><![CDATA[Stories by Nadeem Mansoori on Medium]]></description>
        <link>https://medium.com/@nadeemmansoori05?source=rss-64b5db253333------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*R-GVrTWnmgzOMSuj</url>
            <title>Stories by Nadeem Mansoori on Medium</title>
            <link>https://medium.com/@nadeemmansoori05?source=rss-64b5db253333------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 20:59:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nadeemmansoori05/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[How I Found an Account Takeover Vulnerability Using Verification Mail]]></title>
            <link>https://medium.com/@nadeemmansoori05/how-i-found-an-account-takeover-vulnerability-using-verification-mail-182f67beda5d?source=rss-64b5db253333------2</link>
            <guid isPermaLink="false">https://medium.com/p/182f67beda5d</guid>
            <dc:creator><![CDATA[Nadeem Mansoori]]></dc:creator>
            <pubDate>Fri, 06 Dec 2024 14:17:30 GMT</pubDate>
            <atom:updated>2024-12-06T14:59:11.378Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello hackers! I’m Nadeem Mansoori, a penetration tester and a security researcher. In this post, I’ll share how I discovered a vulnerability that could let someone take over accounts by exploiting the Verification mail process.</p><p>Don’t worry if you’re new to this topic — I’ll keep it simple and walk you through how I found the issue, why it’s dangerous, and how it can be fixed. Let’s get started!</p><h3>Account Takeover Using Verification Mail</h3><p>The issue was in the password change system of a website. When users clicked the link in their Verification email to reset their password, the system wasn’t properly checking if the request came from the right user.</p><p>This means that someone could change the password of another user’s account just by altering the email or Corporate ID in the request.</p><p>Why does this matter? Because it gives attackers full access to someone else’s account, exposing private information and causing major security risks for users and organizations.</p><p>Lets Dive In…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*BpT1NODdAD0CPCjQ.gif" /></figure><h3>How I Found It</h3><p><strong>Step 1: Observing the Process</strong><br>I started by registering on the website as a normal user. Then, I captured the activation mail request using Burp Suite to see what data was being sent.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kySULHF0emoHQn6su4AT2w.png" /><figcaption>Verification Page</figcaption></figure><p><strong>Step 2: Testing for Weaknesses</strong><br>I noticed that the request included a Corp parameter. The system didn’t check if this parameter matched the logged-in user.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U7RRymLtFvk-nQi4868AbQ.png" /><figcaption>Captured request of Verification Mail</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/220/0*0GhrAtgSWT8--b0Y.gif" /></figure><p><strong>Step 3: Exploiting the Vulnerability</strong><br>I replaced the Corp parameter with another user’s Corp &amp; Removed the cookies to bypass the Validations. When I sent the request, I was able to change their password and take over their account.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XGxoPVbm329t7UwvjEcz-w.png" /><figcaption>Captured request of Verification Mail</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*DuNkst_9nuIzH3Pm.gif" /></figure><h3>The Impact</h3><p>This vulnerability is dangerous because:</p><ul><li>Attackers could take over accounts and access sensitive user information.</li><li>It could lead to identity theft, financial loss, or reputational damage.</li></ul><p>To help the website fix this issue, I reported it responsibly. It’s important to always act ethically and help make systems safer.</p><h3>How to Fix It</h3><p>Here are some ways developers can prevent this:</p><ul><li><strong>Check User Sessions</strong>: Make sure the system verifies that the user making the request is the same as the one logged in.</li><li><strong>Validate Input</strong>: Double-check parameters like email or user ID on the server to ensure they haven’t been tampered with.</li><li><strong>Use Multi-Factor Authentication</strong>: Add an extra layer of security for password resets.</li><li><strong>Regular Security Checks</strong>: Conduct audits and penetration tests to find and fix issues early.</li></ul><h3>A Quick Reminder</h3><p>The information in this post is for learning purposes only. Don’t use it for unethical activities! Always get permission before testing or probing any system, and follow ethical guidelines.</p><h3>Conclusion</h3><p>Discovering this vulnerability taught me the importance of securing password reset systems. By fixing issues like these, we can protect users and create a safer digital world.</p><p>If you’ve found this post helpful or have any thoughts, feel free to share them in the comments. Let’s learn together!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=182f67beda5d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Discovered an Account Takeover Vulnerability via 2FA Bypass]]></title>
            <link>https://medium.com/@nadeemmansoori05/cracking-the-code-how-i-discovered-an-account-takeover-vulnerability-via-2fa-bypass-b95c3aae985e?source=rss-64b5db253333------2</link>
            <guid isPermaLink="false">https://medium.com/p/b95c3aae985e</guid>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[cyber-security-research]]></category>
            <category><![CDATA[web-vulnerabilities]]></category>
            <dc:creator><![CDATA[Nadeem Mansoori]]></dc:creator>
            <pubDate>Wed, 04 Dec 2024 07:37:05 GMT</pubDate>
            <atom:updated>2024-12-06T15:02:53.405Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello, Hackers!<br>I hope you’re all doing well. This is my first write-up and I wanted to share it with you. I’m Nadeem Mansoori. I’ve been a passionate penetration tester and a security researcher since 2022. Over the years, I’ve delved into uncovering vulnerabilities that could significantly impact user security and privacy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/0*dAuB2AOpLoaXI01J.png" /></figure><ul><li>In this blog, I want to share one of my findings: a critical vulnerability that allowed account takeover by bypassing Two-Factor Authentication (2FA). This is not just a walkthrough of the discovery but also an opportunity to showcase how penetration testers approach testing and what measures can be implemented to prevent such flaws.</li></ul><h3>Disclaimer</h3><p>The techniques and insights shared in this post are intended solely for educational purposes and to promote ethical security practices. Misusing this information for unauthorized activities or unethical purposes is strictly discouraged and may result in legal consequences. Always adhere to ethical guidelines and obtain proper authorization before testing or probing any system.</p><ul><li>Let’s dive in!</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*a7cAE1RG1WYXps1t.gif" /></figure><h4>The Vulnerability: Account Takeover via 2FA Bypass</h4><ul><li>Two-Factor Authentication (2FA) is designed to add an extra layer of security, but what happens when it fails? I discovered a vulnerability where the system allowed an attacker to bypass 2FA and gain unauthorized access to other user accounts by manipulating a critical parameter during the OTP verification process.</li></ul><h4>The Discovery Process</h4><p><strong>Setting the Scene</strong></p><ul><li>First, we will follow the process as a <strong>legitimate user</strong> while intercepting every request. This allows us to understand the structure and flow of the functionality. By analyzing the requests, we can identify which parameters are being passed and evaluate if there’s a possibility to modify them to uncover vulnerabilities.</li></ul><p><strong>Analyzing &amp; Exploiting the Request</strong></p><ul><li>So i was suspecting the username param while submitting the OTP</li><li>The request while submitting the OTP was this</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*6oyWfLE6VMEVWLoRDQIDpw.jpeg" /><figcaption>Request while Suubmitting the OTP</figcaption></figure><ul><li>So I changed the Username and got into another account so there was 2FA Flaw that should be fixed immediately.</li></ul><h3>Impact</h3><p>This vulnerability allows attackers to access user accounts without authorization, exposing sensitive data like personal and financial information. Such breaches can lead to identity theft, financial losses, and reputational harm for both users and organizations.</p><h3>Mitigation and Best Practices</h3><ul><li>Validate sensitive parameters, like username, on the server side.</li><li>Use token binding to tie OTPs to specific users.</li><li>Conduct regular security audits and penetration testing.</li></ul><p>Developers must prioritize secure coding practices and consider abuse cases during development.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b95c3aae985e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>