A10: Server-Side Request Forgery (SSRF)

Trick the server into making a request to an internal service that it should not have access to.

Interactive Simulation

An "Import from URL" feature can be abused to make the server request internal resources.

Explanation

SSRF flaws occur when a web application fetches a remote resource without validating the user-supplied URL. It allows an attacker to coerce the application to send a crafted request to an unexpected destination, even when protected by a firewall or VPN.

This can be used to access internal services, read local files, or scan the internal network for other vulnerabilities.

Toggle Defense

When ON, the server checks the provided URL against a block-list of internal IP addresses and hostnames (like `127.0.0.1` and `localhost`). If a match is found, the request is rejected before it can be made.