December 1, 2026
The “Preview” Button That Let Me Walk Into a Private Network
How an unauthenticated SSRF in a single JSON-preview endpoint quietly defeated an internal access-control wall — no login, no leaked…

By Fady Basem Zaky
2 min read
How an unauthenticated SSRF in a single JSON-preview endpoint quietly defeated an internal access-control wall — no login, no leaked credentials, just a URL field nobody thought to restrict.
Every bug bounty hunter has that one feature that looks completely harmless until you stare at it for five minutes too long. For me, on a DeFi rewards platform I'll call ClaimFlow, that feature was a button labeled "Preview."
The Feature
ClaimFlow lets projects upload a JSON file describing how rewards should be distributed to users. Before the file goes live, the dashboard offers a "Preview" button: paste a URL to your rewards file, and the backend fetches it and shows you what it contains.
Reasonable feature. Convenient UX. And, as it turned out, completely unauthenticated.
POST /api/rewards/preview HTTP/2
Host: studio.claimflow.example
Content-Type: application/json
{"url":"https://your-rewards-file.json","distributionChainId":1}POST /api/rewards/preview HTTP/2
Host: studio.claimflow.example
Content-Type: application/json
{"url":"https://your-rewards-file.json","distributionChainId":1}No session cookie. No wallet signature. No API key. Just a URL, and the server goes and fetches whatever you point it at.
Step 1: Proving the Server Makes the Request
The obvious first move with any "fetch this URL" feature is SSRF (Server-Side Request Forgery) — can I make the server talk to somewhere I control, instead of somewhere the app expects?
I generated a unique out-of-band listener (via Burp Collaborator) and sent:
{"url":"https://<unique-id>.oastify.com/rewards.json"}{"url":"https://<unique-id>.oastify.com/rewards.json"}The app itself just replied with a generic parsing error. But my listener told a different story: a DNS lookup, followed seconds later by an HTTPS GET /rewards.json request — originating from ClaimFlow's own infrastructure, not from my browser.
That's confirmation: the backend server itself is the one making the request. Now the question becomes — what can I make it reach that I shouldn't be able to?
Step 2: Finding the Wall
Every reasonably mature platform has an internal-only layer: admin panels, health checks, CI/CD webhooks, provisioning endpoints — services that should never be reachable from the public internet. ClaimFlow was no exception. A quick scan of internal-looking hostnames (*.internal.claimflow.example) hit a wall when requested directly:
GET /health HTTP/2
Host: ingest.internal.claimflow.example
→ 403 "RBAC: access denied"GET /health HTTP/2
Host: ingest.internal.claimflow.example
→ 403 "RBAC: access denied"Good. That's exactly what should happen. The service mesh recognizes a request coming from the open internet and blocks it outright.
So I sent the exact same URL — but this time, through the preview endpoint:
{"url":"https://ingest.internal.claimflow.example/health"}
→ 400 "Could not parse preview response as JSON"{"url":"https://ingest.internal.claimflow.example/health"}
→ 400 "Could not parse preview response as JSON"Different error. Very different error.
A 403 RBAC: access denied means "I see you, and you're not allowed in." A 400 couldn't parse this as JSON means "I reached something, and it gave me a real, non-JSON, successful-looking response." The internal service answered — just not with JSON. The access-control wall that stops the entire public internet simply doesn't exist for requests that originate from inside' ClaimFlows own network. And the preview endpoint had just become my way inside it.
Probing a handful of other internal-only names through the same sink showed the pattern held consistently — some came back 403, some 404, but each one matched what an internal caller would see, not what an external one would see. The feature wasn't leaking data back to me, but it was absolutely functioning as a network-boundary bypass: an unauthenticated stranger on the internet, using a public-facing "preview" button as a tunnel into infrastructure that's supposed to be invisible to them.