<?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 Jenish Panchal on Medium]]></title>
        <description><![CDATA[Stories by Jenish Panchal on Medium]]></description>
        <link>https://medium.com/@jenish03?source=rss-20c25f08f120------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*GYleZvDCGTtNHX_7-Chkmw.jpeg</url>
            <title>Stories by Jenish Panchal on Medium</title>
            <link>https://medium.com/@jenish03?source=rss-20c25f08f120------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 05:50:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jenish03/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[Session Does not Expire after Password Change with video PoC.]]></title>
            <link>https://jenish03.medium.com/session-does-not-expire-after-password-change-with-video-poc-43d92344b31e?source=rss-20c25f08f120------2</link>
            <guid isPermaLink="false">https://medium.com/p/43d92344b31e</guid>
            <category><![CDATA[bugbounty-writeup]]></category>
            <category><![CDATA[session-fixation]]></category>
            <category><![CDATA[bugcrowd]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[bugbounty-poc]]></category>
            <dc:creator><![CDATA[Jenish Panchal]]></dc:creator>
            <pubDate>Sun, 18 Sep 2022 12:50:41 GMT</pubDate>
            <atom:updated>2022-09-18T12:50:41.950Z</atom:updated>
            <content:encoded><![CDATA[<h3>Session Does not Expire after Password Change.</h3><p>Hello Everyone !!</p><p>Today in this blog I am going to explain you about session vulnerability.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6_Fn0bPPMDA7EHK8U7dOJQ.jpeg" /></figure><blockquote><strong>What is Session?</strong></blockquote><blockquote>A <strong>session</strong> is the total time devoted to an activity. In computer systems, a <strong>user session</strong> begins when a user logs in to or accesses a particular computer, network, or software service. It ends when the user logs out of the service, or shuts down the computer. A session can temporarily store information related to the activities of the user while connected. A session <a href="https://www.computerhope.com/jargon/c/cookie.htm">cookie</a> is used in web pages for storing information in case the user leaves the web page or closes down their Internet browser. For example, this is one way a website can remember what is in your shopping cart if you leave and come back.</blockquote><blockquote><strong>How to test for session vulnerability?</strong></blockquote><blockquote><strong><em>Step 1:</em></strong> Creat an account</blockquote><blockquote><strong><em>Step 2:</em></strong> Log in your account in 2 different browsers (e.g Firefox &amp; Chrome)</blockquote><blockquote><strong><em>Step 3:</em></strong> Go to Firefox browser and Change your password.</blockquote><blockquote><strong><em>Step 4:</em></strong> Once your password gets change successfully refresh another browser (chrome).</blockquote><blockquote><strong><em>Step 5: </em></strong>If your session does not expire than try to change your first name or something from your profile.</blockquote><blockquote><strong><em>Step 6:</em></strong> Now, Log in to firefox browser and check that changes you have made is updated or not.</blockquote><blockquote><strong>Impact:</strong></blockquote><blockquote>This vulnerability can lead to reputational damage and indirect financial loss to the company as customers may view the application as insecure. Additionally, this can cause escalations where a user knows that their account is compromised, but have no means of evicting an attacker by changing their password.</blockquote><blockquote><strong>PoC</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FwjKXzsrWMl9smF8ou1vOQ.gif" /></figure><p>Thank you everyone, Hope you like this blog.</p><p>Follow me on linkedIn, You can also text me on linked in if you have any query regarding Bug bounty or WAPT.</p><p><a href="https://www.linkedin.com/in/jenish-panchal-a82802218/">https://www.linkedin.com/in/jenish-panchal-a82802218/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=43d92344b31e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Manual SQL Injection commands for beginners with PoC.]]></title>
            <link>https://jenish03.medium.com/manual-sql-injection-commands-for-beginners-with-poc-be2033059dbf?source=rss-20c25f08f120------2</link>
            <guid isPermaLink="false">https://medium.com/p/be2033059dbf</guid>
            <category><![CDATA[bugbounting]]></category>
            <category><![CDATA[manualsqlinjection]]></category>
            <category><![CDATA[sql-injection]]></category>
            <category><![CDATA[bugbounty-writeup]]></category>
            <category><![CDATA[bugbounty-poc]]></category>
            <dc:creator><![CDATA[Jenish Panchal]]></dc:creator>
            <pubDate>Thu, 15 Sep 2022 11:32:02 GMT</pubDate>
            <atom:updated>2022-09-15T11:32:02.049Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello Everyone !!</p><p>Hope you all are doing well.</p><p>Today in this blog, I am going to explain you about <strong>Manual SQL injection commands</strong> and How you can find it without using SQLmap tool.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QQd3cFtV3OviFY6Yy3pNxQ.jpeg" /></figure><p><strong>What is SQL Injection?</strong></p><blockquote><em>A SQL injection is </em><strong><em>a technique that attackers use to gain unauthorized access to a web application database by adding a string of malicious code to a database query</em></strong><em>. A SQL injection (SQLi) manipulates SQL code to provide access to protected resources, such as sensitive data, or execute malicious SQL statements.</em></blockquote><p><strong>Steps to Find SQLi:</strong></p><p>Here we have a Pakistani website to find SQLi. (for education purpose only)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yzlPlzhVSNMTfjQDsky3OQ.jpeg" /><figcaption>id parameter is reflecting in URL.</figcaption></figure><p><strong><em>Step 1: </em></strong>Here in PoC you can see that <strong><em>“id=5”</em></strong> parameter is reflecting in URL. So, Simply put single quote (‘) to check if web application return any SQL query or not.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HbjxkVO4ANFwdTgU3t3zQA.jpeg" /></figure><p><strong><em>Step 2: </em></strong>So, as you can see this web application throws an SQL error, Now by using order by command we will find out how many columns are there in web application.</p><p><strong>Command: </strong><a href="http://target.com/php?id=5"><strong>http://target.com/php?id=5</strong></a><strong> order by 1 — +</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7pOpLowvbUcjAmlvPehNfQ.jpeg" /></figure><p><strong><em>Step 3: </em></strong>Use this order by command until you get query like this. This error shows that there are 14 columns in database.</p><p>Now by using order by command I got to know that there are 14 columns in database So,</p><p><strong><em>Step 4:</em></strong> Now using UNION command we will find out that which column contains the database.</p><p>Command: <a href="http://target.com/php?id=5"><strong>http://target.com/php?id=-5</strong></a><strong> union select 1,2,3,4,5,6,7,8,9,10,11,12,13,14 — +</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KzT1riazrxcXtyB73HkqQA.jpeg" /></figure><p>See, It shows that 5 number column contains the database.</p><p>Now here we will only retrieve the database version. So we will use following command,</p><p>Command: <a href="http://target.com/php?id=5"><strong>http://target.com/php?id=-5</strong></a><strong> union select 1,2,3,4,@@version,6,7,8,9,10,11,12,13,14 — +</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1GcI15SZSTbxv_HKj8F38w.jpeg" /></figure><p>You can see we are successfully able to retrieve the database version.</p><blockquote><strong>Here we have used this web site for education purpose only.</strong></blockquote><p>That’s all for this blog guys. Hope you have learnt something from this blog.</p><p>If you have any queries, Do Text me on LinkedIn without hesitation.</p><p><a href="https://www.linkedin.com/in/jenish-panchal-a82802218/">https://www.linkedin.com/in/jenish-panchal-a82802218/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=be2033059dbf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SSL Misconfiguration vulnerability & How to find it using Google Dork]]></title>
            <link>https://jenish03.medium.com/ssl-misconfiguration-vulnerability-how-to-find-it-using-google-dork-fb873eb3d5a3?source=rss-20c25f08f120------2</link>
            <guid isPermaLink="false">https://medium.com/p/fb873eb3d5a3</guid>
            <category><![CDATA[sslmisconfiguration]]></category>
            <category><![CDATA[stepstoreproduce]]></category>
            <category><![CDATA[bugbounty-writeup]]></category>
            <category><![CDATA[google-dorking]]></category>
            <category><![CDATA[bugbounty-poc]]></category>
            <dc:creator><![CDATA[Jenish Panchal]]></dc:creator>
            <pubDate>Fri, 09 Sep 2022 09:10:40 GMT</pubDate>
            <atom:updated>2022-09-09T09:10:40.691Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello Everyone!!</p><p>Hope you all are doing well.</p><p>In this blog I will explain you about <strong>SSL misconfiguration Vulnerability </strong>and How I was able to find this vulnerability on <strong>Nokia</strong> and <strong>Cambridge University</strong> using a simple <strong>Google Dork</strong> which got me <strong>Hall of Fame</strong> and <strong>Appreciation letter</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*EZEdiT-uUfGTcRHkgIn8Cg.png" /></figure><p><strong>What is SSL misconfiguration?</strong></p><p>“Attackers use this vulnerability to <a href="https://crashtest-security.com/mitm-attack/">initiate a Man-in-the-Middle attack</a> by pretending to be a web server until the client agrees to use an SSL 3.0 encryption to connect with them. The attacker then retrieves their desired information using automated tools that modify padding blocks and wait for the server’s response.”</p><p><strong><em>Check out this link to know more about SSL &amp; TLS.</em></strong></p><p><a href="https://crashtest-security.com/ssl-and-tls-security-misconfiguration-guide/#:~:text=Attackers%20use%20this%20vulnerability%20to,wait%20for%20the%20server&#39;s%20response"><em>https://crashtest-security.com/ssl-and-tls-security-misconfiguration-guide/#:~:text=Attackers%20use%20this%20vulnerability%20to,wait%20for%20the%20server&#39;s%20response</em></a><em>.</em></p><p>Now, Which Google dork I used to find this vulnerability.</p><p><strong><em>site:*.target.com inurl:http register signup</em></strong></p><p>Simply by using this dork I enumerate those subdomains of Nokia and Cambridge which are working on HTTP protocol and allows a user to register account on their web application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bJbFX6iXQkSO0TDJ7Hx71Q.png" /><figcaption>Result of dork</figcaption></figure><p><strong>How to find SSL misconfiguration vulnerability?</strong></p><p><strong><em>Step 1: </em></strong>First, I registered myself in all the given URL by Google dork.</p><p><strong>Step 2: </strong>After register yourself don’t log into the account.</p><p><strong><em>Step 3:</em></strong> Click on Forgot password and Ask for password reset link.</p><p><strong><em>Step 4</em></strong><em>: </em>Check reset password link is working on HTTPs or on HTTP.</p><p>If password reset link is working on HTTPs leave that subdomain and go for another but if the link is working on HTTP report that vulnerability immediately.</p><p><em>Note* Check account verification link as well. If verification link on HTTP do report it.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/613/1*EfotZsmaQW0EA6H3O_pdnQ.jpeg" /><figcaption>Reported SSL Vuln. on 16th Aug Morning and Got Reply on same day night.</figcaption></figure><p><em>You can go and search on Google Nokia hall of fame, And you can find my name in August 2022.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/691/1*vCS9QDdMcQoHYISFAdkfiQ.jpeg" /><figcaption>Reported SSL misconfiguration Vuln. On Cambridge,</figcaption></figure><p>So as you can see how a simple vulnerability can got you these achievements.</p><p>I hope you will like this blog, If you like it follow me on LinkedIn.</p><p><a href="https://www.linkedin.com/in/jenish-panchal-a82802218/">https://www.linkedin.com/in/jenish-panchal-a82802218/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb873eb3d5a3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Account Take over via Response over write method with video PoC]]></title>
            <link>https://jenish03.medium.com/account-take-over-via-response-over-write-method-with-video-poc-5b22f2a847b0?source=rss-20c25f08f120------2</link>
            <guid isPermaLink="false">https://medium.com/p/5b22f2a847b0</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[response-overwrite]]></category>
            <category><![CDATA[account-takeover]]></category>
            <category><![CDATA[otp-bypass]]></category>
            <category><![CDATA[bugbounty-poc]]></category>
            <dc:creator><![CDATA[Jenish Panchal]]></dc:creator>
            <pubDate>Sun, 04 Sep 2022 16:30:43 GMT</pubDate>
            <atom:updated>2022-09-04T16:30:43.284Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello Everyone !!</p><p>Hope you all are doing well.</p><p>Today in this blog we will learn about <strong>Account take over via Response over write mothod.</strong></p><blockquote><em>Note* There are 3 ways to Take over account If that web application verifies user via OTP.</em></blockquote><blockquote>1: OTP Brute Force</blockquote><blockquote>2: Response Manipulation</blockquote><blockquote>3: Response Over write Mothod</blockquote><p><strong>I have already posted OTP brute force and Response manipulation blog, You can check that out If you haven’t read it yet.</strong></p><p><a href="https://medium.com/@jenishpanchal514/account-takeover-via-response-manipulation-otp-brute-force-b965fc1b7a37">Account Takeover via Response manipulation &amp; OTP brute force.</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T8n5jTMm_KDh2xzjGUsx_g.png" /></figure><p>As you can see that web application verifies user via OTP.</p><p><strong>Replication Steps:</strong></p><blockquote>1: Use your number and get OTP.</blockquote><blockquote>2: Enter right OTP and Intercept the request.</blockquote><blockquote>3: Once you get request that conducts OTP, Right click and navigate to response to this request.</blockquote><blockquote>4: Copy response and drop the request.</blockquote><blockquote>5: Paste that response in Notepad.</blockquote><p>Now you have the valid response, It’s time to take over the victim’s account.</p><p><strong>Replication Steps:</strong></p><blockquote>1: Enter victim’s mobile number.</blockquote><p><em>Now you don’t know the valid OTP.</em></p><blockquote>2: Enter random OTP (e.g 1111) and intercept the request.</blockquote><blockquote>3: Once you get request that conducts the OTP, Right click on request and navigate to “response to this request”</blockquote><p>You have entered wrong OTP so you will get “400 bad request”.</p><blockquote>4: Change that response with our valid response (that you have pasted in notepad) and change the number if needed.</blockquote><blockquote>5: Forward the request and BOOM you will log in to the victim’saccount.</blockquote><blockquote>Watch video PoC for better understanding</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*O7vTHNruQwRqeFLeP88vVg.gif" /><figcaption>Account take over via response over write method video PoC</figcaption></figure><p>Thank you guys for reading my blog, If you like my content do subscribe my blogs and follow me on linked in.</p><p><a href="https://www.linkedin.com/in/jenish-panchal-a82802218/">https://www.linkedin.com/in/jenish-panchal-a82802218/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5b22f2a847b0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GET base Open Redirect with video PoC]]></title>
            <link>https://jenish03.medium.com/get-base-open-redirect-with-video-poc-e1d4454e28a7?source=rss-20c25f08f120------2</link>
            <guid isPermaLink="false">https://medium.com/p/e1d4454e28a7</guid>
            <category><![CDATA[bugbounty-writeup]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[bugbounty-poc]]></category>
            <category><![CDATA[blackhat]]></category>
            <dc:creator><![CDATA[Jenish Panchal]]></dc:creator>
            <pubDate>Wed, 24 Aug 2022 13:04:51 GMT</pubDate>
            <atom:updated>2022-08-24T13:04:51.862Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello All !!</p><p>Hope you all are doing well.</p><p>In this blog we will learn about <strong>Open redirect.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zjUTujyYVquGBFJV5mBbpw.png" /></figure><p><strong>What is open redirect?</strong></p><p>Open redirect is <strong>a security flaw in an app or a web page that causes it to fail to properly authenticate URLs</strong>. When apps and web pages have requests for URLs, they are supposed to verify that those URLs are part of the intended page’s domain.</p><p><strong>Vulnerable Parameters to Open Redirect.</strong></p><pre>?url=http://{target}<br><br>?url=https://{target}<br><br>?next=http://{target}<br><br>?next=https://{target}<br><br>?url=https://{target}<br><br>?url=http://{target}<br><br>?url=//{target}<br><br>?url=$2f%2f{target}<br><br>?next=//{target}<br><br>?next=$2f%2f{target}<br><br>?url=//{target}<br><br>?url=$2f%2f{target}<br><br>?url=//{target}<br><br>/redirect/{target}<br><br>/cgi-bin/redirect.cgi?{target}<br><br>/out/{target}<br><br>/out?{target}<br><br>/out?/{target}<br><br>/out?//{target}<br><br>/out?/\{target}<br><br>/out?///{target}<br><br>?view={target}<br><br>?view=/{target}<br><br>/login?to={target}<br><br>/login?to=/{target}</pre><p><strong>Types of Open Redirect and Steps to Reproduce.</strong></p><blockquote><strong>Get Base Open Redirect</strong></blockquote><p>1: Visit any page which reflects any vulnerable parameter as given in image. (eg. Login or signup page)</p><p>2: Put simple open redirect payload as given — //evil.com</p><p>your URL will looks like this</p><p><a href="https://www.example.com/login/?redirect_uri=//evil.com"><em>https://www.example.com/login/?redirect_uri=//evil.com</em></a></p><p>3: Now enter mail id and password.</p><p>4: Click on login and you will redirect to evil.com</p><blockquote>Post Base Open Redirect</blockquote><p>1: First 2 steps will remain same, Visit any page which reflects any vulnerable parameter as given in image. (eg. Login or signup page)</p><p>2: Put simple open redirect payload as given — //evil.com</p><p>your URL will looks like this</p><p><a href="https://www.example.com/login/?redirect_uri=//evil.com"><em>https://www.example.com/login/?redirect_uri=//evil.com</em></a></p><p>3: Hit enter and you will redirect to evil.com</p><blockquote><strong>PoC of GET base Open Redirect:</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*SsSckYKIBRhgd-7uzCvV2g.gif" /><figcaption>GET base Open redirect PoC</figcaption></figure><p>I have attached this open redirect PoC for better understanding, which I found on live website.</p><p>Hope you like this blog and PoC will clear your concept about open redirect.</p><p>Thank you Guys!!</p><blockquote><strong>Linkedin</strong></blockquote><p><a href="https://www.linkedin.com/in/jenish-panchal-a82802218/">https://www.linkedin.com/in/jenish-panchal-a82802218/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e1d4454e28a7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Improper Cache Control Vulnerability]]></title>
            <link>https://jenish03.medium.com/improper-cache-control-vulnerability-f2604038615a?source=rss-20c25f08f120------2</link>
            <guid isPermaLink="false">https://medium.com/p/f2604038615a</guid>
            <category><![CDATA[owasp-top-10]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[bug-hunting]]></category>
            <category><![CDATA[poc]]></category>
            <dc:creator><![CDATA[Jenish Panchal]]></dc:creator>
            <pubDate>Thu, 11 Aug 2022 12:59:30 GMT</pubDate>
            <atom:updated>2022-08-11T12:59:30.949Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello everyone🎉 !!! I hope you all are doing well.</p><p>In this blog, I will explain a very simple vulnerability,<strong>” Improper Cache-Control”</strong> Which got me first Hall Of Fame.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jmpnQroQf3Yp22UooBcXeg.jpeg" /></figure><p>Before understanding <strong>How to test this vulnerability</strong>, We will first understand this vulnerability.</p><p><strong>What is Cache Memory?</strong></p><p>“In computing, a cache is a hardware or software component that stores data so that future requests for that data can be served faster; the data stored in a cache might be the result of an earlier computation or a copy of data stored elsewhere” — Wikipedia</p><p><strong>How to test this Cache-control Vulnerability?</strong></p><p>This vulnerability is very simple to reproduce.</p><p><strong><em>Step 1</em></strong>:- Log in to the web application with relevant credentials.</p><p><strong><em>Step 2</em></strong>:- Let the webpage load completely. Then navigate to any sensitive page of a web application.</p><p><strong><em>Step 3:- </em></strong>Now, Click on the log-out button and again let the page load completely.</p><p><strong><em>Step 4:-</em></strong> Once the page load completely press the back button.</p><p>Now, If you redirect to that sensitive page again, And you are able to access all the features of the web application then it is a vulnerability.</p><p>But, If you redirect to that page, But are unable to perform any action and redirect to the signup page then It is not a vulnerability.</p><p>This vulnerability is very easy and simple to understand, You guys might think that What can we get or achieve if we report this vulnerability?</p><p>Well, You might not get paid for this vulnerability but it can get you <strong>HALL OF FAME </strong>of that public program.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WHNX25sKlZ1KixTUenEysA.png" /><figcaption>Hall of Fame</figcaption></figure><p>So as you can see in this picture, By reporting this simple vulnerability I got <strong>my First Hall Of Fame from a public program.</strong></p><p>Thank you guys for reading my blog. If you have any suggestions for me regarding the blog or any doubts regarding any vulnerability, you can DM me on my <strong>LinkedIn.</strong></p><p><a href="https://www.linkedin.com/in/jenish-panchal-a82802218/">Jenish Panchal - Junior Cyber Security analyst - Invesics Cyber Forensics LLP | LinkedIn</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f2604038615a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HTML Email Injection Got me a Hall Of Fame from US Department of Homeland Security]]></title>
            <link>https://jenish03.medium.com/html-email-injection-got-me-a-hall-of-fame-from-us-department-of-homeland-security-edf2f2adc5?source=rss-20c25f08f120------2</link>
            <guid isPermaLink="false">https://medium.com/p/edf2f2adc5</guid>
            <category><![CDATA[hall-of-fame]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[injection]]></category>
            <category><![CDATA[bugcrowd]]></category>
            <dc:creator><![CDATA[Jenish Panchal]]></dc:creator>
            <pubDate>Thu, 04 Aug 2022 08:55:44 GMT</pubDate>
            <atom:updated>2022-08-04T08:55:44.025Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello Guys!!</p><p>I hope you all are doing well.</p><p>In this blog, I am going to explain HTML Email Injection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t1HXGIywRga_kQJHHcSufg.png" /><figcaption>Bug Crowd VDP</figcaption></figure><p>So this was the VDP program where I found HTML Email Injection.</p><p>First I checked every endpoint of a website. And then I found out that there is a parameter that sends an Email to get a code to Log in to the website.</p><p>So First I fill up all the required details, Like the First name, Last name, Email, etc, And I checked which parameter is reflected in the Email. The First name parameter was reflecting in the Email.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LHMuiqphTaAs5_d2etCNYw.png" /><figcaption>HTML payload in first name parameter.</figcaption></figure><p>So as I knew that the First name parameter is not sanitized to special characters so I entered this</p><p>“&lt;img src=”<a href="http://evanricafort.com/profile.png">http://evanricafort.com/profile.png</a>&quot;&gt;” payload in the first name parameter and fill up the required details.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8CCi39aNu6byhHh2xrsjaw.png" /></figure><p>As you can see that HTML payload is successfully executed in the Email.</p><p>I report this security issue to BugCrowd and I got a <strong>Hall Of Fame from US Department of Homeland Security.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N91BpRcUaWmLwEKABma8_w.png" /><figcaption>Hall Of Fame of US Department Of Homeland Security</figcaption></figure><p>Thank You Guys for reading my blog.</p><p>I hope you like it, I am trying my best to explain vulnerabilities in very simple words.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*asqr26jcE2MG_6gDWY6GxQ.gif" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=edf2f2adc5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Account Takeover via Response manipulation & OTP brute force.]]></title>
            <link>https://jenish03.medium.com/account-takeover-via-response-manipulation-otp-brute-force-b965fc1b7a37?source=rss-20c25f08f120------2</link>
            <guid isPermaLink="false">https://medium.com/p/b965fc1b7a37</guid>
            <category><![CDATA[bruteforce-attack]]></category>
            <category><![CDATA[otp-bypass]]></category>
            <category><![CDATA[account-takeover]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[bugbounty-poc]]></category>
            <dc:creator><![CDATA[Jenish Panchal]]></dc:creator>
            <pubDate>Fri, 29 Jul 2022 05:19:52 GMT</pubDate>
            <atom:updated>2022-07-29T05:19:52.289Z</atom:updated>
            <content:encoded><![CDATA[<p>Account Takeover via Response manipulation &amp; OTP brute force.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*r2ZOasPNizZYttdwOb9s-w.gif" /></figure><p>First, I have found two vulnerabilities in the same program as mentioned below.</p><blockquote>1: OTP brute force — Account takeover</blockquote><blockquote>2: Account takeover via response manipulation.</blockquote><p>Let’s get into the first vulnerability <strong>OTP brute force to account takeover</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v1wzpD-Pmgw7o7OVyfMiUw.png" /></figure><p>So, As you can see in this PoC that this website verifies the Email address via OTP. So simply I just enter the wrong OTP and intercept the request in burp.</p><p>Then send that request to the burp intruder and set the $$ mark at the OTP value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DJ7izuaKWAXjhOsdBRG7eg.png" /></figure><p>Now, Set the payload type to Number payload, and here I set the value between 658300 to 658390 because a valid OTP value is between these set payloads.</p><p>Simply, Click on start attack, And I noticed that the status code of all the OTP is 200 OK. Then I checked the response of Invalid OTP and Valid OTP, There I noticed a minor change.</p><p>Where <strong>Invalid OTP responses were</strong></p><p>{</p><p>“is_valid”:false</p><p>}</p><p>and, <strong>Valid OTP response was</strong></p><p>{</p><p>“is_valid”: True</p><p>}</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/819/1*ehVSAuckXq78EJ57Wk06sA.png" /></figure><p>I right-click on the request and click on show response to the browser, copy link and paste to the firefox and I successfully proceed to further steps.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/220/1*WfHaIcgHxYWb2koDssPPEg.gif" /></figure><p>After watching the response carefully, An idea triggered in my mind that “I should try to manipulate the response here” and then I found another vulnerability is</p><p><strong>Account take over via response manipulation.</strong></p><p>So, Again I enter the wrong OTP and intercept the request.</p><p>Then I Right click on the request and navigate to “Response to this request”, And in response, I changed</p><p>“is_valid”: false to “is_valid”:true.</p><p>And I proceed to further process.</p><p>So, These were the 2 bugs for which I rewarded a $$$ bounty.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*YwSwdam3NKEoBrbQblfq1A.gif" /></figure><p>Thank you guys for reading my first blog,</p><p>I hope you like it and I tried to explain these bugs in a very simple way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*asqr26jcE2MG_6gDWY6GxQ.gif" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b965fc1b7a37" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>