<?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 Ibrahimadel on Medium]]></title>
        <description><![CDATA[Stories by Ibrahimadel on Medium]]></description>
        <link>https://medium.com/@ibrahim753adel?source=rss-37dbc86b8f0f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*BjSRGhld8rvz6qI2iLBeVw.jpeg</url>
            <title>Stories by Ibrahimadel on Medium</title>
            <link>https://medium.com/@ibrahim753adel?source=rss-37dbc86b8f0f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 10:59:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ibrahim753adel/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[Race Condition Allows Invite Quota Bypass]]></title>
            <link>https://medium.com/@ibrahim753adel/race-condition-allows-invite-quota-bypass-343d96a5735a?source=rss-37dbc86b8f0f------2</link>
            <guid isPermaLink="false">https://medium.com/p/343d96a5735a</guid>
            <dc:creator><![CDATA[Ibrahimadel]]></dc:creator>
            <pubDate>Thu, 16 Oct 2025 01:59:37 GMT</pubDate>
            <atom:updated>2025-10-16T01:59:37.799Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UZlCUnpT5C6RQMtOSY9xzw.png" /></figure><h3>بِسْمِ اللهِ الرَّحْمَنِ الرَّحِيمِ<br>سَلَامًا عَلَى مَنِ اتَّبَعَ الْهُدَى</h3><p>“سُبْحَانَكَ لا عِلْمَ لَنَا إِلَّا مَا عَلَّمْتَنَا إِنَّكَ أَنْتَ الْعَلِيمُ الْحَكِيمُ”</p><p>Hello Hackers,</p><blockquote><em>My name is Ibrahim (I prefer to be called Hema). In this write-up I present a concise analysis of the latest vulnerability I discovered, including its description, reproduction steps, and potential impact.</em></blockquote><p><strong>About the company:</strong><br> <strong>Example</strong>.com provides social media account management services with free and paid plans. A key feature is team invitations; free accounts are limited to <strong>a maximum of two</strong> invited team members.</p><p><strong>Summary of the issue:</strong><br> I discovered a concurrency flaw that allows bypassing the two-invite limit on free accounts. By issuing parallel requests to the employee creation endpoint (POST /api/employees) with distinct email addresses, the server accepted all requests (each returned 200 OK) and created multiple pending invites (10 in my test) even though the UI enforces a 2-invite cap.</p><p><strong>Steps I followed to discover the issue (PoC — concise, non-destructive):</strong></p><ol><li>Logged in to a free account and navigated to <a href="https://yyyyyy.com/settings/team.">https://example.com/settings/team.</a></li><li>Attempted to add two members; after the second attempt the UI showed: Please upgrade to add more users.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/649/1*BIYigOCDyMfbpVXKLenSRA.png" /><figcaption>2</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/532/1*UqxivUIRu6-VUR3UfIqM1g.png" /><figcaption>2</figcaption></figure><p>3. Using Burp Suite, I intercepted the create-employee request and sent it to Intruder.</p><p>4. Created a payload set of the same request 10 times, changing only the email field for each request.</p><p>5. Sent the requests in <strong>parallel</strong>.</p><p>6. All requests returned 200 OK. The Team Members dashboard showed the 10 pending invites plus my account.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3OVQ278VZ0Sm27eYlWK9qQ.png" /><figcaption>10</figcaption></figure><p><strong>Example request payload (sanitized):</strong></p><pre>POST /api/employees<br>{<br>  &quot;first_name&quot;:&quot;hamd&quot;,<br>  &quot;last_name&quot;:&quot;fskdf&quot;,<br>  &quot;email&quot;:&quot;24tuesday+10@tiffincrane.com&quot;,<br>  &quot;access&quot;:&quot;RESTRICTED&quot;,<br>  &quot;entities&quot;:[{ &quot;entity_gid&quot;:&quot;1f1c6220-...&quot;, &quot;role&quot;:&quot;RESTRICTED&quot;, ... }]<br>}</pre><p><strong>Impact:</strong></p><ul><li>Bypass of plan restrictions to obtain premium functionality (multiple team members) without payment — direct revenue impact.</li><li>Operational overhead and potential abuse (unauthorized users gaining management access).</li><li>Financial and reputational risk if abused at scale.</li></ul><p><strong>Severity:</strong> High — practical, reproducible, and relatively easy to automate.</p><p><strong>Disclosure status &amp; communication:</strong><br> I have submitted a responsible disclosure to example.com and am awaiting their response.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=343d96a5735a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bypassing Current Password Validation: A Simple Trick with Big Impact]]></title>
            <link>https://medium.com/@ibrahim753adel/bypassing-current-password-validation-a-simple-trick-with-big-impact-ae52e5b4d35a?source=rss-37dbc86b8f0f------2</link>
            <guid isPermaLink="false">https://medium.com/p/ae52e5b4d35a</guid>
            <dc:creator><![CDATA[Ibrahimadel]]></dc:creator>
            <pubDate>Wed, 17 Sep 2025 15:01:40 GMT</pubDate>
            <atom:updated>2025-09-17T15:01:40.452Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*EiGxYXjN35bPmdKWc__D9Q.jpeg" /></figure><h3>بِسْمِ اللهِ الرَّحْمَنِ الرَّحِيمِ<br>سَلَامًا عَلَى مَنِ اتَّبَعَ الْهُدَى</h3><p>“سُبْحَانَكَ لا عِلْمَ لَنَا إِلَّا مَا عَلَّمْتَنَا إِنَّكَ أَنْتَ الْعَلِيمُ الْحَكِيمُ”</p><p>Hello Hackers,</p><p>While testing an external program, I inspected an endpoint called change_password (its purpose is obvious from the name). Normally, the application asks for the current password, the new password, and a confirmation of the new password.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JWExnnu1swkDDrCcweX_eQ.png" /></figure><h3>What I Tried</h3><p>I first sent a normal request through Burp Suite, which looked like this:</p><pre>_token=XXXX&amp;_method=put&amp;current_password=oldPassword&amp;new_password=newPassword&amp;new_password_confirmation=newPassword</pre><p>Then I <strong>removed the </strong><strong>current_password parameter entirely</strong> and sent the request again:</p><pre>_token=XXXX&amp;_method=put&amp;new_password=newPassword&amp;new_password_confirmation=newPassword</pre><p>The result: the server responded with <strong>302 Found</strong> (redirect), meaning the request was accepted as successful.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a6T5kd5Nn6IAyg44Yymg5w.png" /></figure><h3>Verification</h3><p>To make sure this was not a false positive, I logged out and logged back in using the new password. The password had indeed been updated successfully.</p><h3>Why This Matters (Impact)</h3><ul><li>The backend should always verify the user’s current password before allowing a password change.</li><li>Accepting the request without current_password means that <strong>anyone with a valid authenticated session</strong> (e.g., via stolen cookies, XSS, or local device access) could change the account password without knowing the original one.</li></ul><h3>Reporting</h3><blockquote><em>After preparing a written report and recording a video PoC, I emailed the company at their dedicated vulnerability reporting address. To date I have not received a response.</em></blockquote><h3>Summary sentence</h3><blockquote><em>Note: a seemingly small flaw like this can be a stepping stone to a much larger security breach — for example account takeover, data exfiltration, or lateral movement within the application — so it should be treated seriously.</em></blockquote><p>و السَّلاَمُ عَلَيْكُمْ وَرَحْمَةُ اللهِ وَبَرَكَاتُهُ</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ae52e5b4d35a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Static Token + Leaked Reset Code = Instant Takeover ]]></title>
            <link>https://medium.com/@ibrahim753adel/static-token-leaked-reset-code-instant-takeover-f44c34dd871b?source=rss-37dbc86b8f0f------2</link>
            <guid isPermaLink="false">https://medium.com/p/f44c34dd871b</guid>
            <dc:creator><![CDATA[Ibrahimadel]]></dc:creator>
            <pubDate>Wed, 23 Jul 2025 18:44:47 GMT</pubDate>
            <atom:updated>2025-07-23T18:44:47.324Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hm0jTNWc5e-SE4pxcj2RZQ.jpeg" /></figure><h3>بِسْمِ اللهِ الرَّحْمَنِ الرَّحِيمِ<br>سَلَامًا عَلَى مَنِ اتَّبَعَ الْهُدَى</h3><p>“سُبْحَانَكَ لا عِلْمَ لَنَا إِلَّا مَا عَلَّمْتَنَا إِنَّكَ أَنْتَ الْعَلِيمُ الْحَكِيمُ”</p><p>Hello Hackers,</p><p>Today I’m sharing a simple but impactful vulnerability I discovered during a casual test — a full account takeover via a misconfigured password reset flow.</p><h3>The Experiment :</h3><p>As usual, when testing a web application, one of my favorite areas to explore is the <strong>“Forgot Password”</strong> functionality. It often hides interesting behavior, and this time was no exception.</p><p>To test the system, I created two user accounts — let’s call them <strong>Account A</strong> and <strong>Account B</strong>.</p><p>I then triggered a password reset request for both.</p><p>Each account received a password reset link via email, and the structure looked like this:</p><p><a href="https://medium.com/">https://</a>example<a href="https://medium.com/">.</a>com/reset-password?token=XXXX&amp;code=YYYY</p><h3>The First Red Flag:</h3><p>To my surprise, <strong>the token value was identical</strong> in both reset links — despite being for two completely different accounts.<br> This was suspicious and clearly not ideal.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*GR-OUaJ-s0RgURLd70UZ9g.png" /><figcaption>acc A</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*GR9ZAnFL4L7PQyqyFAP1GQ.png" /><figcaption>acc B</figcaption></figure><p>The code parameter was different per account, which initially seemed fine.</p><p>I tried tampering with the token: set it to null, changed its value, etc.<br> The server responded with clear <strong>errors</strong>, so it seemed the token <strong>must be valid</strong>.</p><p>But here’s the kicker: <strong>the server does not use the token to identify the user</strong>. Instead, <strong>it uses the reset </strong><strong>code only</strong>!</p><h3>Deeper Analysis:</h3><p>I went further and tried requesting multiple reset links for the same account.</p><p>I found something even worse:</p><ul><li>The <strong>token is the same across all accounts on the website</strong> — meaning <em>any</em> user requesting a reset gets the <strong>same token</strong>.</li><li>The <strong>reset code</strong> is <em>account-specific</em> — but it <strong>never changes</strong>.<br> If Account A has code=111222334455, then that same code is returned <strong>every time</strong> a reset is requested for that user.</li></ul><p>So if that code ever leaks → full access.</p><h3>Referer Header Leak:</h3><p>Here’s the dangerous part:<br> The reset code gets exposed in the <strong>Referer header</strong> when the user opens the reset link.<br> External tools like Bing analytics and other tracking scripts were embedded in the reset page.</p><p>So if a user clicked the reset link, the <strong>code</strong> was sent in the Referer to third-party services.</p><p>Given that the <strong>token is fixed for everyone</strong>, an attacker only needs the <strong>code</strong> from the Referer → boom: full account reset without permission.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*12CAiJMfaXO_D5hg8KYGUQ.png" /><figcaption>leak reset code</figcaption></figure><h3>Looking into the Reset Process Internally:</h3><p>While inspecting the response from the “Forgot Password” endpoint, I noticed something strange:<br> The response was unstructured (possibly raw JSON or messy HTML), but within it, the <strong>reset code appeared in plain text</strong>.</p><p>At this point, an attacker could <strong>perform a full account takeover</strong> using only that code + the shared token.</p><h3>Reporting the Bug:</h3><p>The company was running an <strong>external VDP</strong> — not through a bug bounty platform.</p><p>I submitted a full, professional report with all necessary evidence:<br> Request samples, screenshots, header leaks, and step-by-step reproduction.</p><p>Despite their autoresponder saying they only reply from <strong>9am to 6pm</strong>, I got a human reply <strong>within 4 hours</strong> — even outside their working hours.</p><h3>Final Result:</h3><p>Two days later, they sent a follow-up email confirming that the bug was valid, fixed, and appreciated.</p><p>They don’t offer monetary rewards — but I was happy to help secure their system and receive their professional recognition.</p><h3>Key Takeaways:</h3><ul><li>Always review how tokens and codes are generated, stored, and validated.</li><li>Never reuse sensitive values across accounts.</li><li>Check for <strong>referer leaks</strong> — especially when dealing with password reset links.</li><li>Even small oversights in reset flows can lead to catastrophic impact.</li></ul><p>السَّلاَمُ عَلَيْكُمْ وَرَحْمَةُ اللهِ وَبَرَكَاتُهُ</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f44c34dd871b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Profile Picture to Password Reset — A Silent ATO via UID Disclosure]]></title>
            <link>https://medium.com/@ibrahim753adel/from-profile-picture-to-password-reset-a-silent-ato-via-uid-disclosure-c9e2117d9ccf?source=rss-37dbc86b8f0f------2</link>
            <guid isPermaLink="false">https://medium.com/p/c9e2117d9ccf</guid>
            <dc:creator><![CDATA[Ibrahimadel]]></dc:creator>
            <pubDate>Mon, 23 Jun 2025 22:45:06 GMT</pubDate>
            <atom:updated>2025-06-23T22:45:06.872Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ARYYb7027q04HjuNziNjeQ.jpeg" /></figure><h3>From Profile Picture to Password Reset — A Silent ATO via UID Disclosure</h3><h3>بِسْمِ اللهِ الرَّحْمَنِ الرَّحِيمِ<br>سَلَامًا عَلَى مَنِ اتَّبَعَ الْهُدَى</h3><p>“سُبْحَانَكَ لا عِلْمَ لَنَا إِلَّا مَا عَلَّمْتَنَا إِنَّكَ أَنْتَ الْعَلِيمُ الْحَكِيمُ”</p><p>Hello Hackers,</p><p>Lately, I was looking for a new target to train on. I wanted to stay away from the crowd on platforms like HackerOne and Bugcrowd, so I decided to try an external VDP program.<br> This program doesn’t offer monetary rewards but offers things like swag (T-shirts, mugs, etc.). Honestly, I didn’t even know the company, and I wasn’t interested in the swag — just the experience.</p><h3>Initial Testing:</h3><p>At that time, I was reviewing common security issues related to <strong>Broken Access Control</strong>, specifically <strong>IDOR and API authorization</strong>.<br> While testing the /api/user/dashboard endpoint (used for editing user profiles), I found that the request depends on a cookie with two important values:</p><ul><li>uid: A static user identifier created upon registration (non-sequential).</li><li>sid: A session identifier that changes per session. Without it, the request returns a 400 error.</li></ul><p>I tried different combinations and spent almost 2 hours, but nothing worked.</p><h3>UID Exposure:</h3><p>Then I noticed something interesting in the response:<br> A direct link to the profile picture looked like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WLsL60WyM10ljS2b8eWadw.png" /><figcaption>Profile Picture PATH</figcaption></figure><p>So I browsed some other user profiles and found that while the profile picture wasn’t clickable, I could still extract the link using “Inspect Element” in DevTools — and in that link, I could find the victim’s uid.</p><h3>Exploitation — Full Account Takeover:</h3><p>At first, I couldn’t use the UID because it was tied to a valid session (sid).</p><p>But when I tried the “Forgot Password” feature, I received an email with a link like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/901/1*3G15jgNSU5nqprcnxtQBrw.png" /><figcaption>Rest Password Link</figcaption></figure><p>I immediately tried replacing my own UID with the victim’s UID in the password reset link — and boom, it worked.<br> I was able to reset their password and log into their account successfully.<br> This suggests that the developers didn’t implement a strong binding between the password reset token and the UID, likely assuming that the UID is private and inaccessible to other users — an assumption that clearly didn’t hold true.</p><h3>POC — Proof of Concept:</h3><p>I recorded a full POC including:</p><ul><li>Step-by-step video of the attack.</li><li>Screenshots for each stage.</li><li>Full write-up with explanation of the flow and the impact.</li></ul><h3>The Response:</h3><p>Three days later, I got a response from the company.</p><p>It was… strange.</p><p>They thanked me for helping secure the digital world (their words), but then they said:</p><blockquote><em>“We don’t expect our users to do this kind of thing.”</em></blockquote><p>Which was the weirdest statement in the entire reply.</p><p>Then they added that the vulnerability had <strong>already been discovered internally</strong>.</p><h3>Conclusion:</h3><p>Even though the program didn’t offer bounties, I wasn’t expecting much — just a <strong>simple “thank you”</strong> would’ve been enough.<br> But what’s frustrating is that the vulnerability was silently fixed a few days later.<br> So yes — it was real, impactful, and <strong>could’ve been exploited in the wild</strong>.</p><p><a href="https://ar.islamway.net/micropost/1884/%D8%A7%D9%84%D8%B3%D9%84%D8%A7%D9%85-%D8%B9%D9%84%D9%8A%D9%83%D9%85-%D9%88%D8%B1%D8%AD%D9%85%D8%A9-%D8%A7%D9%84%D9%84%D9%87-%D9%88%D8%A8%D8%B1%D9%83%D8%A7%D8%AA%D9%87-%D8%A7%D9%84%D9%84%D9%87%D9%85-%D8%B5%D9%84-%D8%B9%D9%84%D9%89-%D9%85%D8%AD%D9%85%D8%AF-%D9%88%D8%B9%D9%84%D9%89-%D8%A2%D9%84">السَّلاَمُ عَلَيْكُمْ وَرَحْمَةُ اللهِ وَبَرَكَاتُهُ</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c9e2117d9ccf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OTP Verification Bypass Due to Missing Rate Limiting]]></title>
            <link>https://medium.com/@ibrahim753adel/otp-verification-bypass-due-to-missing-rate-limiting-4a8ba818a5cb?source=rss-37dbc86b8f0f------2</link>
            <guid isPermaLink="false">https://medium.com/p/4a8ba818a5cb</guid>
            <dc:creator><![CDATA[Ibrahimadel]]></dc:creator>
            <pubDate>Sun, 25 May 2025 23:09:25 GMT</pubDate>
            <atom:updated>2025-05-25T23:09:25.861Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*R5EdGlGTV12OntFv8Upc0w.jpeg" /></figure><h3>بِسْمِ اللهِ الرَّحْمَنِ الرَّحِيمِ<br>سَلَامًا عَلَى مَنِ اتَّبَعَ الْهُدَى</h3><p>“سُبْحَانَكَ لا عِلْمَ لَنَا إِلَّا مَا عَلَّمْتَنَا إِنَّكَ أَنْتَ الْعَلِيمُ الْحَكِيمُ”</p><p>Hello Hackers,</p><p>During security testing of the account registration and verification flow on the <strong>Target</strong> platform, I discovered a critical vulnerability that allows an attacker to bypass the 6-digit OTP email verification step. This happens because the system does not implement any rate limiting or protection mechanisms against brute force attempts on the OTP verification endpoint.</p><h3>How I Found the Vulnerability</h3><p>While registering a new account, the platform sends a 6-digit OTP code to the user’s email to verify the address.</p><p>I noticed that the OTP verification page accepts input without any restriction or delay for incorrect attempts. To confirm, I used <strong>Burp Suite Intruder</strong> to automate requests trying all possible OTP combinations from 000000 to 999999.</p><p>Surprisingly, every request received a 200 OK HTTP response, regardless of correctness, but the server’s response allowed me to detect when the correct OTP was submitted.</p><p>This allowed me to brute force the OTP and activate accounts without accessing the associated email inbox.</p><h3>Steps to Reproduce</h3><ol><li>Register a new account on <strong>Target</strong> using any email (even a fake one).</li><li>When prompted for the 6-digit OTP, intercept the verification request using Burp Suite.</li><li>Use Burp Suite Intruder to send OTP guesses from 000000 to 999999.</li><li>Observe the responses: one request will receive an indication (via HTTP 200 OK or other subtle differences) that it is the correct OTP.</li><li>Use this OTP to complete the account activation without needing to access the email.</li></ol><h3>Impact</h3><ul><li>Attackers can bypass email verification, thus creating unauthorized and fully activated accounts.</li><li>The platform becomes vulnerable to large-scale fake account creation, enabling spam, fraud, or further exploitation.</li><li>This undermines the trustworthiness of the registration system and weakens overall account security.</li><li>It violates fundamental security principles for user verification and authentication.</li></ul><h3>Triage Team Response</h3><p>After reviewing the submission, the triage team updated the Vulnerability Rating Taxonomy (VRT) to <strong>Server Security Misconfiguration &gt; Email Verification Bypass</strong> to better reflect the issue described.</p><p>The issue was classified as a <strong>P5 (Informational)</strong> finding according to Bugcrowd’s VRT, indicating it is considered a security best practice concern rather than a vulnerability with direct exploitation risk. Therefore, this finding typically does not qualify for a monetary reward.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4a8ba818a5cb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Password Reset Email Flood via Lack of Rate Limiting]]></title>
            <link>https://medium.com/@ibrahim753adel/password-reset-email-flood-via-lack-of-rate-limiting-b5a2161b76d9?source=rss-37dbc86b8f0f------2</link>
            <guid isPermaLink="false">https://medium.com/p/b5a2161b76d9</guid>
            <dc:creator><![CDATA[Ibrahimadel]]></dc:creator>
            <pubDate>Sun, 25 May 2025 23:02:42 GMT</pubDate>
            <atom:updated>2025-05-25T23:02:42.978Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/331/1*vdXRsG2vnw0IDZV4fz9GIg.jpeg" /></figure><h3>بِسْمِ اللهِ الرَّحْمَنِ الرَّحِيمِ<br>سَلَامًا عَلَى مَنِ اتَّبَعَ الْهُدَى</h3><p>“سُبْحَانَكَ لا عِلْمَ لَنَا إِلَّا مَا عَلَّمْتَنَا إِنَّكَ أَنْتَ الْعَلِيمُ الْحَكِيمُ”</p><p>Hello Hackers,</p><p>During a routine security test on a web application (<strong>Target</strong>), I discovered a misconfiguration in the “Forgot Password” functionality. This vulnerability allows anyone to trigger an <strong>unlimited number of password reset emails</strong> to a registered user, simply by automating the request.</p><p>While this may not seem critical at first, it can lead to <strong>email flooding</strong>, <strong>inbox disruption</strong>, and even <strong>phishing obfuscation</strong>.</p><h3>How I Found It</h3><p>As usual, I began testing standard features — login, signup, and password reset.</p><p>While testing the “Forgot Password” function on <strong>Target</strong>, I noticed that there were <strong>no protections</strong> against repeated requests for the same email. Every time I submitted the form, a new email was sent.</p><p>So I automated the process with a script. The result? <strong>Over 70 emails per minute</strong> were sent to the same user.</p><h3>Steps to Reproduce</h3><ol><li>Visit the “Forgot Password” page on the target site.</li><li>Submit a valid email address to get a reset link.</li><li>Intercept the POST request using Burp Suite or a similar tool.</li><li>Extract the authenticity_token and the email address.</li><li>Write a simple loop script to repeat the request.</li><li>Observe how the system sends a reset email every time, without any restriction.</li></ol><h3>PoC Script (Python)</h3><pre><br>target_email = &quot;victim@example.com&quot;<br>url = &quot;https://target-domain.com/guests/password&quot;</pre><pre>data = {<br>    &quot;authenticity_token&quot;: &quot;&lt;VALID_TOKEN&gt;&quot;,<br>    &quot;guest[email]&quot;: target_email<br>}</pre><pre>headers = {<br>    &quot;Content-Type&quot;: &quot;application/x-www-form-urlencoded&quot;<br>}</pre><pre>for i in range(50):<br>    response = requests.post(url, data=data, headers=headers)<br>    print(f&quot;Attempt {i+1}: Status Code {response.status_code}&quot;)</pre><h3>Real-World Impact</h3><p>Although some bug bounty programs classify this issue as “Out of Scope”, the risks are real:</p><ul><li><strong>User Disruption</strong>: Flooded inboxes create confusion and annoyance.</li><li><strong>Email Reputation Risks</strong>: Email services may block or rate-limit your domain.</li><li><strong>Phishing Obfuscation</strong>: An attacker can hide phishing emails in the flood.</li><li><strong>Loss of Trust</strong>: Users may think their account is under attack.</li></ul><h3>Security Team Response</h3><p>After I submitted the report, I received the following reply:</p><blockquote><em>“Thank you for your submission, but this issue is classified as </em><strong><em>Out of Scope</em></strong><em>.”</em></blockquote><p>The report was marked <strong>Not Applicable</strong> and closed.</p><p>While I understand the reasoning, I still believe the issue deserves a technical fix to protect users and ensure responsible behavior from the platform.</p><h3>Final Thoughts</h3><p>Not every vulnerability needs to be an RCE to matter. Sometimes, <strong>simple configuration oversights</strong> like missing rate limits can open the door to <strong>real abuse</strong>.</p><p>This case highlights the importance of:</p><ul><li>Rate limiting</li><li>CAPTCHA</li><li>Abuse detection systems</li></ul><p>Thanks for reading. I hope this helps developers and security engineers take a second look at their password reset flows.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b5a2161b76d9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Token Leakage via Referer Header on Password Reset Page]]></title>
            <link>https://medium.com/@ibrahim753adel/token-leakage-via-referer-header-on-password-reset-page-cc6a3c62c8a3?source=rss-37dbc86b8f0f------2</link>
            <guid isPermaLink="false">https://medium.com/p/cc6a3c62c8a3</guid>
            <dc:creator><![CDATA[Ibrahimadel]]></dc:creator>
            <pubDate>Sun, 25 May 2025 22:53:25 GMT</pubDate>
            <atom:updated>2025-05-25T23:03:12.839Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/311/1*DJ-KSG1yY_KCOe0l2c6o0A.png" /></figure><h3>بِسْمِ اللهِ الرَّحْمَنِ الرَّحِيمِ<br>سَلَامًا عَلَى مَنِ اتَّبَعَ الْهُدَى</h3><p>“سُبْحَانَكَ لا عِلْمَ لَنَا إِلَّا مَا عَلَّمْتَنَا إِنَّكَ أَنْتَ الْعَلِيمُ الْحَكِيمُ”</p><p>Hello Hackers,</p><p>While testing the password reset functionality on target.com, I found that the reset token gets leaked through the <strong>Referer header</strong> when a user clicks on any link inside the reset page — like “About Us” or “Terms”.</p><p>This token is supposed to stay secret because it allows anyone to reset the user’s password. If someone else (like an analytics tool, a third-party server, or even internal IT staff) gets access to this token from the request logs, they could take over the account.</p><h3>How I Discovered the Issue</h3><ol><li>First, I requested a password reset from the website.</li><li>I received the password reset email and clicked on the link, which took me to a page like this: <a href="https://target.com/reset-password?token=ABC123XYZ">https://target.com/reset-password?token=ABC123XYZ</a></li><li>While on this page, I clicked on a footer link (for example, the “Terms” page).</li><li>I noticed that the browser sent the full current URL — including the token — as part of the <strong>Referer header</strong> in the request to the new page.</li><li>That means anyone who has access to the server logs of that page (e.g., third-party services) can see the token and use it.</li></ol><h3>Why This is a Problem</h3><p>The reset token is like a temporary key to the user’s account. If someone else can see it:</p><ul><li>They can open the password reset page using that token.</li><li>Set a new password.</li><li>And fully take over the account.</li></ul><p>No need for email access or knowing the old password — just the token from the logs is enough.</p><h3>Vulnerability Status</h3><p>I reported this issue through a bug bounty platform. It was classified as:<br> <strong>Sensitive Data Exposure &gt; Token Leakage via Referer &gt; Untrusted 3rd Party</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/887/1*WhHzDGa7g0qVLmjb6AEk_A.png" /></figure><p>But unfortunately, my report was marked as a <strong>duplicate</strong>, which means someone else had already found and reported the same vulnerability before me.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cc6a3c62c8a3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Pre-Account Takeover via Unverified Email Change]]></title>
            <link>https://medium.com/@ibrahim753adel/pre-account-takeover-via-unverified-email-change-8e3d0b92b159?source=rss-37dbc86b8f0f------2</link>
            <guid isPermaLink="false">https://medium.com/p/8e3d0b92b159</guid>
            <dc:creator><![CDATA[Ibrahimadel]]></dc:creator>
            <pubDate>Sat, 24 May 2025 17:28:37 GMT</pubDate>
            <atom:updated>2025-07-24T16:05:47.726Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/290/1*OAiLxhVr1uHkz2wrm9TDHw.png" /></figure><h3>بِسْمِ اللهِ الرَّحْمَنِ الرَّحِيمِ<br>سَلَامًا عَلَى مَنِ اتَّبَعَ الْهُدَى</h3><p>“سُبْحَانَكَ لا عِلْمَ لَنَا إِلَّا مَا عَلَّمْتَنَا إِنَّكَ أَنْتَ الْعَلِيمُ الْحَكِيمُ”</p><p>Hello Hackers,</p><p>During responsible testing on the target.com platform, I discovered a vulnerability that allows a malicious user to perform a <strong>Pre-Account Takeover (Pre-ATO)</strong> by changing their account email to any address under the company domain (e.g., @target.com) without undergoing any email ownership verification process.</p><p>This issue enables an attacker to:</p><ul><li>Preemptively claim legitimate company email addresses before their rightful owners.</li><li>Prevent real employees from registering or using their actual work email addresses.</li><li>Impersonate trusted roles within the organization (e.g., hr@target.com, ceo@target.com).</li><li>Exploit any access logic or permissions tied to specific domain-based email patterns.</li></ul><p>This vulnerability presents a range of security, reputational, and compliance risks both internally and externally.</p><h3>Security Impact</h3><ul><li><strong>Account Lockout:</strong> Legitimate users are unable to use their own corporate email addresses if preemptively claimed by an attacker.</li><li><strong>Impersonation Risk:</strong> Attackers can pose as high-trust roles within the organization (e.g., CEO, HR, IT).</li><li><strong>Privilege Escalation:</strong> If the platform uses domain-based logic for role assignment (e.g., any @target.com gets admin access), attackers may gain unintended privileges.</li><li><strong>Social Engineering &amp; Phishing:</strong> An attacker can abuse the appearance of legitimacy to deceive other users or third parties.</li><li><strong>Compliance Violation:</strong> The absence of email verification may conflict with security and compliance requirements related to identity validation.</li></ul><h3>Steps to Reproduce</h3><ol><li>Register or log in to any standard user account on the platform.</li><li>Navigate to the account settings and open the email change section.</li><li>Enter a new email address using the target company domain, such as hr@target.com.</li><li>Save the changes. No confirmation or email verification is requested.</li><li>Log out and attempt to log in using the new email address.</li><li>Login succeeds, and the attacker now controls an account associated with a potentially sensitive company address.</li></ol><h3>Additional Notes</h3><ul><li>The vulnerability was reproducible using multiple emails such as root@target.com, it@target.com, and hr@target.com — all were accepted without any verification.</li><li>The exploit requires no special tools or skills and is achievable via the standard user interface.</li><li>Testing was performed responsibly using a personal test account; no third-party accounts or data were accessed.</li></ul><h3>Vulnerability Status</h3><p>The issue was submitted through a public bug bounty program and classified as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/897/1*13wID8Xv5B91p2x4z_U2aQ.png" /></figure><p><strong>P5 — Informational</strong><br> Category: <em>Insufficient Security Configurability &gt; Verification of Contact Method not Required</em></p><p>While the potential impact is significant, the report was rated as informational due to the lack of immediate privilege escalation or direct exploitation. Further chaining with other vulnerabilities might elevate its severity in future research.</p><p><strong>ٱلسَّلَامُ عَلَيْكُمْ وَرَحْمَةُ ٱللهِ وَبَرَكَاتُهُ</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8e3d0b92b159" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CSRF Vulnerability in Email Change Functionality Leading to Full Account Takeover]]></title>
            <link>https://medium.com/@ibrahim753adel/csrf-vulnerability-in-email-change-functionality-leading-to-full-account-takeover-d8d86d2cb76b?source=rss-37dbc86b8f0f------2</link>
            <guid isPermaLink="false">https://medium.com/p/d8d86d2cb76b</guid>
            <dc:creator><![CDATA[Ibrahimadel]]></dc:creator>
            <pubDate>Sat, 10 May 2025 14:05:30 GMT</pubDate>
            <atom:updated>2025-05-10T14:05:30.132Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fgybNd8FegxqrHHsWMHyAg.jpeg" /><figcaption>CSRF</figcaption></figure><h3><strong>بِسْمِ اللهِ الرَّحْمَنِ الرَّحِيمِ</strong><br><strong>سَلَامًا عَلَى مَنِ اتَّبَعَ الْهُدَى</strong></h3><p>“سُبْحَانَكَ لا عِلْمَ لَنَا إِلَّا مَا عَلَّمْتَنَا إِنَّكَ أَنْتَ الْعَلِيمُ الْحَكِيمُ”</p><p>Hello Hackers,</p><p>During a security assessment of a widely used web platform, I discovered a <strong>critical Cross-Site Request Forgery (CSRF)</strong> vulnerability affecting the email change functionality. This flaw could be exploited by an attacker to take full control over a victim’s account without their knowledge or consent.</p><h3>Vulnerability Details</h3><p>The platform allows users to update their email address via a form that requires entering the new email twice for confirmation. However, the request responsible for processing this change lacked proper CSRF protection.</p><p>By intercepting the request using tools such as Burp Suite, I was able to craft a malicious CSRF proof-of-concept (PoC). When a victim unknowingly visits a page containing the exploit (e.g., through a phishing link or malicious ad), the email address associated with their account is silently updated to one controlled by the attacker.</p><p>Once this change is made, the attacker can initiate a “forgot password” flow and receive the reset link on their own email, effectively locking the original user out and taking over the account.</p><h3>Impact</h3><ul><li><strong>Account Takeover:</strong> Attackers can fully compromise user accounts by changing the email address.</li><li><strong>Privacy Breach:</strong> Sensitive user data, such as personal information, location history, and linked services, could be exposed.</li><li><strong>Financial Risk:</strong> If payment methods are linked to the account, attackers may be able to carry out unauthorized transactions.</li></ul><p>Unfortunately, the report was marked as <strong>duplicate</strong> by the security team.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/257/1*MulWbqBocAJus15uMPpaHg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d8d86d2cb76b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Discovering an FTP Vulnerability with Anonymous Access]]></title>
            <link>https://medium.com/@ibrahim753adel/discovering-an-ftp-vulnerability-with-anonymous-access-0ad0b3c5ae46?source=rss-37dbc86b8f0f------2</link>
            <guid isPermaLink="false">https://medium.com/p/0ad0b3c5ae46</guid>
            <dc:creator><![CDATA[Ibrahimadel]]></dc:creator>
            <pubDate>Thu, 07 Nov 2024 11:24:59 GMT</pubDate>
            <atom:updated>2024-11-07T11:24:59.419Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/345/1*MnTS33hkzUcAb7Z6NkeiFQ.png" /><figcaption>Port 21 FTP</figcaption></figure><p><strong>بِسْمِ اللهِ الرَّحْمَنِ الرَّحِيمِ</strong><br><strong>سَلَامًا عَلَى مَنِ اتَّبَعَ الْهُدَى</strong></p><p>“سُبْحَانَكَ لا عِلْمَ لَنَا إِلَّا مَا عَلَّمْتَنَا إِنَّكَ أَنْتَ الْعَلِيمُ الْحَكِيمُ”</p><p>Hello Hackers,</p><h3><strong>Introduction</strong></h3><p>During a security assessment of a network using the FTP protocol, I discovered a vulnerability allowing unauthorized access to files via anonymous login. In this article, I’ll share how I discovered the vulnerability, the steps I took to analyze it, and my recommendations for mitigation.</p><h3>Vulnerability Details</h3><p>While assessing the FTP service running vsFTPd 3.0.2, I noticed that the server was configured to allow anonymous access. Although anonymous FTP access is sometimes intended, it poses a significant security risk if not properly secured.</p><h3>Discovery Steps</h3><p>Here’s a step-by-step outline of how I discovered and analyzed this vulnerability:</p><p>1. Connecting to the FTP Service: I initiated a connection to the FTP server using the command:</p><p>ftp &lt;server_address&gt;</p><p>2. Logging in as Anonymous: I attempted to log in using the username anonymous, and the server allowed me to log in without a password, indicating that anonymous access was enabled.</p><p>Connected to &lt;server_address&gt;.<br>220 (vsFTPd 3.0.2)<br>Name (&lt;server_address&gt;:kali): anonymous<br>230 Login successful.</p><p>3. Exploring Accessible Directories and Files: After logging in, I listed available files using the ls command and found two main directories, loggers and records, both with public read and write permissions (drwxrwxrwx).</p><p>4. Accessing and Downloading Files:</p><p>I was able to download certain log files from the loggers directory, including a file (e.g., 20241012–5174.log) with readable contents.</p><p>In the records directory, I encountered restrictions while trying to download other files, resulting in a “550 Failed to open file” error, indicating that some files were inaccessible due to permissions.</p><h3>Vulnerability Analysis</h3><p>The vulnerability lies in allowing anonymous login without any authentication. The presence of publicly accessible files, especially logs, could expose the server to significant risks, such as information leakage or misuse.</p><h3>Impact</h3><p>The primary impact of this vulnerability is the potential unauthorized access to sensitive data. Any user on the network could connect to the FTP service and access files, exposing the server and its stored data to threats.</p><h3>Recommendations</h3><p>To address this vulnerability and ensure data security, I recommend the following:</p><p>1. Disable Anonymous Login: Disabling anonymous FTP access is the first step in reducing risk.</p><p>2. Restrict Permissions: Modify permissions for sensitive files to limit access to authorized users only.</p><p>3. Update the Service: Ensure that the FTP service is running the latest version, as newer releases typically include security enhancements.</p><h3>Conclusion</h3><p>Discovering this vulnerability was a valuable experience, highlighting the importance of permissions and authentication on public services like FTP. System administrators must carefully configure security settings and perform regular security checks to minimize potential vulnerabilities. This experience serves as a reminder of the critical role of security practices in safeguarding systems from threats.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0ad0b3c5ae46" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>