Testing for server-side request forgery
Internal and external resources routinely interact with web applications. While you would expect only the intended resource to receive the data you supply, improper data management might result in SSRF, a kind of injection attack. A successful SSRF attack can grant the attacker access to restricted operations, internal services, or internal files within the program or the company. In this recipe, we will show how to perform an SSRF attack on a backend system to search for an internal IP address and subsequently remove the user.
Getting ready
Start up your local ZAP tool and log in to your PortSwigger Academy account, then go to the Basic SSRF against another back-end system lab at https://portswigger.net/web-security/ssrf/lab-basic-ssrf-against-backend-system.
How to do it...
We’ll utilize the PortSwigger Academy Basic SSRF versus another back-end system lab in this recipe. SSRF is an attack where an attacker sends malicious...