Prove a blind SSRF reaches the internal network by comparing response times for open and closed ports on 127.0.0.1
A blind SSRF where the fetched content is never returned is often closed as informational, because an outbound callback to your own server only proves the server makes requests. To show internal reach, give the application a URL that points at itself and compare timing and status codes.
Send the same request three times, changing only the port in the URL parameter:
POST /api/webhook/test HTTP/1.1
Content-Type: application/json
{"url":"http://127.0.0.1:22/"}Repeat with http://127.0.0.1:80/ (usually open) and http://127.0.0.1:1/ (almost certainly closed). Record status code, body length and response time for each, at least five times to rule out noise.
The application assumes that not showing the fetched body leaks nothing, but a closed port fails instantly with connection refused, while an open port waits for an HTTP response or times out. A stable difference, for example a fast 400 for closed ports against a slow 200 or 504 for open ones, or a different error message, proves the request originates inside the host and lets you map internal services.
If all three ports behave identically, the server may be filtering internal addresses or the request may be queued and run elsewhere; that is not a finding. Stay within scope and send only a handful of requests.
Follow #blind-ssrf, #impact, #ssrf or #timing for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.
Comments
No comments yet.