Date : 04 Mar, 2025


Overall SSRF Summary

What is SSRF (Server-Side Request Forgery)?

SSRF is a security flaw in web applications where an attacker can manipulate the server to make HTTP requests to unintended destinations.1 Essentially, the attacker tricks the web server into acting as a proxy to access resources that the attacker themselves cannot directly reach.

Here's a simpler way to think about it:

Imagine a web server that needs to fetch information from another website or internal system to display it to you. With an SSRF vulnerability, an attacker can change the instructions given to the web server, making it request data from places it shouldn't, like:


Goal of the Labs


Lab 1: Basic SSRF against localhost

Key concept: Direct SSRF to localhost (127.0.0.1)


Lab 2: SSRF with IP Range Scan

Key concept: Internal IP range scan + identifying trusted internal service


Lab 3: SSRF with obfuscated localhost

Key concept: Obfuscating internal URLs to bypass filters


Lab 4: SSRF via Open Redirection

Key concept: SSRF via chained open redirect


Key Learnings


Real-World Risk