<?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 Vaibhav Gaikwad on Medium]]></title>
        <description><![CDATA[Stories by Vaibhav Gaikwad on Medium]]></description>
        <link>https://medium.com/@vaibhavgaikwad1712?source=rss-90697ebe5c11------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*7Bf9QKCDVcn65P45MwlFVw.png</url>
            <title>Stories by Vaibhav Gaikwad on Medium</title>
            <link>https://medium.com/@vaibhavgaikwad1712?source=rss-90697ebe5c11------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 13:43:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vaibhavgaikwad1712/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[Unauthorized access to the Database due to exposed JDBC URL and credentials]]></title>
            <link>https://vaibhavgaikwad1712.medium.com/unauthorized-access-to-the-database-due-to-exposed-jdbc-url-and-credentials-2fef1b637192?source=rss-90697ebe5c11------2</link>
            <guid isPermaLink="false">https://medium.com/p/2fef1b637192</guid>
            <category><![CDATA[cyber-security-awareness]]></category>
            <dc:creator><![CDATA[Vaibhav Gaikwad]]></dc:creator>
            <pubDate>Tue, 11 Jun 2024 11:21:52 GMT</pubDate>
            <atom:updated>2024-06-12T07:20:11.257Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello Researchers !!!</p><p>I hope you all are doing great in your job and personal life. In today’s blog I would like to explain about my recent finding.</p><p>As a Security Researcher we all know how GitHub related findings are closed and marked as not applicable when we report exposed credentials and API keys due to non exploitability of the vulnerabilities and data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/224/1*0qx4evq5xuxPMfyIex-EgQ.jpeg" /></figure><p>Let’s start the blog.</p><blockquote><strong>This finding need one prior condition. The attacker is in the network to exploit the finding or a rogue employee is trying to breach the data or to drop the reputation of the company.</strong></blockquote><p>1. While performing the GitHub reconnaissance I observed that the credentials for JDBC connection are exposed <strong>publicly on the GitHub </strong>by one of the developer<strong>.</strong></p><p>2. I took the URL and the credentials from the GitHub and tried to connect to the <strong>XYZ</strong> database.</p><p>3. I was successful in accessing the database as the credentials are still valid and haven’t altered since many years.</p><p>Using <strong>SqlLine</strong> tool I was able to connect and take out data from the database. Database contains different tables, views and can be accessed by any person who is having this tool installed and is connected to the network.</p><p><strong>Steps to Reproduce:</strong></p><p><strong>How to connect to a JDBC Database using Command Line:</strong></p><ol><li>Download SQlLine tool using below link<br><a href="https://repo1.maven.org/maven2/sqlline/sqlline/1.12.0/">https://repo1.maven.org/maven2/sqlline/sqlline/1.12.0/</a> and JDBC drivers using this link : <a href="https://www.oracle.com/database/technologies/appdev/jdbc-downloads.html">https://www.oracle.com/database/technologies/appdev/jdbc-downloads.html</a></li></ol><blockquote><strong>SQlLines SQL Converter is an open source tool (Apache License 2.0) that allows you to convert database schema (DDL), queries and DML statements, views, stored procedures, packages, functions and triggers between Microsoft SQL Server, Oracle, MariaDB, MySQL, PostgreSQL, IBM DB2, Sybase, Informix, Teradata, Greenplum and Netezza.</strong></blockquote><blockquote><strong>A JDBC driver is a software component enabling a Java application to interact with a database. JDBC drivers are analogous to ODBC drivers, ADO.NET data providers, and OLE DB providers. To connect with individual databases, JDBC (the Java Database Connectivity API) requires drivers for each database.</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/321/1*VeWm_hiOCiyZ7Ljs-hP1sA.jpeg" /></figure><p>2.Make sure you have latest JDK version and you can install it using below link:<br><a href="https://phoenixnap.com/kb/install-java-windows">https://phoenixnap.com/kb/install-java-windows</a></p><p>3.Now go to directory where sqline is downloaded and use following command:</p><p><strong>java -cp “*” sqlline.SqlLine \ -n username -p password \ -u “jdbc:oracle:thin:</strong><a href="http://twitter.com/hostname"><strong>@hostname</strong></a><strong>:1521/endpoint”</strong></p><p>here in the -u option you can provide the jdbc URL in “ ”.</p><p>Once the login is successful you will get a shell and it will look like below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*UzO6K06aTb8CH6cv8yMUkg.png" /></figure><p>You can get list of all commands using !help command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*qEq8XZlQXycj3ssGJB70eA.png" /></figure><p>You can run SQL queries by typing !sql followed by SQL command</p><p>Using above commands I was able to get data from the database easily and report it to the concern person.</p><p><strong>I was able to get unauthorized access to the database due to the exposed credentials.</strong></p><p>So next time you are having a clear idea what to do when you get JDBC URL and credentials in GitHub repository or on any dump.</p><p><strong>Risks involved:</strong></p><p>Exposing sensitive data through GitHub or any other public version control platform can lead to various risks, including:</p><p>· <strong>Unauthorized Access:</strong> When sensitive data, such as passwords or access keys, are exposed, unauthorized individuals or malicious actors can access and misuse that information</p><p>· <strong>Data Breach</strong>: Sensitive data exposure may lead to a data breach, where confidential information is accessed and used for malicious purposes, such as identity theft or financial fraud.</p><p>· <strong>Reputation Damage:</strong> Data exposure can harm your organization’s reputation, as it may erode trust and confidence in your ability to handle sensitive information securely.</p><p>· <strong>Compliance Violations</strong>: Depending on the nature of the exposed data, it may result in non-compliance with data protection regulations, leading to legal consequences and fines.</p><p>· <strong>Financial Loss:</strong> In the case of data breaches, organizations may face financial losses, including expenses related to investigation, remediation, legal actions, and potential compensation to affected parties.</p><p>· <strong>Intellectual Property Theft</strong>: If proprietary code, algorithms, or designs are exposed, it can lead to intellectual property theft or unauthorized use, undermining your competitive advantage.</p><p>· <strong>Credential Compromise:</strong> If usernames, passwords, or access keys are exposed, it can lead to unauthorized access to various services, accounts, and systems, potentially leading to further security breaches.</p><p>· <strong>Phishing and Social Engineering Attacks</strong>: Exposed email addresses and personal information can be used for phishing attacks, which can trick individuals into revealing more sensitive information or infecting their systems with malware.</p><p>· <strong>Data Corruption or Manipulation</strong>: Malicious actors may attempt to corrupt or manipulate the exposed data, potentially causing operational disruptions or damage to your systems.</p><p>· <strong>Loss of Trust:</strong> Clients, partners, and customers may lose trust in your organization if they learn that their data has been exposed, potentially leading to a loss of business opportunities.</p><p>I hope you have enjoyed this unique finding.</p><p>Special thanks to <a href="https://medium.com/u/e29e99a9aba7">Jonathan Merlevede</a> for his awesome <a href="https://medium.com/datamindedbe/connecting-to-databases-using-jdbc-from-the-cli-d2f5b1c30f5d">blog</a> which helped me to perform this task and I was able to exploit this thing successfully.</p><p>Thank you !!!</p><p>Feel free to connect me on <a href="https://www.linkedin.com/in/vaibhav-gaikwad-55071b152/">LinkedIn</a> .</p><p>You can support me via <a href="https://buymeacoffee.com/vaibhavgaikwad">buymeacoffee</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2fef1b637192" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Four Digit Bounty($$$$) in 10 mins]]></title>
            <link>https://vaibhavgaikwad1712.medium.com/four-digit-bounty-in-10-mins-20e4d5a87f0a?source=rss-90697ebe5c11------2</link>
            <guid isPermaLink="false">https://medium.com/p/20e4d5a87f0a</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[bounty-hunter]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[infosec-write-ups]]></category>
            <dc:creator><![CDATA[Vaibhav Gaikwad]]></dc:creator>
            <pubDate>Fri, 05 May 2023 06:18:00 GMT</pubDate>
            <atom:updated>2023-05-05T06:34:52.055Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello Researchers,</p><p>I hope you are doing awesome and learning something new everyday.</p><p>In today’s write up I will be discussing about my recent finding. So without any further delay let’s get started.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*4Hs_Q6RuBurX221zoH7Q2A.jpeg" /></figure><p>Recon and information gathering is the main and most important part of hunting as you all know. Everyone is having their own methodology of Recon process and hunting for vulnerabilities. I use multiple tools for my recon process and always try to gather as much data as I can using open-source tools as well as dorking and all.</p><p><strong>What is Shodan?</strong></p><p><a href="https://www.shodan.io/">Shodan</a></p><p><strong><em>Shodan is a search engine scanning the entirety of the internet for connected devices. Shodan is similar to more well-known search engines like Google, but instead of indexing websites, Shodan indexes each publicly available device connected to the internet.</em></strong></p><p><a href="https://www.safetydetectives.com/blog/what-is-shodan-and-how-to-use-it-most-effectively/#How-works"><strong><em>Shodan can discover a ton of devices</em></strong></a><strong><em>, from home baby monitors to the SCADA systems that are used to run a variety of industrial processes, from water treatment facilities to power plants. Academics, governments, and cybersecurity professionals use Shodan for a variety of reasons, including network security analysis and market research. Shodan can show developers how many users have installed the latest patch, and it can ping subscribers when a new device is added to their enterprise’s network.</em></strong></p><p><strong>How to find juicy and sensitive data using shodan?</strong></p><p>Use shodan dorks for finding sensitive data and information about the target. attaching the link of dorks and writeup <a href="https://medium.com/@nynan/shodan-for-bug-bounty-and-why-you-shouldnt-use-these-53-dorks-bfa347285b61">here.</a></p><p>I was hunting on Google’s program for the vulnerabilities after some time gathering some info I started gathering and finding some portals, login pages and found one interesting IP address. I opened the IP address and I was shocked after checking the data present there. That endpoint was exposing much critical data than we could think of including server configuration files, sql database url, usernames and passwords as well as credentials for multiple dashboards and mainly secrets that no one should get access of.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*wP5Us679eI2s2ev1LjUe8A.jpeg" /></figure><p>I was so amazed happy that I was going to get huge bounty ;)</p><p>So without any further delay I reported the thing to Google and was eagerly waiting for the Google’s response and bounty reward. I thought this would be the reward amount.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*Ur9Ln3ZPHBxf8mSL46At4A.jpeg" /></figure><p>But unfortunately Google replied that it was customer’s data and they cannot accept this as vulnerability.</p><p>I became sad by the response. After few days I reported same kind of vulnerability which I found using Shodan to Microsoft and they also reverted the same but after that I reported that to client and it got accepted. Although I didn’t got the bounty as it was VDP.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YfTFY9YQaas7OYMmgVop7g.png" /></figure><p>Based on above thing I thought why I can’t do the same for the previous one so I started finding the client who’s that was belonging to.</p><p>I was right I found client name after going through the source code and some files after that I searched for the company if that really exist or not. It was there and I reported the vulnerability to client. Within 2 hours I got reply from them and <strong>they patched the vulnerability and rewarded me the $$$$ bounty.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*mvA4qf2U0lL_dKycFuK4Nw.png" /></figure><p><strong>Takeaway:</strong></p><p>“When giant companies like Google, Microsoft revert us the vulnerabilities that we have found belong to clients(as they provide cloud services and companies might use their services for hosting servers) and not to them make sure you report it to the client 😛”</p><p><strong>Never Give Up !!!</strong></p><p>If you want any kind of help please feel free to contact me on <a href="https://www.linkedin.com/in/vaibhav-gaikwad-55071b152">LinkedIn</a></p><p><strong>Thank you !!!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=20e4d5a87f0a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CVE 2020-14178 Story [Bounty 500$ for 3 Vulnerabilities]]]></title>
            <link>https://vaibhavgaikwad1712.medium.com/cve-2020-14178-story-bounty-500-for-3-vulnerabilities-587cd950eb38?source=rss-90697ebe5c11------2</link>
            <guid isPermaLink="false">https://medium.com/p/587cd950eb38</guid>
            <category><![CDATA[cve]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[infosec]]></category>
            <dc:creator><![CDATA[Vaibhav Gaikwad]]></dc:creator>
            <pubDate>Wed, 21 Apr 2021 15:24:07 GMT</pubDate>
            <atom:updated>2021-04-21T15:24:07.644Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi There !!!</p><p>I am Vaibhav Nitin Gaikwad a Bug Hunter from India recently i got total 500$ Bounty on a private program. I submitted many reports but three of them got accepted other reports were duplicates :( .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/259/1*BicMqeikAfABO-41mDUENg.jpeg" /></figure><p>.</p><p>.</p><p>[asusual 😁]</p><p>[1] CVE 2020–14178</p><p>[2] Content Spoofing</p><p>[3] Business Logic Error</p><p>I am going to write about CVE 2020–14178</p><p>So Let’s get started….</p><p>It was a private program so let’s take it as example.com</p><p>First of all i enumerated all the subdomains with the tool subfinder and started checking for vulnerabilities then i came across a subdomain where there was jira dashboard so first thing came to my mind was there must be some CVEs related to this so i must try this. First time i was going to hunt for CVEs so i googled “CVE jira version 8.16.0” i got plenty of results so i started searching for one by one. As i said i got so many duplicates but i kept trying each and every CVE related to the target. Finally one of my submission was accepted.. I was too much Happy :)</p><p><a href="https://issues.xsolla.com/secure/Dashboard.jspa">https://abc.example.com/secure/Dashboard.jspa</a></p><p>let’s see how to do this !!!</p><p><strong>Vulnerability Name : </strong>Information Disclosure leads to Project keys enumeration[CVE 2020 14178]</p><p><strong>Vulnerable url:</strong> <a href="https://abc.example.com/secure/Dashboard.jspa">https://abc</a>.example.com/secure/dashboard.jspa</p><p><strong>Steps to reproduce:</strong></p><p>[1] go to this url <a href="https://issues.xsolla.com/secure/Dashboard.jspa">https://abc.example.com/secure/Dashboard.jspa</a></p><p>we will get to know this is a jira dashboard and the version is “Atlassian Jira Project Management Software (v8.9.0#809000-sha1:4ceb90a)”</p><p>so there is a exploitation available</p><p>Affected versions:</p><p>version &lt; 7.13.16<br> 8.0.0 ≤ version &lt; 8.5.7<br> 8.6.0 ≤ version &lt; 8.12.0</p><p>[2] now first of all intercept this url using burp suite</p><p>[3] now the request will be like this</p><p>GET /secure/Dashboard.jspa HTTP/1.1<br>Host: <a href="http://issues.xsolla.com/">abc.example.com</a><br>.<br>.<br>.</p><p>change this to</p><p>GET /browse.PROJECTKEY.jspa HTTP/1.1<br>Host: <a href="http://issues.xsolla.com/">abc.example.com</a><br>.<br>.<br>.<br>.</p><p>and click on go</p><p>we will get output as if project key exist or not</p><p>[4] project key enumeration vulnerability exists here and this means target is vulnerable to CVE 2020-14178</p><p>Reported the vulnerabilities and got bounties back to back ;)</p><p>I hope you have Learned something new from this writeup .</p><p><strong>Thank You !!!</strong></p><p>If you want any kind of help please feel free to contact me on LinkedIn</p><p><a href="https://www.linkedin.com/in/vaibhav-gaikwad-55071b152">Vaibhav Gaikwad - INTERNATIONAL INSTITUTE OF INFORMATION TECHNOLOGY (I2IT), HINJAWADI , PUNE - Wai, Maharashtra, India | LinkedIn</a></p><p>Thank You <a href="https://medium.com/u/facf070059ab">Ashish Dhone</a> sir for his constant support and motivation ..</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=587cd950eb38" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[2fa Bypass Using Response Manipulation]]></title>
            <link>https://vaibhavgaikwad1712.medium.com/2fa-bypass-using-response-manipulation-29d6c2583936?source=rss-90697ebe5c11------2</link>
            <guid isPermaLink="false">https://medium.com/p/29d6c2583936</guid>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[bugcrowd]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[infosec]]></category>
            <dc:creator><![CDATA[Vaibhav Gaikwad]]></dc:creator>
            <pubDate>Thu, 15 Apr 2021 09:42:13 GMT</pubDate>
            <atom:updated>2021-04-15T09:42:13.230Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi Folks I am Vaibhav Gaikwad Bug Bounty Hunter from India and i recently found a 2fa bypass using Response Manipulation bug on Bugcrowd. This is my first write up…</p><p>It got Triaged….</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*ymjqYfYSAOivCCr6LbMJaQ.png" /></figure><p>But turned out be a Duplicate :(</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*txD3PaOSZHV-qbZLfkerIw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*ETKt-YwYe7CZJxeheswuhA.jpeg" /></figure><p>Let’s Start…..</p><p>It was a private program so i cannot reveal the website name. Let’s call it as <a href="https://example.co/">https://example.co</a>m. The website was having 2fa functionality and I tried to setup the 2fa ( Two Factor Authentication ). The Two factor authentication is the application will ask for a code after you enter your login id/email and password. Without 2fa code you cannot login once you setup the 2fa on.This bug was on phone verification for adding mfa endpoint.</p><p>Steps to reproduce:</p><p>[1] go to and <a href="https://app-stage.bill.com/">https://example.com</a> and create an account<br> [2]verify emai id and then log in into your account<br> [3] you will get page where you have to fill information <br> [4] now there is a phone number verification functionality where we have to verify our phone number<br> [5] enter phone number and we will get an otp<br> [6]now enter that otp and intercept this request using burp suite <br> [7]put wrong otp there and do intercept response to this request<br> [8]before doing this send that request to repeater and check response for that correct otp so that we can manipulate and send <br> [9]we will get</p><p>========================================</p><p>HTTP/1.1 200 OK<br> Date: Wed, 10 Mar 2021 06:42:41 GMT<br> Content-Type: application/json<br> Content-Length: 212<br> Connection: close<br> Server: <br> Access-Control-Allow-Origin: <a href="https://app02.us.bill.com/">https://example.com</a><br> Access-Control-Allow-Credentials: true<br> X-FRAME-OPTIONS: deny<br> Content-Security-Policy: default-src ‘none’<br> Strict-Transport-Security: max-age=31536000; includeSubdomains; preload<br> Cache-Control: no-store, no-cache</p><p>{<br> “response_status” : 0,<br> “response_message” : “Success”,<br> “response_data” : {<br> “isSuccessful” : false,<br> “errorInfo” : “This isn’t the code we sent to +91xxxxxxxxx7.”,<br> “errorCode” : “BDC_1357”<br> }<br> }</p><p>Let’s Manipulate this request</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/253/1*-0o_xQiNBxtm9yau55fokA.jpeg" /><figcaption>Let’s do this first</figcaption></figure><p>========================================<br><strong> now change the content length to 114</strong></p><p>HTTP/1.1 200 OK<br> Date: Wed, 10 Mar 2021 06:29:34 GMT<br> Content-Type: application/json<br> Content-Length: 114<br> Connection: close<br> Server: <br> Access-Control-Allow-Origin: <a href="https://app02.us.bill.com/">https://example</a>.com<br> Access-Control-Allow-Credentials: true<br> X-FRAME-OPTIONS: deny<br> Content-Security-Policy: default-src ‘none’<br> Strict-Transport-Security: max-age=31536000; includeSubdomains; preload<br> Cache-Control: no-store, no-cache</p><p>{<br> “response_status” : 0,<br> “response_message” : “Success”,<br> “response_data” : {<br> “isSuccessful” : true<br> }<br> }</p><p>[10] I was able to bypass that otp verification code successfully..</p><p>and we have successfully bypassed the 2fa ;)</p><p>Never Give Up !!!!</p><p>Thanks to <a href="https://medium.com/u/facf070059ab">Ashish Dhone</a> sir for guiding me throughout this bugbounty journey :)</p><p>For any help please contact me on LinkedIn</p><p><a href="https://www.linkedin.com/in/vaibhav-gaikwad-55071b152">Vaibhav Gaikwad - INTERNATIONAL INSTITUTE OF INFORMATION TECHNOLOGY (I2IT), HINJAWADI , PUNE - Wai, Maharashtra, India | LinkedIn</a></p><p>Thank you for reading.. If you are having any suggestion you’re welcome :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=29d6c2583936" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>