πŸ•ΈοΈ OWASP Top 10 Lab β€” SSRF Backend Injection & Security Misconfiguration

Category: A10: SSRF & A02:Security Misconfiguration

🧠 Vulnerability Type

🎯 Objective

Demonstrate how injecting user-controlled URLs into backend route parameters can trigger SSRF-like behavior and expose internal application implementation details.

πŸ›  Lab Environment

πŸ‘£ Steps to Reproduce

  1. Capture a valid request from the Track Order feature.
  2. Send the request to Burp Repeater.
  3. Modify the endpoint with a URL payload:
GET /rest/track-order/http://localhost:3000/ftp
  1. Send the modified request and observe the server response.

πŸ’₯ Impact

πŸ§ͺ Proof of Concept

Injecting a URL inside a backend route parameter caused the application to mis-handle input and return verbose error responses containing stack traces and internal paths.

Injected SSRF Payload via Burp

SSRF Request

500 Internal Server Error Response

500 Error

Verbose Stack Trace Disclosure

Stack Trace

πŸ›‘ Mitigation

🧠 Key Learning

Even partial SSRF behavior can expose valuable reconnaissance data. Verbose error messages dramatically increase risk by revealing internal architecture, routing logic, and technology stack.

🐺 Personal Note

This lab demonstrates how backend injection does not always require full SSRF exploitation to be impactful. Information disclosure through stack traces can significantly aid attackers in chaining deeper vulnerabilities.