<?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 Aryah on Medium]]></title>
        <description><![CDATA[Stories by Aryah on Medium]]></description>
        <link>https://medium.com/@aryampillai?source=rss-ce141bbb857b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*d3ekIQZsC9iJMxHvq65xpw@2x.jpeg</url>
            <title>Stories by Aryah on Medium</title>
            <link>https://medium.com/@aryampillai?source=rss-ce141bbb857b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 07:27:54 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aryampillai/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How I Bypassed Open Redirect Validation in a Logout Endpoint]]></title>
            <link>https://medium.com/@aryampillai/how-i-bypassed-open-redirect-validation-in-a-logout-endpoint-f23ef323b799?source=rss-ce141bbb857b------2</link>
            <guid isPermaLink="false">https://medium.com/p/f23ef323b799</guid>
            <category><![CDATA[bug-bounty-writeup]]></category>
            <category><![CDATA[bugbounty-tips]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[open-redirect]]></category>
            <category><![CDATA[bugbounty-writeup]]></category>
            <dc:creator><![CDATA[Aryah]]></dc:creator>
            <pubDate>Sun, 24 May 2026 08:34:59 GMT</pubDate>
            <atom:updated>2026-05-24T08:34:59.235Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vjqaUnE3L1zu0BDJySjz3Q.png" /></figure><p>Hey Guys Arya here ,</p><p>Today iam back with a new write up about one of my open redirect finding .</p><p>So what is Open redirect</p><p>Open redirect is a Vulnerability that allow attacker to redirect users to a malicious site through a trusted domain .</p><p>In a simple term an attacker can craft a specially designed URL from a legitimate website and trick victims into visiting a malicious page.</p><p>that’s it simple ..</p><h3>How I Found the Open Redirect</h3><p>While testing the target I came across the logout functionality. At first glance, it looked like a simple logout endpoint with nothing interesting.no visible parameters or anything unusual.</p><p>But at that point, I started thinking about what kind of attacks I could test here. Since there were no obvious parameters I decided to hunt for hidden or previously used parameters. So For this stage I used ParamSpider .</p><p>What is ParamSpider</p><p>It is a tool that uses to discover URL parameters from archived sources such as:</p><ul><li>Wayback Machine</li><li>Common Crawl</li><li>AlienVault OTX</li></ul><p>During enumeration process i found several promising parameters . but one caught my eyes</p><p>referer</p><p>Parameters like these are usually interesting for Open Redirect testing</p><p>redirect<br>return<br>next<br>referer</p><p>So i manually crafted the endpoint like this :</p><p><a href="https://www.target.com/logout?referer=">https://www.target.com/logout?referer=</a></p><p>I started testing common Open redirect patterns here like</p><p>referer=<a href="https://evil.com/">https://evil.com</a><br>referer=//evil.com<br>referer=https:%2f%2fevil.com</p><p>but nothing worked the application blocking all . after some time i realized that this is the time to give up . but guess what i didn’t.</p><p>i tried to connect all the things that i had noticed while testing</p><p>brain is braining ….</p><p>suddenly i remembered one thing , the application seems to trust urls that contains the target domain name</p><p>This point ..</p><p>I crafted Some thing like this :</p><p><a href="https://www.target.com/logout/refered=https://www.target.com.evil.com">https://www.target.com/logout/refered=https://www.target.com.evil.com</a></p><p>Tadaaa…… yeah we did it …</p><p>The website successfully redirected to the Evil.com . we bypassed the protection.</p><p>Impact</p><p>An attacker could abuse this vulnerability to redirect users from a trusted domain to an attacker controlled website. Because the malicious link originates from a legitimate domain, users may be more likely to trust and click it. This could lead to:</p><ul><li>Phishing attacks</li><li>Credential theft</li><li>Social engineering attacks</li><li>Malware distribution</li><li>Bypassing URL trust filters</li></ul><p>Mitigation</p><p>The application should properly validate redirect destinations before performing any redirect action. Instead of trusting user controlled input directly, the application should:</p><ul><li>Use an allow list of trusted domains</li><li>Reject external URLs</li><li>Validate the actual host name properly</li></ul><p>This was a really interesting finding for me . a simple logout functionality ended up as a vulnerability .</p><p>But Unfortunately my finding marked as duplicated . even though it was good .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SF7SGRd6e1FnIe3vG-R1mg.jpeg" /></figure><p>Thanks for reading ….</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f23ef323b799" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Remote Code Execution (RCE) from a Secure Code Review Perspective]]></title>
            <link>https://medium.com/@aryampillai/remote-code-execution-rce-from-a-secure-code-review-perspective-55b560cdde47?source=rss-ce141bbb857b------2</link>
            <guid isPermaLink="false">https://medium.com/p/55b560cdde47</guid>
            <category><![CDATA[appsec]]></category>
            <category><![CDATA[vulnerability]]></category>
            <category><![CDATA[secure-code-review]]></category>
            <category><![CDATA[rce]]></category>
            <dc:creator><![CDATA[Aryah]]></dc:creator>
            <pubDate>Sun, 17 May 2026 12:03:55 GMT</pubDate>
            <atom:updated>2026-05-17T12:06:36.081Z</atom:updated>
            <content:encoded><![CDATA[<p>I know It’s been a long time since I published anything related to secure code review.After taking a break, everything felt new again. Busy schedules, constant learning, and trying to improve my skills kept me occupied for quite a while. but now i am back with a new topic as a secure code reviewer perspective .</p><p>lest get dive into today’s topic ….</p><p>first lets start from the basics</p><p>What is Remote Code Execution ?</p><p>Remote code Execution aka known as RCE is the one of the most critical vulnerabilities in application security because it allows attackers to execute arbitrary commands or code on the target server.</p><p>what is arbitrary commands ?</p><p>Commands chosen and controlled by the attacker. (simple right ?)</p><p>For example, if an application executes system commands using user supplied input without proper validation an attacker may inject their own commands into the application.</p><p>google.com; whoami</p><p>every thing feels simple when you understand it the right way like this 😌</p><p>Now let’s move into the interesting part identifying RCE from a secure code reviewer’s perspective.</p><p>One thing i understood while learning secure code review is that real vulnerabilities are almost never shown directly most of the time Vulnerabilities are hidden behind App logic , functions etc.</p><p>How to find RCE while Reviewing Code .</p><p>RCE never happens directly it will happens due to the combination of many other vulnerabilities like Command injection , SSTI , File Uploading Vulnerabilities etc.</p><p>Here is the main formula that you should follow while review codes</p><p>SOURCE → FLOW → SINK</p><p>Source : where the attacker controlled input enters the application (the User Input fields )</p><p>eg: domain = request.args.get(“domain”)</p><p>Flow: means how the data moves inside the application.</p><p>eg: command = “ping “ + domain (here usually user controlled input became a part of the command)</p><p>Sink : This is the most dangerous function that is capable to execute commands .</p><p>eg: os.system() [python]</p><p>shell_exec() [PHP]</p><p>How RCE Happens</p><p>when learning about rce at first confused me . But once I understood the flow properly, everything started making sense.</p><p>RCE usually happens when application trust user input then passes the user input into dangerous functions and execute it without proper sanitization. thats the basic idea now when u look at the above code snippet i could understand what i said .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/426/1*ui7iIi2rqm8KhKcgvWq1GA.png" /><figcaption>RCE via Command injection</figcaption></figure><p>If a user tries to inject shell operators into the input field, for example ip=8.8.8.8; whoami , the application successfully processes the request and executes the user-supplied input as a system command because shell_exec($cmd) is used in the backend. As a result, command injection is possible which may further lead to Remote Code Execution (RCE).</p><p>sometimes developers think they are only allowing users to perform simple operations like here . but the scary part is f user-controlled input reaches dangerous execution functions insecurely attackers may completely compromise the server.</p><p>Impact of RCE</p><ul><li>read sensitive files</li><li>access database credentials</li><li>modify or delete important data</li><li>upload malware or backdoors</li><li>gain reverse shell access</li><li>move laterally inside internal networks</li><li>take full control over the server</li></ul><p>Mitigation</p><p>One of the biggest mistakes developers make is directly passing user input into system command functions like:</p><p>shell_exec()</p><p>system()</p><p>exec()</p><p>Especially when the input is concatenated directly into commands like $cmd = “ping -c 1 “ . $ip;</p><p>Instead of executing commands through the shell directly, developers should use safer alternatives whenever possible. like this subprocess.run([“ping”, “-c”, “1”, ip], shell=False)</p><p>Validate user input</p><p>That’s it for this write up<br>I hope this helped you understand RCE from a secure code reviewer’s perspective in a simple way.</p><p>See you in the next write up 😌</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=55b560cdde47" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[JWT Token leads to PII exposure]]></title>
            <link>https://medium.com/@aryampillai/jwt-token-leads-to-pii-exposure-05e9e614dfa4?source=rss-ce141bbb857b------2</link>
            <guid isPermaLink="false">https://medium.com/p/05e9e614dfa4</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[jwt]]></category>
            <dc:creator><![CDATA[Aryah]]></dc:creator>
            <pubDate>Sun, 26 Apr 2026 13:50:31 GMT</pubDate>
            <atom:updated>2026-04-26T13:50:31.025Z</atom:updated>
            <content:encoded><![CDATA[<p>Hey mates, it’s been a long time since I posted anything about bug bounty. I was quite occupied, that’s the reason. I also missed my bug bounty journey.</p><p>But honestly, now I restarted my bug bounty cycle the journey that never made me feel daunted.</p><p>So back on track…..</p><p>Today I’m going to share a finding that most hunters miss: JWT. Yeah, you heard it right.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/968/1*SRNXwOqj0iSNFISir3KFPA.png" /></figure><p>I hope everybody knows about JWT tokens. For those who don’t know about JWT tokens, basically JWT is a stateless Base64-encoded authentication token used for authentication. Stateless means the server creates the token but doesn’t store it.</p><p>A JWT token has 3 different parts separated by dots: header, payload, and signature. The header contains the algorithm and type. The payload contains basic user information and issuer details. And last but not least, the signature contains the data of the header, payload, and also a signature key.</p><p>This is all about JWT tokens. Now you know what a JWT token is, let’s get into the finding.</p><p>The target was a popular healthcare patient portal. I’ll call it redacted.com for obvious reasons, a platform dealing with real patients and real data.</p><p>I was just doing my usual recon after logging in, nothing fancy. I opened DevTools, went to the Application tab, checked local storage, and there was a JWT token sitting right there.</p><p>Now normally, most hunters just see a JWT and move on. It’s just an auth token, right? Nothing interesting.</p><p>But I copied it, went to jwt.io, pasted it, and when I saw the payload, I was like wait, what?</p><p>There it was the mobile_field, the patient&#39;s actual phone number, and right next to it, the patient&#39;s email address was sitting there in plaintext, along with a bunch of internal IDs.</p><p>At this point, I was like, what the heck bro? Does anybody store sensitive information in the payload?</p><p>Remember what I just told you about JWT payloads? Yeah, they are Base64 encoded, not encrypted. Literally anyone can decode them. No tools needed, no hacking skills needed just paste it into jwt.io and read. That’s it.</p><p>But okay, here’s where it gets even more interesting. I checked the token expiry, looked at the iat and exp fields, and bro 42 days.</p><p>So even if someone gets their hands on your token once, they have 42 days to use that phone number and email however they want.</p><p>I know now you guys are like, “Okay, but how would someone even get the token?” But don’t worry, let me walk you through that point as well.</p><ul><li>A malicious browser extension silently reads local storage in the background</li><li>An XSS attack</li><li>If the website doesn’t have proper session management</li></ul><p>The possibilities were huge, but I was like, bro why are they storing sensitive information in the JWT token? Is that necessary??</p><p>The server only needs a user ID to identify who you are. The phone number and email are sitting there for absolutely zero reason.</p><p>This is a design flaw at its core. Storing sensitive information in JWT tokens is a bad practice.</p><p>Now the reporting stage.</p><p>I reported this, and they accepted it responsibly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W8VWyAA8qVcFWb9yj44DRA.png" /></figure><h3>What is the fix?</h3><p>Remove all PII from the JWT payload.<br> Reduce token expiry from 42 days to 1 to 24 hours max.</p><p>Simple, right?</p><h3>Takeaways</h3><p>Sometimes simple things offer you something valuable.</p><p>Look, I didn’t do any fancy hacking just recon, only recon.</p><p>Most hunters completely skip this step, and that’s exactly why it’s worth doing. You never know what a developer casually threw inside that payload.</p><p>Happy hunting 🐛🐛🐛</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=05e9e614dfa4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How i see Path Traversal as a code reviewer]]></title>
            <link>https://medium.com/@aryampillai/how-i-see-path-traversal-as-a-code-reviewer-b2ed7981788b?source=rss-ce141bbb857b------2</link>
            <guid isPermaLink="false">https://medium.com/p/b2ed7981788b</guid>
            <dc:creator><![CDATA[Aryah]]></dc:creator>
            <pubDate>Sat, 14 Mar 2026 09:09:20 GMT</pubDate>
            <atom:updated>2026-03-14T13:16:01.503Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/486/1*QR4jgRvoxtuisS2Ks29Ksw.png" /></figure><p>Imagine a file download endpoint that accepts a filename from the user.<br>At first glance it seems harmless… until an attacker sends something like:</p><p>../../etc/passwd</p><p>Suddenly the application might start returning system files.</p><p>Welcome back guys today I’m sharing how I look for Path traversal vulnerability from secure code review perspective.</p><p>what is path traversal ?</p><p>Path traversal (also known as directory traversal or dot-dot-slash attacks) allows attackers to access files outside the intended directory by manipulating file paths. This vulnerability can lead to sensitive data exposure, source code leakage, and in severe cases, remote code execution.</p><p>How Does the Attack Work ?</p><p>Most web applications store files inside a specific base directory. For example : /var/www/app/uploads/. When a user requests a file, the app construct a file path like this: /var/www/app/uploads/ + user input . if a user request for image.jpg the server loads /var/www/app/uploads/image.jpg</p><p>but what if a user request something like this ../../etc/passwd bhoom here the game changes .</p><figure><img alt="workflow" src="https://cdn-images-1.medium.com/max/1024/1*Afc-LAuDI0Y7FvkHRaYozQ.jpeg" /><figcaption>work flow</figcaption></figure><p>The path became this /var/www/app/uploads/../../etc/passwd</p><p>(The ../ sequence moves one directory up in the file system)</p><p>it returns the contents of the system password file , exposing sensitive information. And in modern apps always try to block ../ . so here attackers use encoding tricks like url , double and mixed encoding</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/682/1*4Z6wBHZgHOx0kM94yE2HRw.jpeg" /><figcaption>DIR Resolution</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/503/1*44O3JeHljNu0nONAxCN_Gw.png" /><figcaption>encoding tricks</figcaption></figure><p>So here comes the role of secure code practicing .</p><p>Secure code practicing have a major role from preventing vulnerabilities before they reach production.</p><p>when reviewing a code i usually start by looking the operations that user controls . if the user controlled input directly concatenating with the file path there is a high chance for path traversal .</p><p>filepath = “/var/www/app/uploads/” + filename</p><p>The same issue appears when using os.path.join() at a glance it looks cleaner but it does the same thing. It just joins the strings. It doesn&#39;t check where the path ends up.</p><p>filepath = os.path.join(&quot;/var/www/app/uploads/&quot;, filename)</p><p>So if an attacker passes ../../etc/passwd as the filename both of these build a path straight to /etc/passwd. No check.</p><p>so here is vulnerable snippet for a better understanding .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/604/1*kPPgbnaecbikAOS8bLigCQ.jpeg" /></figure><p>IMPACT</p><p><strong>Sensitive data exposure : </strong>system files like /etc/passwd, /etc/shadow, database config files, and private keys become readable.</p><p><strong>Source code leakage : </strong>attackers can read your application source code, exposing business logic and hardcoded credentials.</p><p><strong>Credential theft</strong> : config files like database.yml or .env often contain plaintext passwords. One traversal request and they have it.</p><p><strong>Full organization compromise : </strong>with enough sensitive files read, attackers can pivot to deeper access internal systems, cloud credentials, admin panels.</p><p>MITIGATIONS</p><p>Here is how I fix path traversal when I spot it in a code review.</p><ol><li>Use os.path.realpath()</li><li>use an allowlist</li><li>Never use string concatenation for file paths. {Always do this : filepath = os.path.realpath(os.path.join(BASE_DIR, filename)) }</li><li>Validate file extensions.</li></ol><p>In the end, secure code review is not just about reading code it’s about thinking like an attacker and identify where assumptions can be abused</p><p>that’s it guys..</p><p>#securecodereview #web #attacks #hack #vulnerability #code</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b2ed7981788b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SQL Injection: What a Secure Code Reviewer Sees That Developers Don’t]]></title>
            <link>https://medium.com/@aryampillai/sql-injection-what-a-secure-code-reviewer-sees-that-developers-dont-7a29fa4e7ed8?source=rss-ce141bbb857b------2</link>
            <guid isPermaLink="false">https://medium.com/p/7a29fa4e7ed8</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[codereviewtips]]></category>
            <category><![CDATA[devsecops]]></category>
            <dc:creator><![CDATA[Aryah]]></dc:creator>
            <pubDate>Fri, 06 Mar 2026 07:33:18 GMT</pubDate>
            <atom:updated>2026-03-06T07:33:18.724Z</atom:updated>
            <content:encoded><![CDATA[<p>For a long time i saw security through the eyes of a Bug Hunter . My world was like Bypass tricks , Payloads, Burpsuite , Terminal . but one day everything changed the day i sat on the other side of the table .</p><p>I got asked to review the backend code . No target urls , No input fields , No testing environments . Only just one thing “Source Code”</p><p>And suddenly I realized something : Bug hunting taught me Impact But code review taught me Cause …</p><p>Back to our main point SQL Injection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0RmJIq_8i1y8BJ8Vnz23Rw.png" /></figure><p>In this article we are gonna learn how to review a code for finding SQL injection Vulnerability .</p><p>SQL Injection suddenly looked very different. I wasn’t thinking about payloads anymore Because the code review you dont see the errors , time delays , responses leaking tables anything . When you’re reviewing live applications, you think like a bug hunter But when you review source code you are chasing patterns ..</p><p>The Patterns you should check</p><p>here is most developers mess up and where code reviewers win.</p><p>Concatenation : This is basically when a developer “glues” the SQL query together with the user’s input.</p><p>query = “SELECT * FROM users WHERE name = ‘“ + name + “‘“</p><p>String Building: Same thing as concatenation, just written in a fancier way.</p><p>query = f”SELECT * FROM users WHERE email = ‘{email}’”</p><p>String Formatting : Just another way of inserting variables into SQL.</p><p>query = “SELECT * FROM logs WHERE level=’%s’” % level</p><p>LIKE-based SQL Building : In Python, the most common injection spot I see during code reviews isn’t even login pages or ID lookups it’s search bars .</p><p>query = f”SELECT * FROM products WHERE name LIKE ‘%{keyword}%’”</p><p>Raw SQL in ORM : Usually ORMs protects until devs writes raw SQL manually.</p><p>cursor.execute(f”SELECT * FROM orders WHERE status = ‘{status}’”)</p><p>Mitigations</p><p>At the end of the day, no matter how the SQL was written concatenation, f-strings, formatting, LIKE patterns, raw ORM queries every single one of them shares the same root problem.User input is directly concatinating with sql query . so server will treat user input as command instead of data .</p><p>Write the SQL with placeholders.</p><p>Use Parameterized query</p><p>(“A parameterized query separates the SQL command from the user input”)</p><p>Pass the user input separately.</p><p>Let the database handle escaping and safety.</p><p>That’s it…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7a29fa4e7ed8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Secure Code Review Series]]></title>
            <link>https://medium.com/@aryampillai/secure-code-review-series-66ec8224f0d2?source=rss-ce141bbb857b------2</link>
            <guid isPermaLink="false">https://medium.com/p/66ec8224f0d2</guid>
            <category><![CDATA[devsecops]]></category>
            <category><![CDATA[secure-code-review]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Aryah]]></dc:creator>
            <pubDate>Fri, 06 Mar 2026 07:28:10 GMT</pubDate>
            <atom:updated>2026-03-06T07:28:10.526Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VkH49XREmfxOr0uVz_MuCQ.jpeg" /></figure><p>Hey 👋</p><p>I’m starting a new series based on my experiences and findings as a secure code reviewer.</p><p>As bug bounty hunters, we usually see vulnerabilities through HTTP requests, responses, payloads, and how the application behaves externally.</p><p>But during secure code review, vulnerabilities look completely different. Instead of observing behavior from the outside, we analyze patterns directly in the source code.</p><p>Things like:<br>• User input concatenated into queries<br>• Unsafe string formatting</p><p>These patterns often reveal vulnerabilities even before the application is run.</p><p>In this series, I’ll walk through how common security issues appear during backend source code review and what security reviewers usually look for while analyzing code.</p><p>Articles in this series:</p><p>1️⃣ Secure Code Review #1 — SQL Injection: What a Secure Code Reviewer Sees That Developers Don’t</p><p>More articles coming soon in this series.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=66ec8224f0d2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HOW I GOT PII VIA XSS]]></title>
            <link>https://medium.com/@aryampillai/how-i-got-pii-via-xss-a839e4ec0abf?source=rss-ce141bbb857b------2</link>
            <guid isPermaLink="false">https://medium.com/p/a839e4ec0abf</guid>
            <dc:creator><![CDATA[Aryah]]></dc:creator>
            <pubDate>Fri, 19 Dec 2025 20:07:56 GMT</pubDate>
            <atom:updated>2025-12-22T08:41:06.169Z</atom:updated>
            <content:encoded><![CDATA[<h3>How I Leaked Real User PII Using a Blind XSS</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/382/1*GvT2QMTYFWTbG-U0ryfOqA@2x.jpeg" /></figure><p>Hey guys, I’m back with another writeup ✋🏻<br>This write up is all about XSS.First of all, I’m too lazy to test XSS .</p><p>How it started,</p><p>One day, I suddenly got the urge to test XSS.I chose a random program, collected all the subdomains, i started visiting and exploring and tested them manually. After some time, it started to feel daunting.I tested many endpoints for XSS, but the WAF was blocking everything.Slowly my mind started murmuring, “Just give up.”But at the same time, I really wanted to find an XSS. The last attempt As a final attempt, I visited one subdomain:<a href="https://chat.example.com/">https://chat.example.com</a> Basically, it was a feedback feature where users can submit feedback blah blah blah. We all know that feedback forms are classic places to test XSS. You know it. I know it. Everybody knows it.<br>So I tested some payloads.. Nothing worked again.I was frustrated.</p><p>The memory flash ⚡</p><p>At that moment, my memory suddenly blinked.A few months back, I had read a Medium write up where a hunter found XSS using BXSS Hunter.<br>So I thought: Why don’t I try that?</p><p>What is BXSS Hunter?</p><p>(For those who don’t know)<br>BXSS Hunter isn’t a specific tool but refers to methods or systems designed to find <a href="https://www.google.com/search?q=Blind+Cross-Site+Scripting+%28BXSS%29&amp;client=firefox-b-d&amp;hs=rCLU&amp;sca_esv=f6c74f9de523a440&amp;sxsrf=AE3TifPkecJNS-5rnUKv6UxQKBOLh8hzCg%3A1766173506029&amp;ei=QqtFacDHAbGb4-EPpdSliQc&amp;ved=2ahUKEwjcpZWVtcqRAxX7yzgGHanjOJEQgK4QegQIARAB&amp;uact=5&amp;oq=what+is+BXSS+Hunter&amp;gs_lp=Egxnd3Mtd2l6LXNlcnAiE3doYXQgaXMgQlhTUyBIdW50ZXIyBhAAGA0YHjILEAAYgAQYhgMYigUyCxAAGIAEGIYDGIoFMgsQABiABBiGAxiKBTILEAAYgAQYhgMYigUyBRAAGO8FMgUQABjvBUirL1C3C1i0KnABeACQAQCYAfUBoAHFCKoBBTEuNy4xuAEDyAEA-AEBmAIJoAKQCMICChAAGLADGNYEGEfCAgoQIRigARjDBBgKwgIHEAAYgAQYDcICCBAAGAgYDRgemAMAiAYBkAYIkgcFMS43LjGgB8s3sgcFMC43LjG4B4YIwgcFMC4xLjjIByKACAA&amp;sclient=gws-wiz-serp&amp;mstk=AUtExfDK1GiUBbSu423RkgIgwY2sjlK1iLchmOmGls1WwA1zzT_fGQMNIlj4xcsZlMyxWlYL6H68nBN3Da8GX8aErr6709vTVx7TUJVo6CR_o0ggS0nk8gXGJ02Sc-kl1zpQET42F7ckeD4RGlfIVinxS4QFm6AX4ZrgmxS1C8ZG-C4w3TiLf9QM0yUpiItwFz67dXqMGbx9MHWBMKpxysJWPdyEOkj1XZdnAgsxA71IHQzpj73DPja5Lc-cP4MSigwCDdSO0dWydTMFuqNfT3ulvH_o&amp;csui=3"><strong>Blind Cross-Site Scripting (BXSS)</strong></a> vulnerabilities, a type where malicious code (payload) is injected into web apps but executed on a hidden, backend system (like an admin panel) not directly controlled by the attacker, making detection hard. These “hunters” use clever techniques, like sending payloads that “phone home” or trigger actions, to confirm the vulnerability and steal data from the inaccessible admin interface, often using special “polyglot” scripts to work across different injection points.</p><p>The real move</p><p>I injected a payload from BXSS Hunter into the feedback form and left there. And then… I forgot about it.<br>After a few days, I randomly opened BXSS Hunter.<br>And guess what?<br>I was astonished and really happy. It worked.I received All feedback messages submitted by users over the past few days PII data, not just simple feedback.The BXSS Hunter payload was successfully triggered, giving me full information.The feeling was on another level.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/375/1*9Goshr08edIl05abEkTmAQ@2x.jpeg" /></figure><p>Reporting</p><p>I immediately wrote a detailed report and submitted it to the program.</p><p>Final thoughts</p><p>Sometimes, when nothing works and you feel like giving up,<br>trying a different approach can make all the difference.<br>Blind XSS really saved the day for me.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*SujEKj0EKtd4PCWKJdVsNw@2x.jpeg" /></figure><p>#bugbounty #infosec #cybersecurity #websecurity #ethicalhacking #bugbounty #cybersecurity #ethicalhacking #infosec #websecurity #pentesting #securityresearch #webapplicationsecurity #bugbountytips<br> #hackingstories #nginx #recon #wapt #owasp</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a839e4ec0abf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Turned a 403 Forbidden Into a 200 OK]]></title>
            <link>https://medium.com/@aryampillai/how-i-turned-a-403-forbidden-into-a-200-ok-0149ca3e0db6?source=rss-ce141bbb857b------2</link>
            <guid isPermaLink="false">https://medium.com/p/0149ca3e0db6</guid>
            <category><![CDATA[web-security]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Aryah]]></dc:creator>
            <pubDate>Thu, 11 Dec 2025 13:38:42 GMT</pubDate>
            <atom:updated>2025-12-13T13:14:03.517Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/368/1*unyJ0mWdmMPwEbyxpREz_w@2x.jpeg" /></figure><p>Every bug bounty hunter knows the pain of hitting a 403 forbidden .Sometimes it means “nothing here”. But sometimes… it hides gold.</p><p>This is the story of how a subdomain that looked absolutely dead suddenly gave me full access to nginx.conf, just because I tried one last fuzzing.</p><p>Like every bounty session, I started with subdomain enum. One subdomain immediately caught my attention.I opened it in the browser.</p><p>Obviously its a 403 Forbidden .</p><p>Most hunters would close the tab here. but not me .</p><p>tried all the bypass trick like:</p><ul><li>Method changes</li><li>Path encoding</li><li>Slash tricks</li><li>Adding random headers</li><li>X-Forwarded-For</li><li>Cache header bypass</li><li>URL casing</li></ul><p>but nothing gives me a green flag .</p><p>so i was about to stop here . but was like give a last try , Lemme try fuzz once . So I did a normal fuzzing and again almost everything was 403 . but i was not ready to give up i fuzzed again in this time the magic was happend</p><p>BHOOM 💥</p><p>i got 200 ok for config</p><p>i was like what’s happening here dude you got a 200 ok inside the 403</p><p>So I continued fuzzing inside /config</p><p>And guess what i got again 200 OK for this /config/nginx.conf</p><p>I opened it in the browser and bhoom an nginx.conf is automatically downloaded .</p><p>The file had</p><ul><li>Server blocks</li><li>Internal routes</li><li>Proxy configs</li><li>Backend IPs</li><li>Log paths</li><li>Security rules</li></ul><p>Basically the whole blueprint of the server.</p><p>This is extremely dangerous info to expose publicly because it can easily lead to bigger issues.</p><p>Why This Was Possible.</p><p>The main site’s root path was protected by some 403 rule probably WAF or server ACL. But the /config folder wasn’t protected at all.</p><p>What I Learned</p><p>Don’t stop at bypassing only the root path.</p><p>Always fuzz inside 403s.</p><p>Never leave a subdomain after a single 403.</p><p>Thanks for ready this guys and i hope you likes .</p><p>If you’ve ever bypassed a 403 in a creative way, drop your experience 👇</p><p>#bugbounty #cybersecurity #ethicalhacking #infosec #websecurity #pentesting #securityresearch #webapplicationsecurity #bugbountytips<br> #hackingstories #nginx #recon #wapt #owasp</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0149ca3e0db6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Brain Just Brained. OTP Went Poof.]]></title>
            <link>https://medium.com/@aryampillai/my-brain-just-brained-otp-went-poof-e78234659239?source=rss-ce141bbb857b------2</link>
            <guid isPermaLink="false">https://medium.com/p/e78234659239</guid>
            <dc:creator><![CDATA[Aryah]]></dc:creator>
            <pubDate>Fri, 14 Nov 2025 17:38:56 GMT</pubDate>
            <atom:updated>2025-11-14T17:40:38.813Z</atom:updated>
            <content:encoded><![CDATA[<p>I was testing a target website, trying every trick I knew to bypass OTP verification.</p><p>Nothing worked.</p><p>It felt frustrating, and honestly, I was about to give up.</p><p>But then Burp Suite stared at me like:</p><p>“Pookie💞.. you forgot I exist.”</p><p>During one of the login attempts, I noticed something weird a successful OTP verification response coming from the server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/590/1*b626HMnIBDjM8wTZMfLn5Q@2x.jpeg" /></figure><p>My brain clicked.</p><p>“What if I play with this?”</p><p>So I tried something simple:</p><p>I captured the valid OTP success response in Burp.</p><p>Then I logged out, cleared the session, and started the login flow again.</p><p>This time, I intentionally entered a wrong OTP.</p><p>When the server sent the “OTP failed” response, I intercepted it…</p><p>And replaced it with the previously captured valid response.</p><p>Forwarded it.</p><p>Boom. .💥 Logged in successfully.</p><p>The OTP was completely bypassed.</p><p>Just by replaying an old success response.</p><p>The server was trusting any valid-looking response even if the OTP was wrong.</p><p>🔁 Reproduction Steps</p><p>Start login → enter email → request OTP</p><p>Enter correct OTP → capture the successful verify response</p><p>Log out and clear session</p><p>Start login again → request OTP</p><p>Enter wrong OTP</p><p>Intercept the failed response</p><p>Replace it with the previously captured successful OTP response</p><p>Forward → Access granted</p><p>💥 Impact</p><p>OTP verification becomes completely useless</p><p>Attackers can log in with any email/phone</p><p>Old OTP responses can be automated and replayed</p><p>Server treats an invalid login as valid, leading to full account access</p><p>🙂 Final Note</p><p>Sadly, the report was marked as a duplicate</p><p>but the learning was worth it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e78234659239" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The easiest CVE. Ever]]></title>
            <link>https://medium.com/@aryampillai/the-easiest-cve-ever-cdbb93537fec?source=rss-ce141bbb857b------2</link>
            <guid isPermaLink="false">https://medium.com/p/cdbb93537fec</guid>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[bug-bounty-writeup]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[hackerone]]></category>
            <dc:creator><![CDATA[Aryah]]></dc:creator>
            <pubDate>Sun, 22 Jun 2025 18:18:02 GMT</pubDate>
            <atom:updated>2025-11-30T06:09:41.181Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/339/1*7TTXiYsXmM5fDFJ2yoS8Ag@2x.jpeg" /></figure><p>Hey guys I’m here with a new bug</p><p>Today, we’re going to talk about another interesting and easy-to-fire bug .</p><p>yes guys you heard the right💃the one from the thumbnail: CVE-2025–0133, a reflected XSS in the GlobalProtect gateway and portal features of PAN-OS.</p><p>This is one of the easiest bugs to find, as I mentioned earlier. I’ll share how I found it and reported it. Okay mates, let’s dive into the step-by-step hunting process!⛷️</p><p>What is CVE-2025–0133 ?</p><p>CVE-2025–0133 is a reflected cross-site scripting (XSS) vulnerability present in the GlobalProtect gateway and portal features of PAN-OS.</p><p>The software allows execution of malicious JavaScript in the browser of an authenticated Captive Portal user if they click a specially crafted link.</p><p>The main risk is phishing attacks that can lead to credential theft – especially if Clientless VPN is enabled.</p><p>⚡ Impact</p><p>Targets: Authenticated users of GlobalProtect Captive Portal or Clientless VPN</p><p>What can happen:</p><p>Attackers send a crafted link → user clicks → malicious JavaScript executes in the portal context</p><p>Confidentiality:</p><p>Medium risk if Clientless VPN is enabled → phishing-style credential theft</p><p>Low or no risk if Clientless VPN is disabled</p><p>Integrity:</p><p>Limited → attackers can’t change portal settings or system configurations</p><p>Risk is mainly phishing-style manipulation</p><p>Availability:</p><p>No impact → this is not a DoS vulnerability</p><p>🛠 How I Found the Vulnerability</p><p>1️⃣ : Search for vulnerable targets in Shodan:</p><p>os:”PAN-OS” ssl.cert.subject.CN:”*.example.com”</p><p>2️⃣: Identify a target and load it successfully in your browser.</p><p>3️⃣: Access the URL and add your XSS payload.</p><p>👉 For full details (including payloads), check this GitHub repository:</p><p>https://github.com/search?q=repo%3Aprojectdiscovery%2Fnuclei-templates%20cve-2025-0133&amp;type=code</p><p>I reported this vulnerability on HackerOne, but unfortunately, it was a duplicate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*QUbQKtXrCuQmxBbLSoUNdA@2x.jpeg" /></figure><p>😭 I’m not crying… okay, maybe a little</p><p>But trust me, guys – this is one of the easiest vulnerabilities you can find.</p><p>One more thing guys! 🧘🏼‍♀️</p><p>Consistency is everything in bug bounty hunting.Stay consistent. Stay curious. And keep hunting!</p><p>#BugBounty #XSS #CVE2025–0133 #PANOS #Cybersecurity #EthicalHacking</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cdbb93537fec" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>