Server Side Request Forgery (SSRF)
SSRF is a vulnerability that lets an attacker send requests on behalf of a server. During an SSRF, attackers forge the request signatures of the vulnerable server, allowing them to assume a privileged position on a network, bypass firewall controls, and gain access to internal services.
Hunt for SSRFs
- Spot the features prone to SSRFs and take notes for future reference.
- Set up a callback listener to detect blind SSRFs by using an online service, Netcat, Burp's Collaborative features.
- Provide the potentially vulnerable endpoints with common internal addresses or the address of your callback listeners.
- Check if hte server responds with information that confirms the SSRF. Or, in the case of a blind SSRF, check your server logs for requests from the target server.
- In the case of a blind SSRF, check if the server behavior differs when you request different hosts or ports.
- If SSRF protection is implemented, try to bypass it by using different strategies (see book).
- Pick a tactic to escalate SSRF.