Tale of my First XSS

Aditya Soni
May 26 · 2 min read

Hi guys, So I would like to start this blog with a question, What was the first vulnerability you learnt when you began into Cyber Security??

Mine was XSS, though it took pretty long for me to find it but yeah! I finally found it ¯\_(ツ)_/¯

Case Study

I got an invitation to a private program on HackerOne. It almost had more than 600+ reports already reported with just 4 assets. Damn will I find anythin’??
I still began with my normal reconnaissance and started playing with the application. No luck here!

Now, I then started mining the parameters. HOW? here you go

also you can use “Waybackurls | gau” to find parameters. These are some great tips I have used soo far and the results were amazing ¯\_(ツ)_/¯

With all the list of Parameters, I started fuzzing and fuzzing with a thought, I’ll get something interesting (Positive Vibes) and Voila!! I found one parameter which did not have many filters. First I sent it to some XSS scanner tools because It’s the first time I running for an XSS.

And I got positive results, I found csrfToken lying out there for me lol :P

https://sub.example.com/?csrfToken=htmhunter

So I started exploring how to get the POP-UP

And later that day. I reported my First XSS on HackerOne.

Image for post
Image for postImage for post

Takeaways –

“Old program, many reports, and many such things” don’t let it bother you. Always try to find more and more parameters and Fuzz them ALL :D

That’s all for this blog. Hope you liked it.

Connect with me on LinkedIn, Twitter

If you enjoyed this blog, please click the 👏 button and share it to help others find it.

InfoSec Write-ups

A collection of write-ups from the best hackers in the…

Aditya Soni

Written by

Cyber Security Researcher

InfoSec Write-ups

A collection of write-ups from the best hackers in the world on topics ranging from bug bounties and CTFs to vulnhub machines, hardware challenges and real life encounters. In a nutshell, we are the largest InfoSec publication on Medium. Maintained by Hackrew

Aditya Soni

Written by

Cyber Security Researcher

InfoSec Write-ups

A collection of write-ups from the best hackers in the world on topics ranging from bug bounties and CTFs to vulnhub machines, hardware challenges and real life encounters. In a nutshell, we are the largest InfoSec publication on Medium. Maintained by Hackrew

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store