Skip to content
SSRF Write-up Beginner

**🔥 How I Exploited an SSRF Vulnerability & Earned $5000 — Real-World Exploit! 🔥**

A file upload and URL fetch feature let users supply an external URL for the server to retrieve, and the server did not restrict where it could connect. The author claims the server could reach an internal web server and the cloud metadata endpoint, exposing instance details.

theindiannetwork Follow

Published on theindiannetwork.medium.com

Server-Side Request Forgery (SSRF) is a critical vulnerability that allows attackers to manipulate server-side requests, often leading to data leaks, internal network access, or even remote code execution. In this article, I’ll share how I discovered an SSRF vulnerability, exploited it, and earned a bug bounty reward.

TheIndianNetwork, on theindiannetwork.medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the URL-fetch feature accepted arbitrary user-supplied URLs and did not block internal addresses or cloud metadata endpoints.

Impact

The author claims the server could reach internal services and the cloud metadata endpoint, which could expose instance details and credentials, though no defence is described as blocking it.

What the attacker needed

A feature that fetches user-supplied URLs; no allowlist or internal-IP blocking

The fix

The feature should restrict outbound requests to an allowlist of domains and block loopback, private and link-local addresses, including cloud metadata endpoints.

How it was found

  1. Supply an external image URL to the fetch feature and confirm the server retrieves it.
  2. Point the fetch at the local web server and observe a response from it.
  3. Point the fetch at the cloud metadata address and observe instance details returned.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A server-side request forgery (SSRF) bug happens when a website takes a web address from you and fetches it on its own behalf without checking where it points. Because the request comes from the server, it can reach machines the public cannot, such as internal services or a cloud provider's metadata page that holds credentials. Here the image-fetch feature was the doorway.

What is SSRF?

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.

More by theindiannetwork

View all

23 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Server-side request forgery (SSRF)

The lesson behind this report.

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.