Skip to content

yassertioursi/web-security-ssrf-lab

Repository files navigation

Laravel SSRF Vulnerability Lab

Warning Docker Laravel

Educational lab environment for learning Server-Side Request Forgery (SSRF) attacks in realistic scenarios.

⚠️ WARNING

THIS APPLICATION CONTAINS INTENTIONAL VULNERABILITIES

  • 🚫 DO NOT deploy in production
  • 🚫 DO NOT expose to the internet
  • ✅ Use ONLY in isolated environments
  • ✅ For educational purposes only

🎯 What You'll Learn

Lab 1: Basic SSRF

Lab 2: Blind SSRF

Lab 3: DNS Rebinding


🚀 Quick Start

Prerequisites

  • Docker & Docker Compose
  • 1GB+ free RAM

Installation

git clone https://github.com/yassertioursi/laravel-ssrf-lab.git
cd laravel-ssrf-lab/ssrf


docker-compose up -d


http://localhost:8000

Verify Installation

docker-compose ps

🏗️ Infrastructure

┌─────────────────────┐
│   Your Browser      │
│   localhost:8000    │
└──────────┬──────────┘
           │
           ▼
┌─────────────────────┐    Gopher     ┌─────────────────────┐
│  Laravel App        │──────────────▶│  Redis              │
│  - SSRF endpoints   │               │  - No auth          │
│  - Port 8000        │               │  - Port 6379        │
└─────────────────────┘               └─────────────────────┘

Services:

  • Laravel App (SSRF vulnerable)
  • Redis (Gopher protocol target)

📝 License

MIT License - For educational use only

Remember: Practice ethical hacking. Only test systems you own or have permission to test.

📝 License

This project is for educational purposes only. Use responsibly.


Remember: Always practice ethical hacking. Only test systems you have explicit permission to test.

About

Educational SSRF vulnerability lab built with Laravel. Three attack scenarios: Basic SSRF, Blind SSRF, and DNS Rebinding. Docker-ready exploitation environment.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors