My First Bounty From SSRF: From Finding a Vulnerability to Cashing In

Hello peoples, I’m Muhammad Julfikar Hyder from Bangladesh back again with my first bounty story today. You can also read my previous blog here How...

Written by Abhishek Meena · 1 min read >

Hello peoples, I’m Muhammad Julfikar Hyder from Bangladesh back again with my first bounty story today. You can also read my previous blog here How I hacked LINE’s bucket.

It was 09/24/2019 I was a newbie at bug bounty hunting, though I’m still a newbie there! Whatever, let’s enter the story.

Today I gonna share about the SSRF vulnerability. Let’s know what is SSRF. Server-side request forgery (also known as SSRF) is a web security vulnerability that allows an attacker to induce the server-side application to make HTTP requests to an arbitrary domain of the attacker’s choosing.

Okay, When I just started my hacking life, I liked to test random websites to improve my skill because I was not enough for test on a platformed website. I took a Bangladeshi well-known E-Commence website for my testing. I just started an got a request like this.

The request is calling another cross domains data with the ‘src’ parameter! Hmm..!!! I just changed the URL and didn’t understand what happened! Then I made a PHP file on my previously random shelled domain with JavaScript content “<script>alert(document.domain)</script>”. Replaced the URL with the JavaScript URL and the request was like this.

I became very strange! It was working! The response was like this!

The request was loading files from third-party domains!

Then I started to think what can I do more, what can I do more? Because I had no IP logger I can check the SSRF clearly! I fired up MY little buddy Command Prompt and took the IP of my target domain with the command ‘ping targetsite.com’.

I again changed the request like this,

I changed the URL with Iplocation got the domain’s IP at the response!

SSRF confirmed again!

The site had no bug bounty program, but I reported them politely and they awarded me with 10000৳ which was unexpected from a random and nonbounty provider company!!

Thanks To Muhammad Julfikar:

Email: [email protected]

Twitter: Muhammad Julfikar Hyder

Leave a Reply

Your email address will not be published. Required fields are marked *