<?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 zaeem750 on Medium]]></title>
        <description><![CDATA[Stories by zaeem750 on Medium]]></description>
        <link>https://medium.com/@zaeem750?source=rss-d2edad647817------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Qmmpi1dVxa34GUpeOD8b7w.jpeg</url>
            <title>Stories by zaeem750 on Medium</title>
            <link>https://medium.com/@zaeem750?source=rss-d2edad647817------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 11:55:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@zaeem750/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[Part-01: Android Pentesting Lab Setup: MEmuPlay + Burp Suite + ADB (Beginner’s Guide)]]></title>
            <link>https://medium.com/@zaeem750/android-pentesting-lab-setup-memu-burp-suite-adb-beginners-guide-ec497d7831d0?source=rss-d2edad647817------2</link>
            <guid isPermaLink="false">https://medium.com/p/ec497d7831d0</guid>
            <dc:creator><![CDATA[zaeem750]]></dc:creator>
            <pubDate>Fri, 14 Aug 2026 21:05:00 GMT</pubDate>
            <atom:updated>2026-08-18T19:57:19.937Z</atom:updated>
            <content:encoded><![CDATA[<p><em>A step-by-step walk through of setting up MEmu, ADB, and Burp Suite for Android app security testing — including the annoying issues I ran into along the way.</em></p><p>When I started learning Android pentesting, I assumed the hard part would be finding vulnerabilities. It wasn’t. The hard part was just getting the lab to work — the emulator, ADB, and Burp Suite all talking to each other properly.</p><p>I hit several roadblocks setting this up myself, so this guide covers not just the steps, but the issues you’re likely to run into too. By the end, you’ll have a working Android testing environment with a practice app (DIVA) installed and ready to go.</p><h4>What You’ll Need</h4><ul><li>Windows PC</li><li><strong>MEmu</strong> — Android emulator</li><li><strong>Burp Suite</strong> — for intercepting app traffic</li><li><strong>ADB</strong> (Android Debug Bridge)</li><li><strong>DIVA APK</strong> — a free, intentionally vulnerable app for practice</li></ul><h3>Step 1: Install MEmuPlay and Enable Root</h3><p>Download and install MEmu (it’s free). Once it boots up to the Android home screen:</p><ul><li>Go to <strong>Settings → Engine</strong> and turn <strong>Root mode ON</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*etacrn2s6ktHax6c_lSkcw.png" /><figcaption><strong>Root-Mode: ON</strong></figcaption></figure><p>This is easy to skip, but you’ll need it later — without root access, you can’t install custom certificates or dig deeper into the system.</p><h3>Step 2: Connect ADB (Android debug bridge) to the Emulator</h3><p>ADB is how your PC talks to the emulator — installing apps, running commands, reading logs.</p><ul><li>MEmu comes with its own <strong><em>adb.exe</em></strong>, inside its install folder:</li></ul><pre>C:\Program Files\Microvirt\MEmu&gt;</pre><ul><li>Open Command Prompt <em>from that folder</em> (type cmd into the File Explorer address bar and hit Enter), then run:</li></ul><pre>adb connect 127.0.0.1:21503<br>adb devices</pre><p>You should see:</p><ul><li>List of devices attached</li><li>127.0.0.1:21503 device</li></ul><p><strong>Issue I ran into:</strong> typing adb from a random folder just gives ‘adb’ is not recognized. ADB only works when you’re in MEmu’s install folder (unless you add it to your Windows PATH manually).</p><h3>Step 3: Install DIVA (Testing App)</h3><p>DIVA (Damn Insecure and Vulnerable App) is built specifically for practicing Android app testing — it’s safe and legal to test since it’s designed for this purpose.</p><ul><li>Download the DIVA APK, then install it via ADB:</li></ul><pre>adb install &quot;C:\Users\&lt;YourName&gt;\Downloads\DivaApplication.apk&quot;</pre><p><strong><em>Issue I ran into:</em></strong><em> got INSTALL_FAILED_VERIFICATION_FAILURE. Android’s built-in verifier blocks sideloaded apps by default.</em></p><p>What fixed it for me was running these two commands, then trying the install again:</p><pre> adb shell settings put global package_verifier_enable 0<br> adb shell settings put global verifier_verify_adb_installs 0<br> adb install &quot;C:\Users\&lt;YourName&gt;\Downloads\DivaApplication.apk&quot;</pre><h3>Step 4: Route Emulator Traffic Through Burp Suite</h3><p>This is where most of the setup friction happens, so go slowly here.</p><h4>1- Find your PC’s IP address</h4><p>Run ipconfig on your PC and note the <strong>IPv4 address of your Wi-Fi adapter</strong> (the one with a Default Gateway listed — that confirms it’s the active connection).</p><pre>C:\Users\android testing&gt;ipconfig</pre><p><strong>Quick note</strong> <em>to avoid confusion: 127.0.0.1:21503 (</em><strong><em>used for ADB</em></strong><em>) and your actual network IP 192.X.X.X:8080 (</em><strong><em>used for Burp</em></strong><em>) are two completely different things doing two different jobs. Don’t mix them up.</em></p><h4>2- Set up Burp’s listener</h4><p>In Burp Suite: <strong>Proxy → Options</strong> → confirm the listener on port 8080 is bound to <strong>All interfaces</strong>, not just loopback.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YGbTVN5Z1j66XlUdiszckw.png" /><figcaption><strong>Burp Proxy</strong></figcaption></figure><h4>3- Set the proxy inside the emulator</h4><ul><li>Inside MEmu: <strong>Settings → Wi-Fi → tap your connected network → pencil/edit icon → Advanced options → Proxy: Manual</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mkaWJeA3xBaQ2LoZ9U9Yhg.png" /><figcaption><strong>Manually Proxy Setup in MEmu</strong></figcaption></figure><h4>4- Test it</h4><p>Open the emulator’s browser, visit any site. If the request shows up in Burp’s <strong>Proxy → Intercept</strong> tab, the connection is working. Hit <strong>Forward</strong> to let it load.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y3oXqEjyYdB-WbeLEhD9Mg.png" /><figcaption><strong>Successfully Load Site</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DYv9nCD7gaZzjktBi-mHaA.png" /><figcaption><strong>Successfully Captured Request</strong></figcaption></figure><p><strong><em>Issue I ran into:</em></strong><em> the emulator’s Wi-Fi settings menu is a bit buried — you have to tap into “Saved networks,” then the currently connected network specifically (not just any saved one), then the pencil icon, before the proxy option even shows up.</em></p><h3>Step 5: Install Burp’s Certificate (for HTTPS traffic)</h3><p>HTTP traffic will show up in Burp fine without any extra steps. But most apps use <strong>HTTPS</strong>, and Android won’t let Burp decrypt that traffic unless it trusts Burp’s certificate.</p><p>In the emulator’s browser, go to http://&lt;your-pc-ip&gt;:8080 or <a href="https://burp/">https://burp</a> and download the <strong>CA Certificate</strong>.</p><p><strong>1- https://burp</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hlvMNXvRfW4lHcn9jPElIg.png" /><figcaption><strong>CA Certificate</strong></figcaption></figure><p><strong>2- http://</strong><a href="http://192.168.100.14:8080/"><strong>192.22.10.4:8080</strong></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bBj2RiPMC-LUnZPU3b-NAg.png" /><figcaption><strong>Using IP</strong></figcaption></figure><ul><li>Go to <strong>Settings → Security → Encryption &amp; credentials → Install a certificate → CA certificate</strong>, select the downloaded file, and confirm.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6pnv-hUC5jvp9H9UHTcUew.png" /><figcaption><strong>Encryption &amp; Credential</strong></figcaption></figure><p><strong><em>Issue I ran into — this was the biggest one:</em></strong><em> on my emulator, this UI-based install kept failing silently (“couldn’t install because the certificate file couldn’t be read”), even after trying multiple times. Modern Android versions are stricter about this than older tutorials assume.</em></p><p><strong>If this happens to you</strong>, here’s the workaround that worked — installing the certificate manually using root access:</p><pre>adb shell<br>su<br>mkdir -p /data/local/tmp/cacerts<br>cp /system/etc/security/cacerts/* /data/local/tmp/cacerts/<br>cp /storage/emulated/0/Download/cacert.der /data/local/tmp/cacerts/&lt;hash&gt;.0<br>mount -t tmpfs tmpfs /system/etc/security/cacerts<br>cp /data/local/tmp/cacerts/* /system/etc/security/cacerts/<br>chown root:root /system/etc/security/cacerts/*<br>chmod 644 /system/etc/security/cacerts/*<br>chcon u:object_r:system_file:s0 /system/etc/security/cacerts/*</pre><p>To get &lt;hash&gt;, run this on your PC first:</p><pre>openssl x509 -inform DER -subject_hash_old -in cacert.der | head -1</pre><p>In simple terms: this temporarily makes the certificate folder writable, then drops the new certificate in next to the existing ones.</p><p><strong>Two things to know:</strong></p><ul><li>This doesn’t survive a reboot — restart the emulator and you’ll need to redo it.</li><li>Don’t test on google.com. Chrome trusts only Google&#39;s own certificates there, so it&#39;ll reject Burp&#39;s certificate even if everything is set up correctly. Use example.com instead to confirm it&#39;s working.</li></ul><p><strong>At this point you should have:</strong></p><ul><li><strong>MEmu</strong> running with root enabled</li><li><strong>ADB</strong> connected and able to install apps</li><li><strong>DIVA</strong> installed for practice</li><li>Emulator traffic routing through Burp Suite</li><li>HTTPS traffic decrypting properly (certificate trusted)</li></ul><p>From here, you can open DIVA and start working through its challenges, or point Burp at any app you have permission to test and start watching its traffic.</p><h3>Final Thoughts</h3><p>None of this is conceptually hard — it’s just fiddly, and small mismatches (wrong IP, wrong port, a certificate silently failing) cost the most time. <strong><em>What issues did you run into setting up your lab — drop a comment below,</em></strong> I’m curious if these were universal or just my emulator being difficult. If this helped, follow me for more hands-on Android pentesting write-ups — real vulnerabilities, the tools behind them, and the lessons learned along the way.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ec497d7831d0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[IDOR in Team Member Profile API Allows Owner to Silently Hijack InvitedUser Account via Email…]]></title>
            <link>https://medium.com/@zaeem750/idor-in-team-member-profile-api-allows-owner-to-silently-hijack-inviteduser-account-via-email-681c675c6b75?source=rss-d2edad647817------2</link>
            <guid isPermaLink="false">https://medium.com/p/681c675c6b75</guid>
            <dc:creator><![CDATA[zaeem750]]></dc:creator>
            <pubDate>Mon, 29 Jun 2026 18:46:44 GMT</pubDate>
            <atom:updated>2026-06-29T18:46:44.908Z</atom:updated>
            <content:encoded><![CDATA[<h3>IDOR in Team Member Profile API Allows Owner to Silently Hijack InvitedUser Account via Email Takeover</h3><p><em>A story about trusting the UI too much, a single intercepted request, and a full account takeover.</em></p><h3><strong>The Moment That Started It All</strong></h3><p>I was testing a team management feature on a <strong><em>private program</em></strong>. Owner role. Invited members.</p><p>When I opened another user’s profile — the email, first name, last name fields were all grayed out. Locked. The UI was basically saying <strong>you can’t touch this. </strong>Most people would’ve moved on.</p><p>I didn’t.</p><h3><strong>Description</strong></h3><p>The server only validated the session token. It never checked which fields the authenticated user is actually allowed to modify for another user. The frontend hide the fields correctly — but the backend had no idea. Whatever was sent in the request body, it accepted. UI restriction is not server-side restriction. A grayed-out field is a hint, not a wall.</p><h3><strong>Impact</strong></h3><p>The attacker silently overwrites the victim’s name and email — no notification sent, no confirmation required. Once the email is changed to an attacker-controlled address, both the old and new email work for login at the same time since sessions are never invalidated. When the victim tries to reset their password using their original email, the reset link lands in the attacker’s inbox. The attacker resets the password, sets up their own 2FA, and the victim is permanently locked out of their own account with no recovery path.</p><p><strong>Root Cause</strong></p><p>The backend performed no field-level authorization. It accepted any field present in the request body as long as the session token was valid. The intended business logic existed only on the frontend, never enforced server-side.</p><h3><strong>Steps to Reproduce</strong></h3><ul><li>Create an account.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/701/1*5Kj9MjtiL10Z1sevsCMHqA.png" /><figcaption><strong>Owner Account</strong></figcaption></figure><ul><li>Log in as Owner, invite a target (admin, developer etc) user and have them accept.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NLwdBSUJ4p0sTUdUibEk4A.jpeg" /><figcaption><strong>Invite User</strong></figcaption></figure><ul><li>Open the invited user’s profile in attacker account— <strong><em>notice email/name fields are locked in UI</em></strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JB_u8GW7_IR7n7yNSqqltQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wNF4-XTO70-tFuayQSkwQg.png" /><figcaption><strong>UI Restriction on updation of sensitve data</strong></figcaption></figure><ul><li>Perform any permitted action (role change, expiration date update)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UMPQdL17SEcDI4Aozmtaxw.png" /><figcaption><strong>Update Anything</strong></figcaption></figure><ul><li>In Burp Suite, go to Proxy → Intercept → turn Intercept ON &amp; Intercept the request in Burp Suite.</li></ul><pre>PUT /users/users/{uuid}</pre><ul><li>Inject `first_name`, `last_name`, `email` (attacker-controlled) into the request body</li></ul><p><strong>Before Manipulation:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/475/1*-I6WjoVsMGWtQ7VMKiRI5Q.jpeg" /><figcaption><strong>Before Manipulation</strong></figcaption></figure><p><strong>After Manipulation:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/580/1*sQO62_VbcW_8Yxk8BlCn_Q.png" /><figcaption><strong>After Manipulation</strong></figcaption></figure><ul><li>Forward — server returns `HTTP 200 OK`</li></ul><pre>&quot;success&quot;:&quot;true&quot;</pre><ul><li>Verify victim’s profile is now updated silently</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pm6ar3vTBa6RsgE_t1K8HQ.jpeg" /><figcaption><strong>Successfully aattacker updated victim profile</strong></figcaption></figure><ul><li>Go to victim account and observe that sensitive data successfully update without consent.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HtsucCV5S_Q2knjgSicxxw.png" /><figcaption><strong>Confirm</strong></figcaption></figure><ul><li>Now try to forgot password using previous email but observe that the password reset link is sent to the attacker’s new email address <strong>hackedvictimaccount@yzcalo.com</strong>, this is critical issue, No error, no warning.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/751/1*XBJlyDHPZ_rUnEaNvkxAyA.png" /><figcaption><strong>Forgot Password</strong></figcaption></figure><ul><li>Reset password + enable 2FA, full account takeover complete, lockout permanently.</li></ul><h3>Recommendation:</h3><ul><li><strong>Server-side field-level authorization: </strong>Validate that only the user themselves can modify their ownemail, first name, and last name. Reject attempts by any other party (including Owners) with HTTP 403 Forbidden.</li><li><strong>Whitelist permitted fields per role:</strong> When an Owner updates a team member, only accept role, status, and environment fields. Strip all other fields from the request body before processing.</li><li><strong>Email change verification:</strong> Any email change must trigger a confirmation link to the current registered address. The change should not take effect until confirmed.</li><li><strong>Audit log and notifications: </strong>Notify users via email whenever their profile (especially email) is modified. Log all changes with actor identity and timestamp.</li><li><strong>Session invalidation on email change:</strong> Force re-authentication across all devices when a loginemail is changed.</li><li><strong>Penetration test all team management endpoints: </strong>Conduct a focused IDOR/BAC review across all user management API routes.</li></ul><h3>Reward</h3><p>“Reported, triaged, and accepted as High severity by the security team.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dFiZp8fyxg0EaLxqg-XDww.png" /><figcaption><strong>€€€</strong></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=681c675c6b75" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[When Your InfluxDB Panel Goes Public]]></title>
            <link>https://medium.com/@zaeem750/when-your-influxdb-panel-goes-public-5ece7d6c5588?source=rss-d2edad647817------2</link>
            <guid isPermaLink="false">https://medium.com/p/5ece7d6c5588</guid>
            <category><![CDATA[database-security]]></category>
            <category><![CDATA[influxdb]]></category>
            <category><![CDATA[data-exposure]]></category>
            <category><![CDATA[shodan-search-engine]]></category>
            <dc:creator><![CDATA[zaeem750]]></dc:creator>
            <pubDate>Sat, 07 Mar 2026 21:22:01 GMT</pubDate>
            <atom:updated>2026-03-07T21:23:15.797Z</atom:updated>
            <content:encoded><![CDATA[<h4>What is Shodan?</h4><p><strong>Shodan</strong> is a search engine for internet-connected devices.<br> It scans and lists devices that are publicly accessible, like servers, webcams, and databases and expose panels.<br> If your systems are exposed, Shodan can find them — fast.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*tCUuwHtFmzek2K7zaaJRhg.png" /><figcaption><strong>Shodan</strong></figcaption></figure><h4>Introduction</h4><p>Imagine leaving the front door of your house wide open — and someone not only walks in, but starts taking notes on everything inside. That’s exactly what happens when a <strong>database panel</strong> is exposed to the internet. Recently, a public <strong>InfluxDB panel</strong> was discovered publicly, completely accessible to anyone with a browser, in my opinion, should not happen because it increases the attacker’s attack surface.</p><p>Thanks to <strong>Shodan</strong>, the search engine for internet-connected devices, this exposure was easy to find. A quick dork:</p><pre>ssl:example.io http.status:200</pre><p>revealed influxdb.liquid-debug.example.io with its login screen fully open. No VPN. No firewall. Just a direct gateway to internal telemetry, logs, and metrics.</p><h4>The Discovery</h4><ul><li>Go to <a href="https://www.shodan.io/">https://www.shodan.io</a></li><li>Use the simple dork:</li></ul><pre>ssl:example.io http.status:200</pre><ul><li>Review the discovered hosts and identify influxdb.liquid-debug.example.io</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dh8vwz6EBhHAKs1DyuQwaQ.jpeg" /><figcaption><strong>InfluxDB</strong></figcaption></figure><ul><li>Open the host in a browser: <a href="https://influxdb.liquid-debug.example.io/">https://influxdb.liquid-debug.example.io</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*ngaIznPz2b1dqkB3vmwvXw.jpeg" /><figcaption><strong>Expose InfluxDB Panel</strong></figcaption></figure><ul><li>Observe the InfluxDB login panel is publicly accessible without any network restrictions.</li></ul><h4>Why this is dangerous</h4><p>Exposed database panels are more than a small mistake — they’re an invitation to attackers:</p><ul><li><strong>Brute-force attacks</strong> and credential stuffing become trivial</li><li>Any <strong>InfluxDB vulnerabilities</strong> can be exploited</li><li>Access to <strong>sensitive internal data</strong> is easy</li><li>Perfect <strong>reconnaissance</strong> for future attacks</li></ul><h4><strong>How to protect your systems</strong></h4><ul><li>Restrict access using <strong>IP allowlisting</strong> or firewalls</li><li>Place the service behind a <strong>VPN or private internal network</strong></li><li>Consider <strong>disabling public exposure entirely</strong></li><li>Enforce <strong>strong authentication policies</strong> and continuous monitoring</li></ul><p>Your monitoring tools are meant to watch your systems, not the world. And remember: <strong>Shodan is always watching</strong> — make sure it doesn’t find something you wish it hadn’t.</p><h4>Patch</h4><p>Thanks to my report, the company has fixed the issue by securing the InfluxDB panel with proper access restrictions and stronger authentication</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WOfbrc04Rg9OAnl_j9VBkA.jpeg" /><figcaption><strong>Fix</strong></figcaption></figure><h4><strong>Rewarded $$$</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5MJbeb0XOof-yz63esK5xg.jpeg" /><figcaption><strong>Bounty $$$</strong></figcaption></figure><p><strong><em>“This experience shows how even small discoveries can strengthen security when handled responsibly”</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5ece7d6c5588" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[(IDOR) — Manipulating One ID Parameter Gave Me Access to Other Users’ PII & Credential Data]]></title>
            <link>https://medium.com/@zaeem750/idor-manipulating-one-id-parameter-gave-me-access-to-other-users-pii-credential-data-2e26198740e1?source=rss-d2edad647817------2</link>
            <guid isPermaLink="false">https://medium.com/p/2e26198740e1</guid>
            <dc:creator><![CDATA[zaeem750]]></dc:creator>
            <pubDate>Tue, 03 Feb 2026 07:05:26 GMT</pubDate>
            <atom:updated>2026-02-03T07:05:26.218Z</atom:updated>
            <content:encoded><![CDATA[<h3>(IDOR) — Manipulating One ID Parameter Gave Me Access to Other Users’ PII &amp; Credential Data</h3><p>I hope you are doing well. As a security researcher, I recently discovered a high-severity IDOR vulnerability that could expose sensitive user information.</p><h3>The Problem: “Access Denied” But Data Still Leaks</h3><p>During my testing on example.com, I discovered a <strong>high-severity Broken Access Control / IDOR</strong> issue. The application shows an <strong>“Access Denied”</strong> message, but the response still returns the <strong>victim’s sensitive profile data</strong>.</p><p>In other words, the UI says you’re not authorized, yet the backend quietly exposes <strong>PII and credential-related information</strong>.</p><p>This isn’t protection — it’s <strong>security theater</strong>.</p><h3><strong>What is IDOR?</strong></h3><p>IDOR (Insecure Direct Object Reference) happens when a website lets you access something you don’t own by changing an identifier. If the server doesn’t properly verify ownership, you can access another user’s data.</p><p><strong>Example:</strong></p><p>“I’m logged in as <strong>User A</strong>, but I request data for <strong>User B</strong>.”</p><p>And the server responds with User B’s data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/521/1*IWPjAVeJeqlyfhLCvQYQvA.png" /><figcaption><strong>IDOR</strong></figcaption></figure><h3>My Discovery: Profile Update Endpoint Leaks Other Users’ Data</h3><p>While editing the profile settings, I intercepted a request made to this endpoint:</p><pre>POST /ajax/settings/profile/</pre><p>Inside the request body, there is an <strong>ID parameter</strong> representing the account owner.</p><p>The vulnerability happens when:</p><p>➡ I replace my own ID with the victim’s ID<br>➡The server returns the victim’s profile details</p><pre>id=1001 → id=1002</pre><p>Even worse:</p><p>⚠️ The response returns an authorization error message, but it still leaks sensitive data within an object, such as arUser, including <strong>email, hashed password, 2FA information, and more</strong>. However, it does not expose the API key. So the backend is basically saying:</p><p><strong><em>“You shouldn’t see this… but here you go anyway.</em></strong></p><h3>Impact</h3><p>This vulnerability allows an authenticated user to access other users’ sensitive profile information by simply modifying the <strong>ID parameter</strong> in the request. Even though the application displays an <strong>authorization error</strong>, the backend still returns confidential data such as the victim’s <strong>email address</strong>, <strong>WhatsApp/mobile number</strong>, <strong>MFA status</strong>, and even a <strong>password hash</strong>.</p><p>Exposure of this PII can lead to serious privacy violations, targeted phishing, and social engineering attacks. If the leaked password hash is weak or crackable, an attacker could attempt <strong>cracking</strong> to recover the original password and potentially compromise the victim’s account. Overall, this issue can also enable <strong>user enumeration</strong> and large-scale leakage of sensitive user information.</p><h3>Steps to Reproduce</h3><ul><li>Create two accounts: one <strong>attacker</strong> and one <strong>victim</strong>. <em>I recommend using the </em><strong><em>Multi‑Account Containers</em></strong><em> extension in Firefox, as it helps you stay logged into multiple accounts at once and makes it easier to intercept requests and test IDOR by switching IDs safely.</em></li><li>Login with a attacker account.</li><li>Go to <strong><em>attacker.example.com/settings/profile/</em></strong> and edit the profile. While saving the changes, intercept the request to the vulnerable endpoint <strong><em>POST /ajax/settings/profile/ </em></strong>using burpsuite or other similar tool.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XTxsIzTHluPzGJ4m8KHM0Q.jpeg" /><figcaption><strong>Vulnerable Endpoint</strong></figcaption></figure><ul><li>I checked the victim’s user ID by logging into the victim account to safely confirm the correct ID (no brute force or enumeration was performed due to program restrictions, although it may be possible).</li></ul><pre>Attacker ID=147111095 &amp; victim ID=14711123</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_PmSTZHfG0hXOkwUUNbjEA.jpeg" /><figcaption><strong>Victim ID</strong></figcaption></figure><ul><li>In the attacker request, I modified the ID parameter from the<strong> attacker’s ownID to the victim’s ID</strong>. After sending the request, the response disclosed the victim’s sensitive information inside the <strong>arUser </strong>object like:</li><li><em>Email address (login) </em></li><li><em>Password hash (password_hash) </em></li><li><em>Personal mobile / WhatsApp number (personal_mobile)</em></li><li><em>MFA status (enabled/disabled) and Other profile-related details</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rXcVG5g1xbhOw9rtSyV4gQ.jpeg" /><figcaption><strong>Disclose User PII</strong></figcaption></figure><p><em>“Unfortunately, the response did not disclose any API keys. I tried multiple bypass techniques but had no success. However, if API keys were exposed, the severity and impact would increase significantly, potentially enabling access to additional services and deeper account compromise.”</em></p><h3>Mitigation</h3><ul><li>Enforce server-side authorization: only allow users to access/edit their own profile (ID must match session user). </li><li>Do not return sensitive fields in responses such as password_hash, or MFA/internal details.</li><li>Use non-predictable identifiers (UUIDs) and add rate-limiting/logging for suspicious ID changes.</li></ul><h4>Reward $$$</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a5AWtsIYh1TlgEMpsEFh3g.jpeg" /><figcaption><strong>$$$ Bounty</strong></figcaption></figure><p><strong>“Follow me for more interesting articles 🔥”</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2e26198740e1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stored XSS & HTML Injection in User-Generated Content Lead to Account Takeover]]></title>
            <link>https://medium.com/@zaeem750/stored-xss-html-injection-in-user-generated-content-lead-to-account-takeover-03bba73c64df?source=rss-d2edad647817------2</link>
            <guid isPermaLink="false">https://medium.com/p/03bba73c64df</guid>
            <dc:creator><![CDATA[zaeem750]]></dc:creator>
            <pubDate>Tue, 20 Jan 2026 18:51:58 GMT</pubDate>
            <atom:updated>2026-01-20T19:04:06.043Z</atom:updated>
            <content:encoded><![CDATA[<p>I hope you are doing well. In this write-up, I’m sharing another <strong>high-severity vulnerability</strong> that I responsibly disclosed and got <strong>accepted via Bugcrowd</strong>. The issue was identified in a user-generated content feature, where improper handling of user input led to <strong>Stored Cross-Site Scripting (XSS)</strong> and <strong>HTML Injection</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iCZEOvr4Ct97S56GB-uAnw.png" /><figcaption><strong>Stored XSS</strong></figcaption></figure><h3>Vulnerability Overview</h3><p>The application stores and renders <strong>unsanitized user input</strong> within publicly accessible user-generated posts. Due to the absence of proper input validation and output encoding, attackers can inject <strong>arbitrary HTML and JavaScript</strong> into post content.</p><p>The injected content is <strong>persistently stored</strong> on the server and executed in the browsers of other users who view the affected post. This confirms the presence of a <strong>Stored Cross-Site (XSS)</strong> vulnerability along with <strong>HTML Injection</strong>, impacting users beyond the attacker’s own session.</p><h3>Steps to Reproduce</h3><ol><li><strong>Fundraiser Stored XSS:</strong></li></ol><ul><li>Create two accounts one for attacker and other is for victim.</li><li>Log in to a attacker account and go to <a href="https://example.com/campaigns/new">https://example.com/campaigns/new</a> and Start your Fundraiser</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*De1SULsAk2Zjmjpe-KVkfw.png" /><figcaption><strong>Fundraiser</strong></figcaption></figure><ul><li>Insert payload that show in below img.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/871/1*KIdS5GpjkfaYdoua8MwupQ.png" /></figure><ul><li>Save changes the post and ensure it is saved successfully and stored XSS successfully executed.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-IocE1xqCG6UelWwdTkftw.jpeg" /><figcaption><strong>Stored XSS</strong></figcaption></figure><ul><li>Share the post link with a victim account.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Zf5SZXVtkNFlED9R3NDfAQ.jpeg" /><figcaption><strong>Share the vuln post with the victim</strong></figcaption></figure><ul><li>When the victim views the post and click on <strong>clickme</strong> button, the injected XSS payload executes in their browser.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EAkd3wWlIjBO4AgzYqVYHg.png" /><figcaption><strong>Victim view the post</strong></figcaption></figure><p><strong>2. HTML Injection</strong></p><ul><li>Edit your fundraise and add html tags in a description field.</li><li>An attacker can create a fake form page and send it to the victim. If the victim fills out the form, account takeover can easily occur.</li></ul><pre>&lt;h1&gt;HTML Injection&lt;/h1&gt;<br>&lt;i&gt;Enter your credentials&lt;/i&gt;<br>&lt;form&gt;<br>  &lt;input type=&quot;email&quot; placeholder=&quot;Email&quot;&gt;&lt;br&gt;<br>  &lt;input type=&quot;password&quot; placeholder=&quot;Password&quot;&gt;&lt;br&gt;<br>  &lt;button&gt;Submit&lt;/button&gt;<br>&lt;/form&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EPxLb68EwePXV3gdN2xT1g.jpeg" /><figcaption><strong>HTML Injection (Fake Form, Potential Lead to Steal Credentials)</strong></figcaption></figure><h3>Impact</h3><p>This vulnerability allows attackers to execute arbitrary client-side code within the context of a <strong>trusted domain</strong>, enabling:</p><ul><li>Account Takeover (ATO) privelege and horizontal escalation</li><li>Persistent JavaScript execution</li><li>Page content and UI manipulation</li><li>Injection of fake login or verification forms</li><li>Phishing attacks leading to credential theft</li><li>Abuse of authenticated user sessions</li></ul><p><strong><em>The risk increases significantly if the injected content is viewed by a privileged user such as an administrator or moderator.</em></strong></p><h3>Root Cause</h3><ul><li>Missing server-side input sanitization</li><li>Lack of output encoding during content rendering</li><li>User input trusted by default</li></ul><h3>Recommendation</h3><ul><li>Enforce strict server-side input validation and context-aware output encoding.</li><li>Sanitize user-generated content using an allowlist and block dangerous HTML tags.</li><li>Apply a strong Content Security Policy (CSP) and regularly test for XSS vulnerabilities.</li></ul><h3>Hall of Fame &amp; Recognition</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/651/1*zYZD5I9ttW9YaN5tmMIbYA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oo35bhGFNHq7YDIDJicJyA.jpeg" /><figcaption><strong>HOF</strong></figcaption></figure><p><strong>“Follow me for more security write-ups and bug bounty insights!”</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=03bba73c64df" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Discovered an SQL Injection Vulnerability on a University Site]]></title>
            <link>https://medium.com/@zaeem750/how-i-discovered-an-sql-injection-vulnerability-on-a-university-site-229a953dd688?source=rss-d2edad647817------2</link>
            <guid isPermaLink="false">https://medium.com/p/229a953dd688</guid>
            <dc:creator><![CDATA[zaeem750]]></dc:creator>
            <pubDate>Thu, 18 Dec 2025 13:37:13 GMT</pubDate>
            <atom:updated>2025-12-18T13:37:13.483Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/660/1*JlbVe_1csu5O6vNgIEkkpw.webp" /><figcaption><strong>SQL Injection</strong></figcaption></figure><h4><strong>1. Initial Reconnaissance — The Discovery Phase</strong></h4><p>Every investigation begins with <strong>Reconnaissance</strong>.<br> I used google dorking to identify exposed subdomains related to the target. During this phase, I found a subdomain that resembled:</p><pre>site:*.example.com</pre><pre>https://Database-name.example.com</pre><p>This naming pattern suggested it might be interacting directly with backend systems — a potential entry point for further security evaluation.</p><h4>2. Quick Input Testing — HTML Injection Indicators</h4><p>After accessing the subdomain, I tested a simple <em>italic</em> input in the search bar using harmless HTML:</p><pre>&lt;i&gt;zaeem&lt;/i&gt; shafqat</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1004/1*1mT86-CguPzJYc4qRKAdYA.png" /><figcaption><strong>HTML Injection</strong></figcaption></figure><ul><li>The response showed <strong>the browser executed the HTML</strong>, confirming that input was not sanitized.</li></ul><p><strong><em>“If HTML is not filtered, deeper vulnerabilities may exist like XSS and SQL injection”.</em></strong></p><h4>3. XSS (Cross Site Scripting)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/313/1*OPZ53oMEiDRNMOItd_rI5A.webp" /><figcaption><strong>XSS</strong></figcaption></figure><p>Next, I attempted a basic payloads of XSS like:</p><pre>&lt;script&gt;alert(document.cookie)&lt;/script&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/798/1*HxasRtvaseU980S8FqNCDw.png" /><figcaption><strong>XSS</strong></figcaption></figure><ul><li>The browser executed the script.</li><li>This confirmed <strong>client‑side input validation was weak</strong>.</li></ul><p>No harmful payloads were used — only a minimal test to verify the condition.</p><h4>4. Exploitation Of SQL Injection</h4><p>After observing the earlier validation gaps, a thought naturally came to mind:</p><p><strong><em>“If HTML and script inputs are not sanitized, the database might also be exposed.”</em></strong></p><p>To test this, I tried a harmless HTML link:</p><pre>&#39;UNION SELECT FROM user WHERE username=&quot;admin&quot;</pre><p>the application threw a <strong>SQL error </strong>that was the turning point.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ylp4ErCuvELzqk2rw8raew.png" /><figcaption><strong>SQL Error</strong></figcaption></figure><p>At this moment, my confidence increased to <strong>99.9%</strong> that the <strong>search parameter was vulnerable to SQL injection</strong>.<br> But assumptions mean nothing without structured verification — so I moved very carefully.</p><h4>5. Capturing the Request for Analysis Using Burp Suite</h4><p>To investigate properly, I used <strong>Burp Suite </strong>only to <em>observe</em> the request.</p><ol><li>Enabled <strong>Burp proxy</strong></li><li>Reloaded the page to capture the <strong>search</strong> request</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/956/1*4EyV7jlbY4ivRu_0vQ0KDA.jpeg" /><figcaption><strong>Burp Request</strong></figcaption></figure><p>3. Open <strong>Kali Linux</strong> and make file using cmd.</p><pre>nano file.txt</pre><p>4. Paste the request in this file and save.</p><p>5. Professional testers always identify the DB type/version using <strong>SELECT @@version;</strong> before enumerating databases or dumping tables.</p><pre>sqlmap -r uni.txt --batch --sql-query=&quot;SELECT @@version;&quot;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/823/1*MpHaM3LdAoQCPtJwmfDSYw.png" /><figcaption>DB type/version</figcaption></figure><p>6. Run<strong> sqlmap</strong> to exploit SQL Injection using this cmd.</p><pre>sqlmap -r file.txt --batch --crawl=2 --level=2 --dbs</pre><p><em>This gave me a clear view of how the backend was processing the input.</em></p><p>7. It successfully returned the database name, confirming that the search parameter was indeed vulnerable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CAoYZhydI_Hbvva1ITp0Xw.png" /><figcaption><strong>Database_name Disclose</strong></figcaption></figure><p>8. Then run this cmd and it successfully extract databases.</p><pre>sqlmap -r file.txt --batch --dbs --crawl=2 --level=2 --dbms=mysql --tables</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/687/1*3JUQYJYwCBAcRTDlXRwnQg.png" /><figcaption><strong>Extract Databases</strong></figcaption></figure><p>9. After enumerating the database and tables, if further exploration is needed for research purposes, this command can be used to list the table columns and dump data. For reporting, this is sufficient and no harmful exploitation is necessary:</p><pre>sqlmap -r file.txt --batch --dbs --crawl=2 --level=2 --dbms=mysql -T tablename --columns</pre><pre>sqlmap -r file.txt --batch --dbs --crawl=2 --level=2 --dbms=mysql -T table_name -C column_name --dump         </pre><h4>4. Recommendation</h4><ul><li><strong>Implement strict input validation &amp; prepared statements</strong> to prevent SQL injection by ensuring user input is never directly concatenated into queries.</li><li><strong>Enable output escaping and sanitization</strong> so HTML/JavaScript cannot execute inside search fields, preventing XSS and HTML injection.</li><li><strong>Apply proper access controls, disable detailed error messages, and regularly perform security testing</strong> to detect and fix vulnerabilities before attackers do.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=229a953dd688" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[2FA Disabled via CSRF — How One Request Led to Account Takeover]]></title>
            <link>https://medium.com/@zaeem750/2fa-disabled-via-csrf-how-one-request-led-to-account-takeover-61830039d38c?source=rss-d2edad647817------2</link>
            <guid isPermaLink="false">https://medium.com/p/61830039d38c</guid>
            <dc:creator><![CDATA[zaeem750]]></dc:creator>
            <pubDate>Wed, 24 Sep 2025 10:44:41 GMT</pubDate>
            <atom:updated>2025-09-24T10:44:41.479Z</atom:updated>
            <content:encoded><![CDATA[<h3>2FA Disabled via CSRF — How One Request Led to Account Takeover</h3><p><strong>Hi Researchers,</strong></p><p>Today I want to share an interesting write-up about how a seemingly small request can completely disable 2FA via CSRF on an account. It’s a fascinating example of how security features can sometimes be bypassed if proper protections aren’t in place.</p><h4>What is CSRF?</h4><p>CSRF, or Cross-Site Request Forgery, is a web attack where an attacker tricks a logged-in user’s browser into performing unintended actions on a website. It exploits the trust a website has in the user’s session while the attacker remains completely untrusted. This allows a malicious site to make the user unknowingly perform actions like changing their email, password, disabling 2FA, or even sending money to the attacker’s account on behalf of the victim.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/441/1*8fGvO54_EWMitmz0sNNN3A.png" /><figcaption>CSRF Attack</figcaption></figure><h4>Why 2FA is Critical</h4><p>Two-Factor Authentication (2FA) adds an extra layer of security. Even if an attacker knows your password, they <strong>cannot access your account without the second factor</strong> — usually a temporary code or push notification.</p><p>Disabling 2FA significantly weakens account security, opening the door for account takeover with just a password.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/727/1*_zx8i7ehwn_UciW6uIYDaA.png" /><figcaption>2FA Authentication</figcaption></figure><h4>Impact:</h4><p>This vulnerability allows an attacker to forcibly disable 2FA on a victim’s account by exploiting the trust the server places in authenticated user sessions. Since 2FA is a critical layer of protection, disabling it without re-authentication opens the door to account takeover via credential stuffing or password reuse. The lack of CSRF tokens, SameSite cookie restrictions,<br>and origin validation significantly amplifies the severity. This issue compromises user account integrity and breaks a core security control.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/443/1*ck53laiZ90-N8vFkS62o7g.png" /><figcaption>Impact</figcaption></figure><h4>Steps to Reproduce:</h4><ol><li>Create Account A for (Attacker) and Account B for (Victim) and varify the the both accounts.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0hAPSsfiPfM2J_h8Exim5g.jpeg" /><figcaption>Attacker &amp; Victim Accounts</figcaption></figure><p>2. Login into account A in Chrome and account B in a FireFox browser.</p><p>3. While disbale 2FA intercept the request of 2FA functionality of attacker account A using burp suite and generate csrf and save into csrf.html file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7AQnGHttZkhv0R1DR6RJLw.jpeg" /><figcaption>CSRF Request</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*teMqI9d-u4zdM_b3fErr7A.jpeg" /><figcaption>CSRF POC</figcaption></figure><p>4. In FireFox browser login into victim account B and open csrf poc file (csrf.html) in same browser where victim is login .</p><p>5. Click on button , the malicious page automatically submits the form in the background without any user interaction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6saeDeiM7ZGvQ7S6hiR-YQ.jpeg" /><figcaption>Submit Request</figcaption></figure><p>6. The server accepts the unauthorized POST request and disables 2FA on the victim’s account without confirmation or CSRF protection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/876/1*pxU-NdVK-1XrGKfUtlEYvA.jpeg" /><figcaption>Disable 2FA Via CSRF</figcaption></figure><h4>Recommendation:</h4><p>• Implement anti-CSRF tokens for all sensitive POST actions.<br>• Set session cookies with SameSite=Strict or Lax.<br>• Validate Origin and Referer headers to ensure requests come from your domain.<br>• Require password re-authentication before disabling 2FA.<br>• Log and notify users of any 2FA status change for visibility.</p><p>Create Account A for (Attacker) and Account B for (Victim) and varify the</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=61830039d38c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Made it to the Hall of Fame: Exposed Django App Files & Database Credential via Public…]]></title>
            <link>https://medium.com/@zaeem750/how-i-made-it-to-the-hall-of-fame-exposed-django-app-files-database-credential-via-public-2d9fd40e57ef?source=rss-d2edad647817------2</link>
            <guid isPermaLink="false">https://medium.com/p/2d9fd40e57ef</guid>
            <dc:creator><![CDATA[zaeem750]]></dc:creator>
            <pubDate>Thu, 14 Aug 2025 09:16:32 GMT</pubDate>
            <atom:updated>2025-08-14T09:16:32.617Z</atom:updated>
            <content:encoded><![CDATA[<h3>How I Made it to the Hall of Fame: Exposed Django App Files &amp; Database Credential via Public Directory Listing</h3><p>Hi Hackers,</p><p>My Name is M. Zaeem Shafqat , I am a security researcher and bug hunter. In this article, I’ll walk you through how a simple Google Dork led me to a major find — an exposed Django application leaking source code, credentials, and a live database — which earned me a spot in the Hall of Fame.</p><h3><strong>What is Information Disclosure?</strong></h3><p><strong>Information Disclosure</strong> is a vulnerability where sensitive data is unintentionally exposed to unauthorized users. This data can include:</p><ul><li>Application source code</li><li>Server configurations</li><li>Credentials (API keys, database credentials, secret keys etc)</li><li>Backup files</li><li>Error messages or logs</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/949/1*jK-VZ35HHeIo7WCq3W4DUA.png" /><figcaption>Sensitive Info Disclosure</figcaption></figure><h3><strong>What is Google Dorking?</strong></h3><p><strong>Google Dorking</strong> is the use of <strong>advanced Google search operators</strong> to find misconfigured or exposed unintentionally content on websites.</p><p>It’s <strong>not hacking</strong> in the exploitative sense. It’s <strong>search-based reconnaissance</strong> (first phase of testing)— asking Google smart questions that reveal sensitive stuff already indexed.</p><p>❗ <strong>Why this works</strong>: Web servers are often misconfigured and expose internal folders. If crawlers (like Google) index them, anyone can find them with the right query.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rGDpEsYVburZJ19_FHM6GQ.jpeg" /><figcaption>Advanced Searching Technique</figcaption></figure><h3>How I Found a Public Django App Leaking Source Code, Secrets, and Database Credential</h3><p>Now, here’s the real case that earned me <strong>Hall of Fame</strong> recognition.</p><h4>Steps to Reproduce</h4><ol><li>Use this Google Dork to find sensitive information such as database credentials. Sometimes, developers unintentionally forget to remove or secure such information in public-facing code</li></ol><pre>site:example.com intitle:&quot;index of&quot; db</pre><p><em>This query targets the </em><strong><em>example.com</em></strong><em> domain and looks for public directory listings (</em><strong><em>“index of”</em></strong><em>) containing files or folders with the term </em><strong><em>db.</em></strong></p><p>2. Manually navigate through accessible directories and observe what sensitive files or data are exposed like db.sqlite3 o manage.py o /scrna/settings.py</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/490/1*ctMC9Wh8MeZDil--xPfitg.png" /><figcaption><strong>Sensitive Directories and Folders</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/385/1*yWgAHY6DZOsYYjRWzbyXVA.png" /><figcaption><strong>Sensitive Files</strong></figcaption></figure><p><strong><em>Once opened, I found:</em></strong></p><ul><li><strong>db.sqlite3 </strong>— live application database credentials</li><li><strong>settings.py</strong> — containing the Django secret_key, debug status, and potentially credentials</li><li><strong>Core files:</strong> like <em>manage.py, urls.py, wsgi.py</em></li><li>Compiled <em>.pyc</em> files</li><li><strong>Application folders:</strong> /scrna/, /static/, /templates/</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/1*WN3wqyjKN9Kk8C5EBhMuAA.jpeg" /><figcaption><strong>settings.py</strong></figcaption></figure><h3>Security Impact</h3><p>The exposure of sensitive Django application files and the db.sqlite3 database poses a significant security risk. An attacker can download and analyze the application’s source code, revealing internal logic, endpoints, and potentially sensitive configurations such as the SECRET_KEY, debug mode status, and database credentials and try to SQL injection. Access to the SQLite database can lead to the extraction of user data or authentication details, depending on what the application stores. This not only compromises the confidentiality of the system but also opens the door to local replication of the application, password brute-force attempts, and further exploitation. If the leaked data includes personally identifiable information (PII), it may also lead to privacy violations and legal implications under data protection regulations. The overall impact includes data leakage, application compromise, and reputational damage to the organization.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gRtB3hIsO5mVNfBejjsU9g.png" /><figcaption><strong>Security Impact</strong></figcaption></figure><h3>Recommendations to Prevent Exposure</h3><ul><li>Disable directory listing by updating server configurations (e.g., Options -Indexes in Apache, autoindex off;) to prevent unauthorized file access.</li><li>Move sensitive files (e.g., db.sqlite3, .py, settings.py) outside the web root and enforce strict file permissions.</li><li>Conduct regular security audits, implement a WAF, and review the server/application structure to identify and fix exposures.</li></ul><h3><strong>Hall of Fame</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ztzuIJAfjBjm_3_XqPH8DQ.jpeg" /><figcaption><strong>Hall of Fame</strong></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d9fd40e57ef" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>