<?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 Rohan Chavan on Medium]]></title>
        <description><![CDATA[Stories by Rohan Chavan on Medium]]></description>
        <link>https://medium.com/@rohanchavan?source=rss-ff1fc0ff2fc4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*AHVQJZH84b60BPPb.</url>
            <title>Stories by Rohan Chavan on Medium</title>
            <link>https://medium.com/@rohanchavan?source=rss-ff1fc0ff2fc4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 02:38:20 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rohanchavan/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[Django Machine Test Cheat Sheet | Best practices]]></title>
            <link>https://rohanchavan.medium.com/django-machine-test-cheat-sheet-best-practices-c3dfad362569?source=rss-ff1fc0ff2fc4------2</link>
            <guid isPermaLink="false">https://medium.com/p/c3dfad362569</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[interview]]></category>
            <category><![CDATA[django]]></category>
            <category><![CDATA[api]]></category>
            <dc:creator><![CDATA[Rohan Chavan]]></dc:creator>
            <pubDate>Sat, 27 Feb 2021 18:06:11 GMT</pubDate>
            <atom:updated>2021-02-28T04:35:31.953Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>TLDR;<br>In this blog i have shared a few tips which you should follow in your django machine test.</blockquote><p>Hii guys, writing a blog after a long time as I am currently working as a python full stack developer which takes most of my time. In this blog, I have shared some general best practices that most of the new programmers miss in their Django machine tests. Unfortunately, most of these are very crucial and the person evaluating your machine test is expecting you to have followed these best practices.</p><p><strong>What is a machine test?</strong><br>A machine test is an interview round in which you are given a problem statement and you have to provide the solution to the problem statement. Most probably when you are applying for the Django developer position the machine test is to make an API as Django is mostly used in the backend to make APIs.</p><h4>Naming Conventions:-</h4><p>A naming convention is generally agreed on rules which are followed for naming variables, functions, classes, etc. Naming conventions is very important as it increases the readability of your code. Different programming languages have different naming conventions as of now let&#39;s focus only on naming conventions for python. The names in your code should always have a meaning and should relate to the logic of the code.</p><p><strong><em>Variables</em></strong><em> </em>should be written as a <strong>lowercase</strong> single word or an underscore should be used if multiple words.</p><p><strong><em>Functions</em></strong><em> </em>should be written as variable names with lowercase and underscore if multiple words are used. But often we write functions that are used only for a particular thing such function names should be self-explanatory, getter/setter functions should be written using the “get_” or “set_” prefix.</p><p><strong><em>Class</em></strong><em> </em>names should start with Uppercase and every word of class name should start with uppercase.</p><p>db_table option gives flexibility to the user for specifying a database table name, the <strong>name of database tables</strong> should be <a href="https://stackoverflow.com/questions/338156/table-naming-dilemma-singular-vs-plural-names"><strong><em>singular</em></strong></a><strong><em>.</em></strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fcarbon.now.sh%2Fembed%3Fbg%3Drgba%2528171%252C%2B184%252C%2B195%252C%2B1%2529%26t%3Dseti%26wt%3Dnone%26l%3Dpython%26ds%3Dtrue%26dsyoff%3D20px%26dsblur%3D68px%26wc%3Dtrue%26wa%3Dtrue%26pv%3D0px%26ph%3D0px%26ln%3Dfalse%26fl%3D1%26fm%3DHack%26fs%3D14px%26lh%3D133%2525%26si%3Dfalse%26es%3D4x%26wm%3Dfalse%26code%3D%252523%252520EXAMPLE%252520FOR%252520GOOD%252520NAMING%252520CONVENTION%252520-%25250A%25250Aclass%252520OTP%2528models.Model%2529%25253A%25250A%252520%252520%2527%2527%2527%252520The%252520User%252520Model%252520returned%252520%2527%2527%2527%25250A%252520%252520otp%252520%25253D%252520models.CharField%2528max_length%25253D6%2529%25250A%252520%252520%25250A%252520%252520class%252520Meta%25253A%25250A%252520%252520%252520%252520db_table%252520%25253D%252520%252522otp%252522%25250A%252520%252520%25250Adef%252520get_first_name%2528%2529%25253A%25250A%252520%252520pass%25250A%252520%252520%25250Adef%252520send_otp%2528%2529%25253A%25250A%252520%252520first_name%252520%25253D%252520get_first_name%2528%2529%25250A%252520%252520is_email_verified%252520%25253D%252520False&amp;display_name=Carbon&amp;url=https%3A%2F%2Fcarbon.now.sh%2F%3Fbg%3Drgba%252528171%25252C%2B184%25252C%2B195%25252C%2B1%252529%26t%3Dseti%26wt%3Dnone%26l%3Dpython%26ds%3Dtrue%26dsyoff%3D20px%26dsblur%3D68px%26wc%3Dtrue%26wa%3Dtrue%26pv%3D0px%26ph%3D0px%26ln%3Dfalse%26fl%3D1%26fm%3DHack%26fs%3D14px%26lh%3D133%252525%26si%3Dfalse%26es%3D4x%26wm%3Dfalse%26code%3D%25252523%25252520EXAMPLE%25252520FOR%25252520GOOD%25252520NAMING%25252520CONVENTION%25252520-%2525250A%2525250Aclass%25252520OTP%252528models.Model%252529%2525253A%2525250A%25252520%25252520%252527%252527%252527%25252520The%25252520User%25252520Model%25252520returned%25252520%252527%252527%252527%2525250A%25252520%25252520otp%25252520%2525253D%25252520models.CharField%252528max_length%2525253D6%252529%2525250A%25252520%25252520%2525250A%25252520%25252520class%25252520Meta%2525253A%2525250A%25252520%25252520%25252520%25252520db_table%25252520%2525253D%25252520%25252522otp%25252522%2525250A%25252520%25252520%2525250Adef%25252520get_first_name%252528%252529%2525253A%2525250A%25252520%25252520pass%2525250A%25252520%25252520%2525250Adef%25252520send_otp%252528%252529%2525253A%2525250A%25252520%25252520first_name%25252520%2525253D%25252520get_first_name%252528%252529%2525250A%25252520%25252520is_email_verified%25252520%2525253D%25252520False&amp;image=https%3A%2F%2Fcarbon.now.sh%2Fstatic%2Fbrand%2Fbanner.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;scroll=auto&amp;schema=carbon" width="1024" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/897c580f8aff544680c98e0195fcf108/href">https://medium.com/media/897c580f8aff544680c98e0195fcf108/href</a></iframe><p><strong>Project dependencies</strong></p><p>The version of libraries and dependencies can be different in your workspace and someone else’s workspace, thus it is your responsibility to mention what are the requirements and dependencies which are required to run your projects. You should always use a virtual environment and maintain the project requirements in a file called requirements.txt. This file can be generated automatically by a simple command. Make sure you use this command after adding any new dependencies so that the file gets updated.</p><pre>pip freeze &gt; requirements.txt</pre><p><strong>Environment variables</strong></p><p>It is a very bad practice to upload your credentials and third-party API keys to Github/GitLab etc, to avoid this these credentials are stored in environment variables ( .env ). You can use the below package for this.</p><p><a href="https://pypi.org/project/python-dotenv/">python-dotenv</a></p><p><strong>Documentation</strong></p><p>It is very important to document your project, writing a brief readme is more than enough for this purpose. The blog below is a good starting point for writing a readme. Do not forget to <strong>add images</strong> of the endpoints or functionality which were asked to be made in the problem statement.</p><p><a href="https://dbader.org/blog/write-a-great-readme-for-your-github-project">How to write a great README for your GitHub project - dbader.org</a></p><p>You should also add API Documentation, this could be done very easily using the below package, all you have to do is include few URLs in the urls.py file.</p><p><a href="https://pypi.org/project/drf-yasg/">drf-yasg</a></p><p><strong>Last, but not least!</strong></p><p>God forbid, but if you ever have to copy-paste your friend’s project or if you find the exact same project on GitHub, at least change the secret key of your project. Thanks for reading, if you have any more tips then please comment down.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c3dfad362569" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Choosing a programming language as a Computer/I.T Engineering Student.]]></title>
            <link>https://rohanchavan.medium.com/choosing-a-programming-language-as-a-computer-i-t-engineering-student-1f08c827d29?source=rss-ff1fc0ff2fc4------2</link>
            <guid isPermaLink="false">https://medium.com/p/1f08c827d29</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[students]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[computer-science]]></category>
            <dc:creator><![CDATA[Rohan Chavan]]></dc:creator>
            <pubDate>Fri, 15 May 2020 17:45:39 GMT</pubDate>
            <atom:updated>2020-05-15T17:53:10.623Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*oDs1rxAf-r0GA3GqAjoTDQ.png" /><figcaption>creds- mkdev.me</figcaption></figure><p>You are a computer engineering student and jumbled which programming language you should choose? You (probably) learned some of these (<em>C, C++, JAVA, Python, JS</em>) languages in these your college portion but still, you are confused about which to choose as your primary programming language. Or if you don’t know any and want to know about a starting point to learn, then this article is for you, keep reading</p><blockquote>About Me:- I am a final year B.E student and hobby programmer, I am working as an intern full-stack developer from the last 6 months. I have done some freelance web development and being a cybersecurity enthusiast I have also written some exploits and automation tools. Teach programming at <a href="https://codersarena.now.sh/">Coders Arena</a> on weekends.</blockquote><h4>Why should you learn a programming language?</h4><p>In your course of Computer Engineering, you would most likely come across various problems that you have to solve, so a programming language is just a tool through which you can solve a particular problem. Secondly, if you want to get a job you should know at least know one programming language through which you can explain various concepts to the interviewer.</p><h4>How to choose a programming language?</h4><p>As mentioned above a programming language is just a tool, to solve a problem. So which language you should choose depends on the problem. You can see it like cutting an apple, you can cut an apple using a knife or a sword as well. But would it be wise to cut an apple with a sword ? its a different case if you are a swordsman. There is also a factor of self-interest which plays a major role in choosing a programming language. But you should at least know one system programming language i.e c,c++, java, python. If you want to be a competitive programmer <strong>c++</strong> or <strong>java</strong> is your goto languages, if you want to learn a language with which you could <strong>easily </strong>do pretty much anything then it would be python. If you are planning to make a programming language, compiler or even an operating system <strong>c</strong> is only the solution.</p><h4>Will it help me in the future?</h4><p>You will get the answer to this question if you ask yourself what sort of developer or engineer you want to be, or which field in IT excites you the most? If you want to be a web developer and make awesome websites then maybe c++ isn’t for you. If you want to make android apps or IOS apps, is there any reason investing time to learn python? you understood what I meant right?</p><p>But hey I don’t want to be a developer, then why/what should I learn? <em>I have answered this question at the end of the blog.</em></p><h4>Deciding the career path and suitable language.</h4><h4>1. Web Development</h4><p>If you want to be a web developer there are a lot of options for you, trust me this could be just another article. But which language to choose as a web developer depends on the project and a lot of factors are taken into consideration. But in this blog, we will focus on choosing programming which is student-oriented and could be used in academic projects.</p><figure><img alt="HTML IS NOT A PROGRAMMING LANGUAGE !!!!" src="https://cdn-images-1.medium.com/max/500/1*BfcVq7s02kV8vbW_XGMTjg.png" /><figcaption>HTML IS NOT A PROGRAMMING LANGUAGE !!!!!!!</figcaption></figure><blockquote>You should compulsorily know — HTML, CSS, JS</blockquote><h4>BACKEND</h4><ol><li>PHP — PHP is a comparatively easy language and is an old language, which means there are a lot of available guides on the internet. Also, it is very easy to host a PHP based project on shared hosting FREE of cost. But if you are thinking to use PHP as your primary backend web dev language then you should consider learning frameworks like CakePHP, laravel, etc. But the interviewer won’t be much impressed to see PHP in your resume, its sadly not the buzz word anymore, But its surely worth it to learn as your first serverside language.</li></ol><p>2. Python Django — Django is a python web framework that is trending today. You can make awesome web apps easily which is also easy to host and deploy, thanks to Heroku. You can make rest API, there are a lot of plugins that you could use with Django and can make your life easy.</p><p>3. Node Js — Node js is the most common js framework which you will see in the current market. You must have often heard people saying MERN stack, MEAN stack, etc, where N stands for node. If you learn node you are guaranteed to get a job.</p><p>4. Java Spring — I am not a java developer and I haven’t worked extensively in java, but java is used to make enterprise-level Softwares, you won’t most likely see it in startups you would see it in MNC tech giants, mostly service-based companies.</p><p>Other options are ASP.NET, GO, Ruby, etc which are not that beginner-friendly but are damn good.</p><h4>FRONTEND</h4><ol><li>BOOTSTRAP — <strong>Bootstrap</strong> is the most popular <strong>CSS framework</strong> for developing responsive and mobile-first websites.</li><li>React/Angular/Vue — These are js frameworks that are used for frontend development and are currently trending. Honestly, these are not that tough if you know HTML and js then you can easily understand these frameworks.</li></ol><h4>DATABASE</h4><p>Most of the recent programming frameworks use ORM (object relation mappers). If you don’t know what an ORM is then you should read <a href="https://blog.bitsrc.io/what-is-an-orm-and-why-you-should-use-it-b2b6f75f5e2a">this article </a>(After you complete this )</p><ol><li>Mysql</li><li>Postgresql</li><li>MongoDB</li></ol><h4>2. Mobile App development</h4><p>Mobile app development can be classified into three parts,</p><ol><li>Android — Java,kotlin</li><li>IOS — swift</li><li>Hybrid — Flutter, react native</li></ol><p>The biggest benefit of learning flutter is that the same code base is used in android as well as IOS, which is a huge benefit for companies. Instead of hiring one Android developer and one ios developer for a single project the company would hire one hybrid developer. So learning a hybrid language would get you going.</p><h4>3. Networking/DevOps</h4><p>This is a field that will require you to have strong knowledge of Linux, or windows. And yes programming is also an essential skill you need to possess if you want to excel in this job. These sort of jobs needs you to automate things a lot, so you need to learn a language which could be let you easily automate something such languages are also called scripting languages.</p><ol><li>python</li><li>shell scripting (bash scripting)</li><li>Powershell</li></ol><h4>4. DataScience/Data Analytics</h4><p><a href="https://medium.com/@jimmypang/data-science-in-a-nutshell-db351fa41c64">It is a set of disciplines and practices that handle data in a scientific manner. The foundations of data science are mostly Mathematics and Statistics, sometimes Software Engineering would play a role as well.</a></p><ol><li>Python</li><li>R — (Yes it is a programming language)</li></ol><h4>5. System Programming</h4><p>If you love making desktop apps, then you will have to learn C, C++, C# to the very core.</p><h4>6. Cyber Security</h4><p>Cybersecurity is a big concept, you could learn to hack/secure something by using a particular tool, but if you will work as a professional penetration tester or a malware analyst, or a malware developer you should know to program. You should learn how to quickly automate things, you should be able to make a Proof of concept exploit, you should know basic networking. But to start professionally below is what I feel you should know</p><ol><li>python — To write automation tools, exploits</li><li>shell scripting — Automation</li><li>c,c++ — Malware/virus development</li><li>PHP — write web-based exploits</li></ol><p><em>Nobody said being a hacker is easy ‘\_(^^)_/’</em></p><h4>7. Game Development</h4><p>I am not so familiar with this field but I’m well aware that c++ and c# are used to make games, so those are a good starting point if you want to develop games.</p><h4>Hey, I hate coding !!!</h4><p>You could work as a software tester which is also a good field if you don’t want to spend your entire life coding things. But still, if you want to do good in this field you will need to learn something called automation testing. You could search on google regarding selenium which is used for automation testing. Selenium can be used with python or java, but using it with python is very easy, and you should consider learning it.</p><h4>My Programming Journey</h4><p>Just like many other students I had never written a single line of code until I wrote hello world in C in my first year. After then I learned a bit of java as it was in portion. But I was never overwhelmed with it, meanwhile, I had started learning PHP on my own. I practiced a lot and made a lot of projects in PHP, bootstrap which helped me build a solid foundation of how server-side programming languages work. Then I learned python and started using Django, the learning curve was quite tough but the understanding of PHP helped me through it. After that, I decided to explore js frameworks to improve my front-end skills and learned react. I am currently using GO which has also become my favorite programming language.</p><p>That’s it, folks !!! I hope this article will help you to choose a programming language. These are my thoughts, and I completely understand that yours might be different. If you have any doubts please feel free to respond below, I would be happy to answer your questions. Best of luck, Happy coding !!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1f08c827d29" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Finding and Testing MisConfigured S3 Buckets !]]></title>
            <link>https://rohanchavan.medium.com/finding-and-testing-misconfigured-s3-buckets-d77992c4b5cd?source=rss-ff1fc0ff2fc4------2</link>
            <guid isPermaLink="false">https://medium.com/p/d77992c4b5cd</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <dc:creator><![CDATA[Rohan Chavan]]></dc:creator>
            <pubDate>Sat, 29 Jun 2019 07:14:26 GMT</pubDate>
            <atom:updated>2019-06-29T07:14:26.638Z</atom:updated>
            <content:encoded><![CDATA[<h3>Finding and Testing MisConfigured S3 Buckets.</h3><p>Hello Friends, I am Rohan Chavan. I am a Computer Engineering student and a bugbounty hunter. In this article I am going to share some of my research on finding a misconfigured s3 buckets. Please comment your feedback or if you have some more tips and techniques which I might have missed out.</p><h4>What are S3 buckets ?</h4><p>An Amazon s3 (Simple Storage service) is a service from AWS (Amazon Web Services) which is like a cloud storage used to store file, folders, objects , etc. It is used to mostly store images, videos, PDFS, text files, and in rare cases to store source backups, credentials in plain text, etc. AWS can be used using the website or using the CLI (which we will be using).</p><h4>Configuring your AWS account :-</h4><p>First you need to signup for a Free aws account.</p><p><a href="https://aws.amazon.com/">Cloud Computing Services - Amazon Web Services (AWS)</a></p><p>Then download the CLI for your machine.</p><p><a href="https://docs.aws.amazon.com/cli/latest/userguide/install-windows.html">Install, Update, and Uninstall the AWS CLI version 1 on Windows</a></p><p>Next step is to configure your Aws account on your CLI</p><p><a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html">Configuring settings for the AWS CLI</a></p><p><em>Official Documentation of AWS is easy to understand and implement so I am just sharing the links to these articles.Please Comment below if you are not able to follow the article.</em></p><h4>Finding Buckets :-</h4><p>These can be done manually or by using some automated scripts such as :-</p><p>bucket_finder</p><p>Download: <a href="https://github.com/FishermansEnemy/bucket_finder">https://github.com/FishermansEnemy/bucket_finder</a></p><p>S3Scanner</p><p>Download: <a href="https://github.com/sa7mon/S3Scanner">https://github.com/sa7mon/S3Scanner</a></p><p>s3-inspector</p><p>Download: <a href="https://github.com/kromtech/s3-inspector">https://github.com/kromtech/s3-inspector</a></p><h4>Manual method :-</h4><ol><li>Suppose you are hunting on a target, you can use dnsdumpster to findout all the subdomains, it also finds out the s3buckets, which will look like</li></ol><blockquote>&lt;Bucket_Name&gt;<a href="https://hackerone.com/redirect?signature=83d2b900c9d8b9c20de796e7fab49ef38ebecc68&amp;url=http%3A%2F%2Frubyci.s3.amazonaws.com">.s3.amazonaws.com</a></blockquote><p>2. You can find the buckets if you intercept the requests of Uploading a profile picture or etc.</p><p>3. Also always try to download the files , and if you use mozilla it prompts an option to “<strong>save</strong>” or “<strong>openwith</strong>” which shows the address where the url from where the files are being downloaded.This can reveal buckets.</p><p>(Let me know if you have more ideas for finding buckets.)</p><h4>The 6 vulnerability types are :-</h4><p>Amazon S3 bucket allows for full anonymous access<br>Amazon S3 bucket allows for arbitrary file listing<br>Amazon S3 bucket allows for arbitrary file upload and exposure<br>Amazon S3 bucket allows for blind uploads<br>Amazon S3 bucket allows arbitrary read/writes of objects<br>Amazon S3 bucket reveals ACP/ACL</p><p>(Refered from detectify blog)</p><h4><strong>Checking for Misconfigurations :-</strong></h4><p>Now that we have configured our aws cli, and understood how to find buckets , lets see how to check for basic misconfigurations.</p><p>We can check whether we could list the items stored in the bucket by using the command.</p><blockquote>aws s3 ls s3://Bucket_name</blockquote><p>this will give you a result like below ( Image from a hackerone report)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U4n3ve1j_jJBzg4Jt0thzQ.png" /></figure><p>You can list all the items even from the sub directories by just using the</p><blockquote>- -recursive flag</blockquote><p>A properly configured Bucket will give an Access Denied Error.</p><p>Many a times it happens that we are not able to list a file but we are able to copy, move, delete files.</p><p>we can simply use the following commands.</p><blockquote>aws s3 mv test.txt s3://bucket</blockquote><p>which will give us an output like below if our file is moved successfully.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/1*Iz_V2hCTlDM2uh4oTSrSAQ.png" /></figure><p>or access denied if it is properly configured.</p><p><em>Few more examples :-</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/761/1*_RYOb5qu40OlyVeGR7hjFA.png" /></figure><h4>Impact :-</h4><p>Impact of such misconfiguration depends on what the bucket is storing, if the bucket is in scope and having some sensitive data then you can expect a good bounty. But if the information is not so sensitive then it might be a low priority bug, but reporting such low hanging fruits or easy to find bugs are always worth it.</p><p><strong><em>Below are some Hackerone reports for the same vulnerability :-</em></strong></p><ul><li><a href="https://hackerone.com/reports/189023">Legal Robot disclosed on HackerOne: S3 ACL misconfiguration</a></li><li><a href="https://hackerone.com/reports/229690">Zomato disclosed on HackerOne: Amazon S3 bucket misconfiguration...</a></li><li><a href="https://hackerone.com/reports/172549">Reverb.com disclosed on HackerOne: Possible Blind Writing to S3 Bucket</a></li><li><a href="https://hackerone.com/reports/209223">Ruby disclosed on HackerOne: Open S3 Bucket WriteAble To Any Aws User</a></li><li><a href="https://hackerone.com/reports/129381">Twitter disclosed on HackerOne: niche s3 buckets are...</a></li></ul><h4>Remedition and Fix :-</h4><p>The main reason is improper file permissions, changing the permissions properly would fix such issue.</p><p>Thats it Folks !!!</p><p>Thanks for reading, Happy Hunting !!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d77992c4b5cd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Unique XSS Scenario || $1000 bounty.]]></title>
            <link>https://rohanchavan.medium.com/a-unique-xss-scenario-1000-bounty-347f8f92fcc6?source=rss-ff1fc0ff2fc4------2</link>
            <guid isPermaLink="false">https://medium.com/p/347f8f92fcc6</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[xss-attack]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <dc:creator><![CDATA[Rohan Chavan]]></dc:creator>
            <pubDate>Sun, 03 Feb 2019 17:29:13 GMT</pubDate>
            <atom:updated>2019-02-03T17:29:13.671Z</atom:updated>
            <content:encoded><![CDATA[<h3>A Unique XSS Scenario in SmartSheet || $1000 bounty.</h3><h4>Just another XSS POC writeup ..!!!</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*jAH38cN8OOrTACA43pz-EA.jpeg" /></figure><p><strong>TLDR:</strong> This is an writeup of a recent bug which I found in smartsheet .It was an <strong>stored xss</strong>, but the way it was getting triggered was really great from the perspective for hackers, js was getting executed when any user clicks on the malicious notification , this could let any user takeover any account (with vertical and horizontal privileges ) which increased the severity of the Bug.The security team of the program was very professional and understood the scenario very well.</p><blockquote>Before we move forward, I’d really like to thank the smartsheet security team for this coordinated disclosure.</blockquote><p>Hello guyzz .!!! Thanks for your support and blessings.I hope you all are doing fine and are excited to read about this writeup because of the click-bait Title. So without wasting any time further, lets get straight into it.</p><p>Its only been 2–3 months since I started bug-bounty.Before that I used to spend most of my time on <a href="https://hackthebox.eu/">hackthebox.eu</a> and play <strong>CTFs </strong>,back then I had tried bugbounty but I wasnt getting anything , after getting a -ve signal on my H1 profile because of NA’s , I got frustrated/depressed and left that track. (One of the Biggest mistake I ever did)</p><p>From the last two month I decided to give 3 hours a day to bugbounty because I wanted to give <strong>oscp </strong>and didn’t wanted to put that burden on my parents back (P.S I am a student and not yet working).So the only option I was seeing to earn that money for my OSCP fees was BugBounty. And it worked out ..!!!</p><p>I started with <em>Points only</em> programs in <a href="https://medium.com/bugcrowd.com">bugcrowd</a> (Yeah I love bugcrowd, already had a bad experience with h1) because professional hunters don’t hunt for points.I was also testing wordpress plugins, most of them are Damn Buggy. Last month I reported around 5 bugs but this was the scenario.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/694/1*THZA3wjuvV8qVC3CIpSiLQ.png" /><figcaption>report’s stats</figcaption></figure><p>But then I got my first bounty from <strong>ZOHO, (<em> </em></strong><em>I have provided a link to it at the end of this writeup</em>) .Then I saw smartsheet in the bugcrowd programs directory,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cQP5lrYsVcFPS6TxLaF5hQ.png" /></figure><p>It has a very catchy tagline which intimate any hacker/researcher to test their skills on the program. I was like ..!!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F9m5nCk9GWyi8U%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F9m5nCk9GWyi8U%2Fgiphy.gif&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F9m5nCk9GWyi8U%2F200.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="435" frameborder="0" scrolling="no"><a href="https://medium.com/media/3d084b87b62ad44799df977f6b26bea6/href">https://medium.com/media/3d084b87b62ad44799df977f6b26bea6/href</a></iframe><p>I then read the program rules and scope, I saw a lot of researchers in recently joined (more than 500) as it was an old program, which makes it even tough. But I wanted to test myself. It was around 5pm when I started basic recon, started a nmap full port scan (this is the habit of all the HTB dudes, everything starts with NMAP …hahaha). Since it was going to take a while, i decided to signup and see what it actually is, because till that moment I had never came across that platform. I signed up and started wandering here and there, trying what all privilages do a normal user have. In that program a user is able to make a sheet somewhat similiar to Ms. Excel (<em>Go signup and check them out ..!!!</em>). we could give access of that sheet to various users of that program to manage the sheet, suppose I am tester , and I could give access to other person suppose victim1 , It is a cool feature isnt it ? but wait ..!!! whenever tester makes any change in the document, victim1 could be notified about it. (This is the main attack scenario, have written in brief about it further.)</p><p>So I spent next few hours trying a lot of things like IDOR, sqli, also xss’s but since it was an old program mostly all the user inputs were properly sanitized and handled.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F8fRwPZtbWkkX6%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F8fRwPZtbWkkX6%2Fgiphy.gif&amp;image=https%3A%2F%2Fmedia1.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExejV2c3NrcTZubmhhZnM3MzMwbTBzZDU0bGxsbmYyOTFzenNiNjdxdCZlcD12MV9naWZzX2dpZklkJmN0PWc%2F8fRwPZtbWkkX6%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="239" frameborder="0" scrolling="no"><a href="https://medium.com/media/291e39a0218accab3ed7cdd6eb2abc87/href">https://medium.com/media/291e39a0218accab3ed7cdd6eb2abc87/href</a></iframe><p>I started at 5pm and it was 9 pm now, I had dinner and started again at 9:30. But I had decided to not give up easily on it, like i used to do earlier.I motivated myself and got mentally prepared to spend next 2–3 days on it.Now I started fuzzing their api, and left it to run and got back to the main webapp. I was manually going through each and every request and response had lots of repeater tabs open , things started getting messy.</p><p>It was now 11 pm, I plugged in my earphones psy-trance was playing and I was in the Trip of hacking.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FxT9IgH0fInLY2LCDPa%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FxT9IgH0fInLY2LCDPa%2Fgiphy.gif&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FxT9IgH0fInLY2LCDPa%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="319" frameborder="0" scrolling="no"><a href="https://medium.com/media/af152ad16443b654d5030eb9202eb2e9/href">https://medium.com/media/af152ad16443b654d5030eb9202eb2e9/href</a></iframe><p>It popped my mind that I haven’t tried SSRF yet, and saw that I can attach link through attachment’s. I linked scanme.nmap.org:22 and in the link name parameter I entered the payload “&gt;&lt;img src=x onerror=”alert(1)”&gt; .But this time I enabled the notifications, and attached the link to the document.After a minute I saw the notification appeared. I clicked on the notification and saw that the html content after clicking on notification got a bit misplaced because of the above payload. Then I saw the markup near the link name parameter. and modified the payload as “&gt;”&gt;&lt;img src=x onerror=”alert(1)”&gt; and attached the link.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/370/1*pAt-AsCzMH6R4gwfN7X2ew.png" /><figcaption>XSS payload</figcaption></figure><p>Attached the link , nothing happened on the sheet. I continued to look for other things, After a few minutes I got the notification that attachment has been added to the document.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/357/1*qMspBXHGrwEAX_jNER8aRQ.png" /><figcaption>Notification</figcaption></figure><p>When I clicked on that notification XSS got executed ..!!!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sS-zxDXWz2NPOCsumbuBSw.png" /><figcaption>XSS triggered ..!!!</figcaption></figure><p>So we now have an XSS, but how can I increase the impact !!! If you have read above , there is a feature in smartsheet which would allow you to notify/alert other users, what if another user suppose <strong>victim</strong> ,gets the malicious notification and he clicks on it ?? Yes then he will be truly a victim of the attack.It could be an account takeover. If attacker attaches an malicious attachment, and the true owner of that page clicks on the notification, his account would be compromised.</p><p>We have an Account Takeover ..!!!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FWiM5K1e9MtEic%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FWiM5K1e9MtEic%2Fgiphy.gif&amp;image=https%3A%2F%2Fmedia3.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExeWVsMHFoZW9saWw5b2IyMGRvMXlwNXp0b2dxb2dyb2xhYWphejZzZCZlcD12MV9naWZzX2dpZklkJmN0PWc%2FWiM5K1e9MtEic%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="320" frameborder="0" scrolling="no"><a href="https://medium.com/media/269958fb6b9ccc4ccaebc5b5dab505b7/href">https://medium.com/media/269958fb6b9ccc4ccaebc5b5dab505b7/href</a></iframe><p>Until this It was around 12.30 pm. I wrote a nice report and made a video POC and submitted the report on bugcrowd.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FBaB8gBx0yZsYg%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FBaB8gBx0yZsYg%2Fgiphy.gif&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FBaB8gBx0yZsYg%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="470" frameborder="0" scrolling="no"><a href="https://medium.com/media/b46b66e0f03c45266f0fd26bdae2181a/href">https://medium.com/media/b46b66e0f03c45266f0fd26bdae2181a/href</a></iframe><p>Report Time Line :</p><p>Submitted report on Bugcrowd — 3 October 2018 19:21:24 UTC.</p><p>Requested more info — 5 October 2018.</p><p>Info Provided — 6 October 2018.</p><p>Report Triaged — 10 October 2018.</p><p>Awarded 20 points and $1000–12 October 2018</p><p>Requested for disclosure — 12 October 2018.</p><p>Status changed to Resolved — 16 October 2018.</p><p>Agreed for coordinated disclosure — 16 October 2018.</p><p>Write up published — 3 February 2019.</p><h4>Thanks for reading ..!!!</h4><blockquote>I am looking for an opportunity in infosec (mostly an Internship, or part time jobs). I am good in Web Application security , also am a certified php developer and python enthusiast. I have written some hacking tools and other cool stuff. So if You hire for your company I would like to apply (Remote or in Mumbai). You can find me here <a href="https://p5yph3r.github.io/">https://p5yph3r.github.io/</a></blockquote><h4>Some of my other writeups :-</h4><p>My Writeup on Zoho Bug ..!!!</p><ul><li><a href="https://medium.com/@rohanchavan/100-bounty-in-300-seconds-isnt-bad-4f4112c102ef">$100 Bounty in 300 seconds isn’t bad !!!</a></li><li><a href="https://medium.com/@rohanchavan/social-engineering-because-there-is-no-patch-for-human-stupidity-966e1c148da6">Social Engineering — because there is no patch for Human Stupidity ..!!!</a></li><li><a href="https://www.secjuice.com/bruteforcing-with-python/">Writing A Simple Directory Bruteforcing Tool with 25 Lines of Python</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=347f8f92fcc6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automating Linked-In Connections with Python]]></title>
            <link>https://rohanchavan.medium.com/automating-linkedin-connections-with-python-c28ddf91cf42?source=rss-ff1fc0ff2fc4------2</link>
            <guid isPermaLink="false">https://medium.com/p/c28ddf91cf42</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[selenium]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Rohan Chavan]]></dc:creator>
            <pubDate>Tue, 11 Dec 2018 13:56:53 GMT</pubDate>
            <atom:updated>2018-12-11T13:56:53.309Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/327/1*_wLE1GnG3EjTD2bbRE_2Ng.png" /></figure><p>Hii guyzz, this is an writeup of how I automated LinkedIn with python to send connections request automatically to all the suggested users.Below is the working video of the code.Modules used :- selenium, pyautogui.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FqDRvZiH2lyI%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DqDRvZiH2lyI&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FqDRvZiH2lyI%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/6de370c69e75b0cbfcd2b84ef4e8b82f/href">https://medium.com/media/6de370c69e75b0cbfcd2b84ef4e8b82f/href</a></iframe><h4>What is <strong>Linked-In</strong> ?</h4><p>(As said by <a href="https://www.lifewire.com/what-is-linkedin-3486382">Lifewire</a>)LinkedIn is a social network for professionals. Whether you’re a marketing executive at a major company, a business owner who runs a small local shop or even <a href="https://www.lifewire.com/essential-apps-for-college-students-3485935">a first year college student</a> looking to explore future career options, LinkedIn is for anybody and everybody who’s interested in taking their professional life more seriously by looking for new opportunities to grow their careers and to <strong>connect with other professionals</strong>.</p><p><strong>The need for automation</strong> <strong>?</strong></p><p>I am currently a studying computer Engg , but side by side I am a security researcher, bug bounty hunter, CTF guy and want to work as a Penetration tester in the future.I heard that there is a nice infosec community on linked in and having a profile there would help me get a job easily in future. So I created my account and was manually sending connection requests to people, after some time I saw that linked in suggests connections with the same interest or bio, just like facebook.The logic is simple, the more connections you have, big is your network,Now I was simply clicking the connection button again and again without actually seeing the profile of the person, then I thought what if I let python do what I was doing manually (Benefits of being lazy).</p><p><strong>Let the code speak now,</strong></p><p>For most of the web automation, you (mostly) need two things a scrapping package like beautifulsoup and requests, Now if there isn’t much scrapping involved you could also use regex.Selenium is a package which is used to automate browsers, you can read <a href="https://en.wikipedia.org/wiki/Selenium_(software)">more about it here</a>. Along with selenium we need a webdriver, you need to download the webdriver according to your browser and its version, you can simply say that webdriver is an interface between your code and the browser. I have also used PYautoGUI , it is a python module for programatically controlling keyboard and mouse.</p><p>let start with <strong>Importing</strong> all the things we need,</p><pre>from selenium import webdriver #connect python with webbrowser-chrome<br>from selenium.webdriver.common.keys import Keys<br>import pyautogui as pag<br>import time</pre><p>Now lets add the <strong>main function,</strong></p><p>First we need to open the linked in page in our automated browser, lets do it.We will write it in our main function,</p><pre>def main():<br> #launch url<br> url = “<a href="http://linkedin.com/">http://linkedin.com/</a>&quot;<br> nurl = “<a href="http://linkedin.com/mynetwork/">http://linkedin.com/mynetwork/</a>&quot;<br>driver = webdriver.Chrome(&#39;C:\\Users\\hp\\Desktop\\chromedriver.exe&#39;)<br>driver.get(url)</pre><pre>if __name__ == __main__:<br> main()</pre><p>Here the variable url is simply the url of linkedin, (Ignore the nurl var for now). Then we call our webdriver using webdriver.chrome(/path-to-your-driver/) since it might be big and a pain to write everytime, we define a variable driver for it.</p><p>Now that we have opened the login page, we obviously need to signin,</p><p>lets write a function for that,</p><pre># Login to Linked in :<br>def login():<br> username = driver.find_element_by_id(“login-email”)<br> username.send_keys(“username”)<br> password = driver.find_element_by_id(“login-password”)<br> password.send_keys(“password”)<br> driver.find_element_by_id(“login-submit”).click()<br> print(“successfully logged in”)</pre><p>find_element_by_id :- Using selenium you can find html contents by id, name, tag, class, etc. so here firstly we need to find the element in login page with the id = “login-email” . How did i get the element id ? simple just go to the desired element and inspect element, there you will see all the attributes of an html entity.</p><p>Once selenium gets that tag, now we need to send the keys, that’s why we imported keys, it can be simply done with the send_keys function in selenium.we use the same technique to enter the password, once entered the creds we need to click the login button , well selenium got it covered.It has an inbuilt click function which does it for you.</p><p>Now we need to <strong>goto the networks</strong> tab in <strong>Linked-In</strong></p><p>Using the same logic above we can write it as,</p><pre>def goto_network():<br> try:<br>   driver.find_element_by_id(“mynetwork-tab-icon”).click()<br> except:<br>   print(“[+] Some Error Occoured \n Directly opening networks tab”)<br>   body = driver.find_element_by_tag_name(“body”)<br>   body.send_keys(Keys.CONTROL + ‘t’)<br>   driver.get(nurl)</pre><p>We simply start with a try except block, if selenium isn’t able to open it, the code will open the nurl (see the variable defined above) page , this isnt necessary but it will serve as a backup plan.</p><p><strong>Sending the Connection requests :-</strong></p><p>Big platforms always try their best to prevent scrapping and automation, and for this they use various techniques, same was done by linked-in . Since the connections was in a dymanic table , I wasnt able to point selenium to that connection button, I had tried Xpath and all the ways possible, but it wasnt possible. After spending a day on it, I got another idea, I saw that the connection button is in the same area, (Use linkedin and you will understand what i am talking about). So I used another approach, I took screenshot of the page and opened it in paint, then I calculated where the <strong>connect button </strong>lies, It was on (880,700)px ( It will be different for you). So now you need to click on pixel 880,700 to click on this connection button , this can be written as below</p><pre>def get_details():<br> test = input(“ start sending requests (y/n)”)<br> for i in range(0,10):<br>   pag.click(880,700)<br>   time.sleep(2)<br>   print(“[“+str(i)+”] Connection request sent “)<br> print(“done”)</pre><p>Here the input is simply used as a user controlled pause in the program flow,The for loop should iterate the number of times, you want to send the connection requests.I have sent it 10 times(quite enough for a demo).</p><p>To click on the pixel, we used pyautogui so,</p><pre>pag.click(880,700)</pre><p>clicks on the mentioned pixel,Thats it , your script just sent someone a connection request ..!!!</p><p><strong>The Complete code :-</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7BtA5Ze2UIkjt84hnXySFA.png" /></figure><p>I have purposely not shared the github link, but if you want the code, just comment your email Id, I will share the github link.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c28ddf91cf42" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[$100 Bounty in 300 seconds isn’t bad !!!]]></title>
            <link>https://rohanchavan.medium.com/100-bounty-in-300-seconds-isnt-bad-4f4112c102ef?source=rss-ff1fc0ff2fc4------2</link>
            <guid isPermaLink="false">https://medium.com/p/4f4112c102ef</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[hacker]]></category>
            <dc:creator><![CDATA[Rohan Chavan]]></dc:creator>
            <pubDate>Fri, 31 Aug 2018 18:04:46 GMT</pubDate>
            <atom:updated>2018-08-31T18:04:46.852Z</atom:updated>
            <content:encoded><![CDATA[<p>Hey guyzz …!!! I hope you are fine and doing absolutely awesome in your own fields. Thanks for the awesome response on my last article have got almost 18K views, 11k reads, and 450+ claps and counting..!!! In the meanwhile I wrote a few other articles but not on medium ( they are posted on <a href="https://www.secjuice.com/">Secjuice</a> ) such as <a href="https://www.secjuice.com/bruteforcing-with-python/"><strong>writing a Directory bruteforcing tool in 25 lines of python</strong></a><strong> , </strong><a href="https://www.secjuice.com/india-hackers-perspective/"><strong>India from a hackers perspective</strong></a><strong> </strong>and few other awesome writeups are posted <a href="https://www.secjuice.com/">here</a>.</p><p>This write up is about my recent findings in <a href="https://www.zoho.in/">zoho</a>. First of all I would like to thank <strong>zoho</strong> security team for allowing me to write about this bug. The bug was an <a href="https://www.owasp.org/index.php/Testing_for_Stored_Cross_site_scripting_(OTG-INPVAL-002)"><strong>stored xss</strong></a><strong> </strong>in one of their subdomain. So I was just going through the facebook posts in one of the bug bounty hunters group, one of the guy there posted his zoho leaderboard post, until then i wasn’t knowing that zoho had a BugBounty Program. I was like ….</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FoOxBQwNqGwxeWLDF6A%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FoOxBQwNqGwxeWLDF6A%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2FoOxBQwNqGwxeWLDF6A%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="435" frameborder="0" scrolling="no"><a href="https://medium.com/media/56865f6af6ac0032f0e9f2f35bc04589/href">https://medium.com/media/56865f6af6ac0032f0e9f2f35bc04589/href</a></iframe><p>I hopped on and fired up my machine, I saw their program and scope and was ready for the hunt.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FpO7jomKrTwfSw%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FpO7jomKrTwfSw%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2FpO7jomKrTwfSw%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="235" frameborder="0" scrolling="no"><a href="https://medium.com/media/4697ce6cfcf31966c9352ae2567387c1/href">https://medium.com/media/4697ce6cfcf31966c9352ae2567387c1/href</a></iframe><p>This is where you can start the timer, 3,2,1 …..LAUNCH ..!!!</p><p>So I browsed to their website, and created an account and landed on their dashboard. It was the first time I was on ZOHO, there were three main options, campaigns , enterprise &amp; uummm…….lets keep that a secret.(I dont remember the third one and i’m lazy to login again and see it for the blog 😂 🤣). Like every other bug hunter , I started playing with it to understand how the site is working.In the dashboard I saw there was an calendar, Out of curiosity I started testing it, clicking here and there, i wasn’t yet analyzing requests in burp, just clicking here and there.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0IVVt4cKcI7wxSRL_jZBvg.jpeg" /></figure><p>So I clicked on one of a date and an modal box prompted me,in this box there was an option mark this date.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/1*UP7Gf0T_RlgjQNweOL1rlg.jpeg" /></figure><p>When I clicked on that button, it took me to another page,where I was able to write title, add action and stuff. Initially I quickly tried some sqli and xss payloads but didnt seem to workout, I wasn’t really having any hope on this but was motivated enough to keep going further. I was putting xss payloads in every text input available,you never know , when you might get lucky just like I got this time. So I again entered the xss payload in the notes input. and then submitted the form. I had my fingers crossed but nothing happened , I was back to the calendar page.I again started wandering here and there….then I noticed that the title which I had written was on the calendar date within blue strip. I remembered I haven’t checked that out yet, So I clicked on that and what ……</p><p>.</p><p>.</p><p>.</p><p>.</p><p>(nope it didnt give me the xss popup) nothing happened yet.The same modal popped up again it was having the details of whatever I entered.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/664/1*uzKFgyZiuyccbL75kKaIRg.jpeg" /></figure><p>I noticed the small action in blue, I clicked it and ….</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F5t28DKsul3GfZ6xg2W%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F5t28DKsul3GfZ6xg2W%2Fgiphy.gif&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F5t28DKsul3GfZ6xg2W%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="244" frameborder="0" scrolling="no"><a href="https://medium.com/media/909df1330671893b4490d7ca24ecc94f/href">https://medium.com/media/909df1330671893b4490d7ca24ecc94f/href</a></iframe><p>It triggered the XSS, I was very surprised that it wasnt even more than 5 minutes that I found something on it. Since the Bug was in action of a calendar, I was hoping if it would execute on itself (It would be a complete time bomb if it could 😂 🤣) but to my bad luck it didn’t go the way i wanted it to, but thats okay, That xss made my day.After that I made an report and reported it to zoho security Team.(<em>Writing the report is always boring :( ..!!</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/942/1*AL6fhpO_-qzCpNRKp7YDmg.jpeg" /></figure><p>They awarded me a bounty of $100 and 200 points and HOF. yeah i do think $100 was low for a stored xss but knowing the fact that I didn’t put much efforts in it, it was completely an luck catch and I was okay with $100.</p><p><strong>Video POC :</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F6VuBL5jT0wY%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D6VuBL5jT0wY&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F6VuBL5jT0wY%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/68795191299b6427b288e4cc21806ffc/href">https://medium.com/media/68795191299b6427b288e4cc21806ffc/href</a></iframe><p><strong>TimeLine :</strong></p><p><strong>Reported on,</strong> 22/08/18</p><p><strong>Acknowledged by team</strong> ,Aug 24, 2018 12:27:10 PM</p><p><strong>Awarded 200 points and closed the Bug,</strong> <a href="https://bugbounty.zoho.com/bb/#/bug/101000001404609/101000001405727">Aug 27, 2018 8:01:22 PM</a></p><p><strong>Awarded Bounty of $100, </strong><a href="https://bugbounty.zoho.com/bb/#/bug/101000001404609/101000001415027">Aug 31, 2018 6:22:47 PM</a></p><h3>Thats it, Thanks for Reading ..!!!</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4f4112c102ef" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>