SSRF: How to Identify and Safely Validate

SSRF testing should only be conducted in a lab or authorized system. Examine Request/Response, server behavior, Roles, State, and impact, using minimal tests that do not compromise data.
Web and API security testing should examine the boundaries of trust, permissions, input, State, and business logic. Every test in this article is intended for a lab, CTF, or system for which explicit permission has been granted. This article focuses on SSRF testing and is intended for Web/API PT students. The goal is to provide a working methodology that can be applied in practice, during professional interviews, and in a work environment, without settling for a dictionary definition.
The main challenge is that data is almost always partial. URL fetch feature, allowlist, redirects can point to a direction, but their meaning depends on time, asset, user, and expected activity. Therefore, we will build the test around an investigative question, required evidence, and clear completion criteria.
The practical scenario in the article is: Testing against a local Callback in the lab. All examples are lab data or process descriptions. When it comes to Penetration Testing, Web, or Cloud, one must only work with explicit authorization, a defined Scope, and the ability to stop the test.




