<?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 Ishaan Bansal on Medium]]></title>
        <description><![CDATA[Stories by Ishaan Bansal on Medium]]></description>
        <link>https://medium.com/@ishaan-bansal2205?source=rss-990a06d0e17d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*ybf6Ae5urPCbt7ob</url>
            <title>Stories by Ishaan Bansal on Medium</title>
            <link>https://medium.com/@ishaan-bansal2205?source=rss-990a06d0e17d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 17:17:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ishaan-bansal2205/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[ No Rate Limiting: My First Real Bug Bounty Find (At 17) ]]></title>
            <link>https://ishaan-bansal2205.medium.com/no-rate-limiting-my-first-real-bug-bounty-find-at-17-5a8641a2bb81?source=rss-990a06d0e17d------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a8641a2bb81</guid>
            <category><![CDATA[bug-bounty-writeup]]></category>
            <dc:creator><![CDATA[Ishaan Bansal]]></dc:creator>
            <pubDate>Sat, 02 Aug 2025 17:07:52 GMT</pubDate>
            <atom:updated>2025-08-06T15:59:50.428Z</atom:updated>
            <content:encoded><![CDATA[<p>“Even a duplicate report is proof that you’re on the right path.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1W-Tb_BNW2tYUK7SNI2ivQ.png" /></figure><p>Hey everyone! 👋<br> I’m 17 years old and just getting started in the world of <strong>ethical hacking</strong> and <strong>bug bounty hunting</strong>. This blog post shares my <strong>first real vulnerability find</strong> — a <em>“No Rate Limiting”</em> issue on a live website run by <strong>Swisscom</strong>.<br> Even though it was marked as a <strong>duplicate</strong>, it was a milestone that taught me a lot and gave me the confidence to keep going. 🚀</p><p>🔍 What Is a “No Rate Limiting” Vulnerability?</p><p>A <strong>no rate limiting</strong> vulnerability happens when a server doesn’t limit how often a user can perform certain actions — like sending OTPs, login attempts, or recovery emails. Without limits, attackers can:</p><p>⚠️ Spam users with hundreds of OTPs or recovery links<br> ⚠️ Brute-force credentials or tokens<br> ⚠️ Perform Denial-of-Service attacks on backend services<br> ⚠️ Exploit email-based enumeration attacks</p><p>(For a more detailed overview, you can check out my other blog on “no rate limit”)</p><h3>🧪 How I Found the Bug</h3><h3>🔗 Step 1: Exploring the Flow</h3><ol><li>My first step always starts with analysing the company’s login/register pages.</li></ol><p>2. I was testing Swisscom’s <strong>business login portal</strong>. There was a simple <strong>“Forgot Username?”</strong> button on the login page that led to a form asking for your <strong>email address</strong>.</p><p>3. Then I entered my email address and tried to get the code. I also captured the request at the same time into Burp Suite for detailed analysis.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QW3mmuTDDDFUYHdxyPg0Fw.png" /></figure><p>I sent this same request continuously using the “send” button to my email address. Surprisingly, there was no restriction on the number of emails I could send. I was able to send at least 22 emails for the login code to my email address(didn’t send further). This confirmed a no rate limit !!!</p><h3>🔥 Why This Is Dangerous</h3><p>A malicious user could:</p><p>💣 <strong>Spam a victim’s inbox</strong> with non-stop recovery emails<br> 📥 <strong>Crash the email system</strong> with excessive requests<br> 🔍 <strong>Enumerate valid users</strong> by checking email responses<br> 🛑 <strong>Disrupt business onboarding</strong> through DoS-style abuse</p><h3>🧾 Reporting the Bug</h3><p>I followed the <strong>responsible disclosure process</strong> and reported the issue through the official channel.</p><p>A few days later…<br> 📬 I received a response: <strong>Duplicate</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*76kRwzpD-EKomJOXfvuoEg.png" /></figure><p>Sure, it stung a little. But then I realised:</p><blockquote><em>💡 “If it’s a duplicate, it means I was absolutely right. Someone else just beat me to it.”</em></blockquote><blockquote>That’s still a <strong>validation of my skills</strong> — and that’s what truly matters.</blockquote><blockquote>MUST READ FOR BEGINNERS!</blockquote><p>Though I have been in cybersecurity for more than 3 years, this was my first time trying to hunt for a bug. In all the previous years, I tried to gain as much knowledge as possible. Initially, frustration hit me hard, but I never gave up. With determination, I started to understand the basic concepts, then dived into the field of BUG BOUNTY and got to learn about many types of bugs that could be found on websites. After my theoretical knowledge, I have now also started to use my knowledge practically.</p><p>Some fellow bug hunters who are reading this blog might wonder how I found such a simple and easy bug. I also used to wonder the same thing when I started bug bounty. The simple answer is not something that everyone will tell you. Most people start to find bugs on websites listed on HackerOne or Bugcrowd. What they don&#39;t realise is that many other hunters have already hunted on these websites and grabbed the low-hanging fruits(easy-to-find bugs).</p><p>For beginners, I would suggest you look for targets that are not listed on any of these websites. Instead, you should look for websites on GitHub. You can try searching for parameters like bug bounty, reward, etc.. I will talk in more detail about this topic in future. Till then, keep hunting and don’t lose hope. See Ya !!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a8641a2bb81" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ IDOR Unlocked: Breaking Access Control with a Self-Made Lab ]]></title>
            <link>https://ishaan-bansal2205.medium.com/idor-unlocked-breaking-access-control-with-a-self-made-lab-297fb79dd2b9?source=rss-990a06d0e17d------2</link>
            <guid isPermaLink="false">https://medium.com/p/297fb79dd2b9</guid>
            <dc:creator><![CDATA[Ishaan Bansal]]></dc:creator>
            <pubDate>Thu, 19 Jun 2025 15:58:10 GMT</pubDate>
            <atom:updated>2025-06-19T15:58:10.053Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k8qUg7CPVb8H74fAddnKIA.png" /></figure><ol><li><strong>Introduction:</strong></li></ol><p>What if every locker in your school opened with the same key — and you had it? Wouldn’t it be crazyyyy!! Hi, I am ISHAAN BANSAL, a 17-year-old cyber enthusiast. This article will help you understand the basics of IDOR and how it works. IDOR can become challenging to exploit when you don&#39;t have the proper knowledge of its working.</p><p><strong>2. What is IDOR?</strong></p><p>In technical terms, IDOR allows users to manipulate a URL to access other users’ data. IDOR is a common but dangerous vulnerability and is also featured in the OWASP top 10 list. IDOR is a critical but generally overlooked vulnerability in cybersecurity. It can lead to account takeovers, which can be very dangerous for the website and its users.</p><p><strong>3. How IDOR Works:</strong></p><p>Every key has a special pattern that opens a lock built for that pattern. Now imagine that your school lockers do not check for patterns on the keys, but they can be opened with any key! Something similar in cybersecurity is IDOR(Insecure Direct Object Reference). When a backend code does not validate the session ID with the user input ID, it leads to IDOR. For example, a website URL goes like: /user/?id=1. This is the session ID that the website has assigned to you. Now, if you change the session ID to ./user/?id=2 and the website shows you the details of another user that has been assigned this ID, it indicates IDOR.</p><p><strong>5. The Lab I Built:</strong></p><p>I have been upgrading my GitHub page regularly with basic labs based on common bugs that can be found on websites. It helps you to understand what the vulnerable server would look like, and what to look for for finding the vulnerable parameter in websites.</p><p>The lab is entirely built on PHP. It consists of two code snippets: login.php and dashboard.php. The codes are very simple to understand for anyone who has a basic knowledge of PHP. Each lab is stored in a folder with its name in the main directory — CYBERSECURITY-LAB. In the IDOR directory, you can also find the README.md, which will help you run and understand the lab.</p><p><strong>7. Takeaways:</strong></p><p>Many robust websites forget to properly authenticate the session IDs. It is often skipped by many beginner-level hackers, mostly because they are unable to identify it.</p><p><strong>8. Outro:</strong></p><p>Thanks for sticking till the end. I hope this article helped you learn something new or improve your knowledge. Do visit my lab and write your honest feedback!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=297fb79dd2b9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ NO RATE LIMIT: A SIMPLY DANGEROUS BUG ⚠️]]></title>
            <link>https://ishaan-bansal2205.medium.com/no-rate-limit-a-simply-dangerous-bug-%EF%B8%8F-d78c356079fb?source=rss-990a06d0e17d------2</link>
            <guid isPermaLink="false">https://medium.com/p/d78c356079fb</guid>
            <dc:creator><![CDATA[Ishaan Bansal]]></dc:creator>
            <pubDate>Sun, 08 Jun 2025 08:29:34 GMT</pubDate>
            <atom:updated>2025-06-08T08:29:34.722Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6CH65UIU3Th4AZMugONz4w.png" /></figure><p>OVERVIEW:</p><p>Imagine a login page where you can try passwords unlimited times. No restrictions. No warnings. No blocks. Sounds dangerous, right? Hi, I am ISHAAN BANSAL, and I have recently built my own BUG-BOUNTY lab based on a bug called NO RATE LIMITING. This article focuses on the bug and helps you to have a hands-on experience with my BUG-BOUNTY lab. Let me walk you through!</p><h4>📖 What Is No Rate Limiting?</h4><blockquote>Let’s understand this through an example. Think of it like a game show where you are supposed to guess the correct answer to a question. Now, imagine you start yelling all the possible answers that come to your mind, and the host doesn&#39;t put any restrictions on your answers. Easy to win, right?</blockquote><blockquote>This is what happens when a system lacks RATE LIMITING. The attacker can send multiple requests for username, password, and OTP without any restrictions to slow them down or brute-force the details.</blockquote><blockquote>🕵️ <strong>The Vulnerability:</strong></blockquote><blockquote>When a backend server forgets to limit the number of times a person can make requests, it gives rise to this bug. This will allow the hacker to generate a brute-force password, OTP, or username list and use it to exploit this vulnerability. The attacker can also slow down or crash the server with the help of a payload that can send multiple requests in no time!</blockquote><h4>💻 My Vulnerable Lab Setup:</h4><p>This lab will help you get hands-on experience on exploiting this bug and how anyone with a simple code can damage a whole server!</p><p>It includes a vulnerable PHP server, index.php, a Python exploit script, exploit.py, and a README.md file(which you must read before using the lab!). The code is simple and easy to understand.</p><h3>⚙️ <strong>Exploitation:</strong></h3><p>Just like the bug itself, the exploit is also very easy to build and use. The lab will currently focus on a brute force attack on a 4-digit password with a known username through iteration.</p><h3>🔒 <strong>Fixing the Bug:</strong></h3><p>There are many ways developers can patch this bug.</p><p><strong>AUTOMATED:</strong></p><p>They can make use of 3rd-party services like Cloudflare that do this job on their behalf by blocking the IP address if multiple requests are made in a very short time.</p><p><strong>MANUAL:</strong></p><p>Manually, developers can either log the IP address and check the number of requests made from that IP. If it exceeds a particular limit, the server should block the IP.</p><h3>📎 GitHub Link:</h3><p><a href="https://github.com/Gitishaan1/CYBERSECURITY-LAB.git">https://github.com/Gitishaan1/CYBERSECURITY-LAB.git</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d78c356079fb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Exploiting Basic and Advanced SQL Injection Vulnerability (Built & Broken by Me at 17)]]></title>
            <link>https://ishaan-bansal2205.medium.com/exploiting-basic-and-advanced-sql-injection-vulnerability-built-broken-by-me-at-17-0e18cd1922dd?source=rss-990a06d0e17d------2</link>
            <guid isPermaLink="false">https://medium.com/p/0e18cd1922dd</guid>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Ishaan Bansal]]></dc:creator>
            <pubDate>Sun, 01 Jun 2025 17:08:42 GMT</pubDate>
            <atom:updated>2025-06-02T11:51:20.800Z</atom:updated>
            <content:encoded><![CDATA[<p>Introduction:</p><p>This blog post documents how I built a deliberately vulnerable login page in PHP and Python and an exploit based on Python to demonstrate SQL injection. I’m 17 years old and on a journey to become a top-tier cybersecurity expert. This is the first lab I’ve completed as part of my hands-on “Break &amp; Learn” cybersecurity series.</p><p>🛠️ What I Built:</p><ol><li>A simple PHP login page: It is a simple script that takes username and password input through the URL and checks it in the database</li><li>Mock database: It is a database that stores a username and a password.</li><li>Python exploit: It is a simple exploit using the requests module of Python to automate a request with a malicious username and password.</li></ol><p>💥 The Vulnerability (SQLi):</p><p>The SQL query in the PHP code goes like:<br>SELECT * from USERS WHERE username = $’username’ AND password = $’password’</p><p>This allows the hacker to manipulate the username and password to break the SQL query and bypass the authentication.</p><p>username=anything’ or ‘1’ = ‘1’ %20— %20&amp;password=anything</p><p>— is called a comment that makes the query to ignore the password authentication. We bypass the username field by adding an OR condition that is always true.</p><p>🎯 Exploitation (PoC):</p><p>URL: <a href="http://localhost/">http://localhost</a>:8080/index.php?username=anything’ or ‘1’ = ‘1’%20 — %20&amp;password=anything</p><p>📊 What I Could Extract (Advanced SQLi):</p><p>union all select database() , union all select 1,2,3,4… , union all select version()</p><p>These kinds of attacks are known as <strong>data extraction via SQL Injection</strong>, and they can be dangerous in real-world apps. I will be explaining advanced ways to exploit and extract data from the database despite WAF and other protections.</p><p><strong>📉 CVSS Estimate (Vulnerability Severity)</strong></p><ul><li><strong>Base Score:</strong> 9.8 (Critical)</li><li><strong>Impact:</strong> High — Full database access</li><li><strong>Attack Vector:</strong> Remote</li><li><strong>Authentication Required:</strong> None</li></ul><blockquote><em>The vulnerability requires no login and affects the entire authentication mechanism.</em></blockquote><p><strong>🛡️ How to Fix It</strong></p><ul><li>Use <strong>prepared statements</strong> with parameterized queries</li><li>Escape user input</li><li>Never trust input directly from the URL or form fields</li></ul><blockquote><em>Here’s the better version of the vulnerable query:</em></blockquote><blockquote><em>SELECT * FROM users WHERE username = ? AND password = ?</em></blockquote><p><strong>📚 What I Learned</strong></p><ul><li>How login systems are built and broken</li><li>How attackers use simple tricks to gain access</li><li>How easy it is to overlook secure coding practices</li><li>This was my first real hands-on exploit with both code and real understanding</li></ul><p><strong>⚠️ Disclaimer</strong></p><blockquote><em>This lab is for </em><strong><em>educational purposes only</em></strong><em>. Do </em><strong><em>not</em></strong><em> use these skills on any system you don’t have explicit permission to test. Ethical hacking only.</em></blockquote><p><strong>📌 Closing Line</strong></p><blockquote><em>More exploits, more learning coming soon. This is just the beginning.</em></blockquote><blockquote><em>Follow me on GitHub or LinkedIn to track my journey. Let’s break stuff — legally.</em></blockquote><p>CODE TO MY GITHUB REPO:</p><p>https://github.com/Gitishaan1/CYBERSECURITY-LAB.git</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0e18cd1922dd" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>