My Autonomous Bug Hunting Harness Found an SSRF Filter Bypass Hidden Behind a Redirect
A URL-fetching endpoint validated the initial destination against SSRF but did not re-validate after an HTTP redirect, so a public URL that redirected to the loopback address let the server reach internal services. An attacker could use this to enumerate localhost ports and probe paths on internal HTTP services.
Published on medium.com
Cybersecurity
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Context
This is an account of an SSRF filter bypass found by an autonomous bug-hunting harness on a URL-processing endpoint. The endpoint takes a user-supplied URL and fetches it server-side. The application has an anti-SSRF filter that rejects loopback, private and reserved destinations, including alternate IP notations. The filter validates the initial destination but does not consistently re-validate the destination after an HTTP redirect, so a public URL that answers with a 302 to [redacted] causes the server to make the internal request itself.
The confirmed impact was unauthenticated SSRF to [redacted], bypass of the anti-SSRF filter, internal port enumeration, internal HTTP service probing, and path/status-based reconnaissance against localhost services. The issue was accepted and paid a $100 bounty.
The report does not name the target program or product. The endpoint is shown as GET /check?url=<URL>, and the application processes specific RDAP-related response fields rather than exposing arbitrary response bodies.
Setup
The work was done with a self-built autonomous hunting harness. The harness was designed to map attack surfaces, identify interesting parameters, detect server-side URL fetching behaviour, generate security test cases, observe application responses, compare results against control requests, chain related behaviours, escalate promising findings into deeper tests, and produce evidence for manual validation.
The relevant workflow ran as follows:
Target
↓
Attack-surface discovery
↓
Endpoint classification
↓
Parameter analysis
↓
Behavior detection
↓
Vulnerability hypothesis
↓
Baseline request
↓
Security-control detection
↓
Bypass hypothesis generation
↓
Chained request testing
↓
Differential analysis
↓
Evidence collection
↓
Manual verification
For SSRF, the harness looked for functionality where the server appeared to retrieve attacker-controlled URLs. It searched for parameters resembling:
url=uri=target=endpoint=callback=redirect=feed=proxy=
It then classified endpoints by observed behaviour rather than relying only on parameter names. No accounts, roles or specific tool versions are described in the report; the testing was unauthenticated.
Finding it
The harness identified a URL-processing endpoint:
GET /check?url=<URL>
The supplied URL was processed server-side, which made the endpoint a potential SSRF sink. The hypothesis was:
User-controlled URL
↓
Server-side network request
↓
Potential SSRF
The first test targeted the loopback interface. The application responded with:
Localhost URLs are not allowed
A conventional scanner would treat this as a dead end. The harness classified it differently: the application was not simply rejecting URLs, it was specifically performing SSRF-related security validation. That produced a second hypothesis: there is an SSRF filter, so can the request lifecycle cause the application to make a destination change after validation?
The harness then mapped the filter's boundaries. A private address such as:
[redacted]
was rejected with:
Private or reserved IP addresses are not allowed
The cloud metadata address:
[redacted]
was also rejected. Alternative representations of localhost were tested as well:
2130706433
and:
0x7f000001
Both were rejected as alternative IP notation. The application appeared to be performing destination-aware SSRF filtering, not a simple allow/block decision.
The key question became: does the application re-run the SSRF validation if the destination changes? HTTP redirects are the natural way to test that assumption:
Request Public URL
|
v
HTTP 302
|
v
Request [redacted]
The first destination is public and the second is internal. If the filter only evaluates the first request, the security boundary can be bypassed.
Exploitation
Step 1: Confirm the direct block
A direct request to the loopback address was rejected:
Localhost URLs are not allowed
This established that a filter exists and that it inspects the destination.
Step 2: Probe the filter boundaries
Private and reserved destinations were rejected:
[redacted]
returned:
Private or reserved IP addresses are not allowed
[redacted] was rejected, and the alternate notations 2130706433 and 0x7f000001 were rejected as alternative IP notation. The filter was destination-aware.
Step 3: Use a public redirector
The harness used a publicly reachable redirector that produced a response equivalent to:
The initial URL was public, so it passed validation:
Initial URL
↓
Public
↓
Passes validation
The server then received the Location header pointing at the loopback address. The critical question was whether the server validated the new URL. The observed behaviour showed that it followed the redirect and reached the loopback destination.
Step 4: Detect the internal request
The harness observed a significant change in the application's response. The evidence indicated:
serverIpAddress = [redacted]
That turned the test from interesting redirect behaviour into a confirmed server-side internal request. The attack chain was:
External attacker
|
v
Public URL
|
v
302 Redirect
|
v
Vulnerable URL fetcher
|
v
127.0.0.1:8080
The harness flagged the behaviour as a likely SSRF filter bypass, and the researcher then manually validated the finding and its scope.
Step 5: Prove the internal service
A request to:
[redacted]:8080
produced:
HTTP 406
That showed something on the loopback interface was actively processing the request. Ports that produced:
Connection refused by host
were distinguished from reachable ones:
Open/reachable service
↓
HTTP response
versus:
Unavailable service
↓
Connection refused
This made the SSRF usable as a limited internal port-discovery oracle.
Step 6: Path-level reconnaissance
The same behaviour could test paths on reachable HTTP services. For example:
[redacted]:8080/
and:
[redacted]:8080/actuator/health
produced different application behaviour, so the primitive was not limited to determining whether a port was open. It could also provide information about HTTP paths exposed by localhost services:
SSRF
↓
[redacted]:8080
↓
Path
↓
HTTP response
↓
Reconnaissance signal
Step 7: Differential testing
The harness compared related requests rather than asking whether a single request returned something interesting:
Control:
Public URL → Public destination
versus:
Test:
Public URL → [redacted]
The application reported the destination IP associated with the request. For the public control it reported the external destination; for the redirect test, [redacted] was observed. This increased confidence that the server, not the client, was making the internal request.
Step 8: Determine the scope
After confirming SSRF, the researcher did not assume every internal destination was reachable. The testing established:
| Target | Result |
|---|---|
[redacted] |
Reached |
[redacted]:8080 |
HTTP response |
| Other tested localhost ports | Depending on service state |
[redacted] |
Blocked |
[redacted] |
Blocked |
[redacted] |
Blocked |
| Arbitrary internal response body | Not demonstrated |
The confirmed vulnerability was specifically a loopback SSRF filter bypass, not unrestricted access to the entire internal network.
Step 9: Test cloud metadata through the redirect
The metadata address was tested through the redirect path:
[redacted]
The request did not successfully reach the metadata service. The existing protection continued to prevent access, and no credentials were obtained. This negative result was documented alongside the positive ones.
Step 10: Check for arbitrary response-body disclosure
The researcher also investigated whether the SSRF could be turned into a generic internal HTTP response reader. It could not be demonstrated. The application processed specific RDAP-related response fields rather than exposing arbitrary response bodies, so no claim of full arbitrary internal response disclosure was made. The confirmed impact remained:
Unauthenticated SSRF
+
Loopback access
+
Port probing
+
Path probing
+
Status-based reconnaissance
Root cause
The underlying issue was an incomplete SSRF validation boundary. The application correctly validated the initial destination:
Initial URL
|
v
Resolve
|
v
Validate IP
|
v
Allowed
|
v
Request
But after the server received a redirect:
Initial URL
|
v
Validation ✓
|
v
Request
|
v
302 Redirect
|
v
New URL
|
X
Validation not consistently applied
|
v
127.0.0.1
The security control protected the initial destination but failed to protect the subsequent redirected destination. The report describes the validation as not consistently applied after the redirect; the exact implementation is not shown.
The existing defences did stop direct loopback, private and reserved addresses, alternate IP notations, and metadata access through the redirect. They did not stop a destination change introduced by a redirect.
Impact
An unauthenticated attacker could make the server issue requests to its own loopback interface by supplying a public URL that redirects to [redacted]. This bypassed the anti-SSRF filter and allowed internal port enumeration, internal HTTP service probing, and path/status-based reconnaissance against localhost services. A reachable service on [redacted]:8080 returned HTTP 406, while unavailable ports returned Connection refused by host, giving a clear oracle.
The impact was bounded: private addresses such as [redacted] and [redacted] remained blocked, the metadata address [redacted] was not reached through the redirect, no credentials were obtained, and arbitrary internal response bodies were not demonstrated. The report does not describe any further exploitation of the internal service.
Fix
The remediation guidance it describes is implied by the root cause: the SSRF validation must apply to every network connection made as a result of the supplied URL, not only the first one. The report frames the general principle as testing whether a security control remains valid throughout the entire execution flow.
Variants to test
The same pattern applies wherever a security control makes an assumption about state that later changes. Concrete things to try on other targets:
- Redirect chains. Supply a public URL that redirects through several public hops before landing on an internal address. A positive result is the application reporting or reaching the final internal destination, showing that validation is not repeated at each hop.
- Redirect status codes and methods. Try 301, 302, 303, 307 and 308, and both GET and POST entry points. A positive result is any status or method where the redirected internal request succeeds while the direct request is blocked.
- DNS rebinding. Use a hostname that resolves to a public address during validation and to
[redacted]when the request is made. A positive result is the server reaching loopback despite the hostname passing the filter. - Alternate loopback notations through the redirect. Point the redirect at
2130706433,0x7f000001,0177.0.0.1or[::1]. A positive result is any notation that reaches loopback after the redirect even though it is rejected directly. - Parser transformations. Use URLs with userinfo, encoded characters or unusual schemes that a parser may normalise differently between the validator and the fetcher. A positive result is a destination the validator sees as public but the fetcher resolves internally.
- Secondary requests. Look for callbacks, background jobs, retries and protocol upgrades that re-use a previously validated URL. A positive result is an internal request triggered by a later stage that never re-checks the destination.
- Port and path oracles. Once loopback is reachable, compare responses for open and closed ports and for different paths such as
/and/actuator/health. A positive result is a consistent difference between reachable and unreachable services, or between existing and missing paths.
A blocked payload is information: it tells you a control exists. The useful next question is what that control assumes, and whether a state change such as a redirect can invalidate the assumption.
What happened, in plain words
A security researcher built a program that hunts for bugs on websites automatically. Think of it as a robot assistant that looks at a website the way a curious visitor would, but much faster and with a checklist. During one of its runs, the robot found a page on a website that takes a web address (a URL) from the visitor and then fetches that address on the server side, meaning the website's own computer goes and visits the address, not your browser.
That kind of feature is useful, but it is also dangerous if it is not guarded, because an attacker can ask the server to visit addresses that only the server can reach, such as the server's own internal services. This class of bug is called SSRF, short for Server-Side Request Forgery. The website did have a guard: when the robot asked it to visit [redacted] (the address a computer uses to talk to itself, called loopback or localhost), the site refused with the message Localhost URLs are not allowed.
Most automatic scanners would stop there and report nothing. This one did not. It treated the refusal as a clue: there is a guard here, so let us find out exactly what the guard checks. The robot tried a public web address that, when visited, simply tells the visitor "go to [redacted] instead". That instruction is called an HTTP redirect. The website checked the first address, saw it was public, allowed it, followed the redirect, and then made the internal request to its own loopback interface. The guard was bypassed.
The researcher then confirmed the finding by hand, worked out how far it went (which internal addresses and ports could be reached and which could not), and reported it responsibly. The report was accepted and paid a $100 bounty. The report does not name the company or product involved.
What the words mean before we start
A few everyday comparisons will make the rest of this article much easier.
- Server: a computer somewhere in the world that stores a website and answers requests from visitors. Think of a shop counter: you ask, the person behind it fetches something and hands it to you.
- URL: a web address, like the one in your browser's address bar. It says where to go and what to ask for.
- Endpoint: one specific door on the server, one particular address that does one particular job. A website has many endpoints: one for the home page, one for search, one for login.
- Parameter: the extra piece of information you attach to an address, usually after a question mark. In
?url=...the parameter is namedurland its value is whatever you put after the equals sign. Think of it as the blank on a form: "Please fetch: ______". - API: a way for one computer program to talk to another, without a human clicking buttons. It is like a service window at a train station: you pass a request through the window and get an answer back, in a fixed format.
- SSRF (Server-Side Request Forgery): a bug where an attacker can make the server itself send a request to an address of the attacker's choosing. The attacker is forging a request that the server makes on their behalf. The danger is that the server can reach places the attacker cannot, such as internal machines behind a firewall.
- Loopback / localhost /
[redacted]: every computer has a special address that means "me". When a server visits[redacted], it is talking to itself. Internal services that are not exposed to the internet often listen only on this address, on the assumption that only the machine itself can reach them. - Port: a numbered door on a computer. One machine can run many services at once, each on its own port.
[redacted]:8080means "my own machine, door number 8080". - HTTP status code: a three-digit number the server sends back to say how the request went.
200means fine,302means "look somewhere else",406means "I cannot give you what you asked for in the form you asked",403means forbidden. - Redirect: an instruction from a server saying "the thing you want is not here, go to this other address". Your browser follows it automatically, which is why you sometimes land on a different address than the one you typed.
- Header: an extra line of information attached to a request or a response, separate from the main content. The
Locationheader is how a redirect says where to go next. - Filter / security control: a check the application performs to stop bad input. A bouncer at a door is a good comparison: it looks at who is coming in and turns away people on the list.
- Bypass: getting past a check without breaking it, by giving it something it does not recognise as bad.
- Cloud metadata address
[redacted]: a special address inside cloud hosting environments that can hand out information about the machine, sometimes including access credentials. Attackers love it, so good SSRF filters block it. - RDAP: a standard protocol for looking up information about internet address registrations. The application in this report processed specific RDAP-related response fields, which matters later when we ask whether it could be turned into a general-purpose reader of internal pages.
- Bounty: money a company pays a researcher for reporting a security bug responsibly instead of exploiting it.
1. The goal: a hunter that can think in chains
The researcher did not just want a scanner that fires thousands of test inputs at a website. Traditional scanners work like this:
Find endpoint
↓
Insert payload
↓
Check response
↓
Next payload
Line by line: find a place to send input, put a test value (a "payload") into it, look at what comes back, then move on to the next test value. That approach works for simple bugs, where one bad input produces one obvious bad result.
But many modern bugs need several steps to appear. The report draws it like this:
Request A
↓
Application behavior
↓
Redirect
↓
Request B
↓
Different security boundary
↓
Unexpected behavior
Line by line: you send one request, the application does something, that something causes a second request, the second request crosses a boundary the first one did not, and the result is behaviour the developer never intended. The point is that the interesting part is the relationship between steps, not any single step.
The researcher wanted the tool to ask "what can I do with the behaviour I just discovered?" rather than "which payload should I try next?". That difference is what made this finding possible.
2. The autonomous discovery workflow
The harness, meaning the collection of scripts and logic the researcher built, ran a workflow that looked approximately like this:
Target
↓
Attack-surface discovery
↓
Endpoint classification
↓
Parameter analysis
↓
Behavior detection
↓
Vulnerability hypothesis
↓
Baseline request
↓
Security-control detection
↓
Bypass hypothesis generation
↓
Chained request testing
↓
Differential analysis
↓
Evidence collection
↓
Manual verification
Line by line, in plain words:
- Target: the website being tested.
- Attack-surface discovery: find all the doors and windows, meaning every endpoint and feature the site exposes.
- Endpoint classification: sort those endpoints into types, such as "this one takes a URL", "this one takes a file", "this one takes a search term".
- Parameter analysis: look at the blanks on each form and guess what they are for.
- Behaviour detection: actually send requests and watch what the application does, rather than trusting names.
- Vulnerability hypothesis: form a guess, for example "this endpoint might fetch URLs on the server".
- Baseline request: send a normal, harmless request first, so you have something to compare against later.
- Security-control detection: notice when the application pushes back, because pushback means a guard exists.
- Bypass hypothesis generation: guess how the guard might be fooled.
- Chained request testing: test multi-step ideas, not just single inputs.
- Differential analysis: compare two related requests and look at the difference.
- Evidence collection: save the proof.
- Manual verification: a human checks it all by hand before anything is reported.
For SSRF specifically, the harness looked for places where the server appeared to fetch a URL that the attacker controls. It searched for parameter names resembling:
url=uri=target=endpoint=callback=redirect=feed=proxy=
This is a list of common parameter names that developers use when they build a feature that fetches something. url and uri are obvious. target and endpoint suggest a destination. callback suggests the server will call back to a supplied address later. redirect suggests forwarding. feed suggests fetching an RSS or news feed. proxy suggests fetching on someone's behalf. The harness used these names as hints, but then classified endpoints by what they actually did, because a parameter called url might do nothing and a parameter called id might fetch a URL.
No accounts or logins were used in this testing; everything was done as an anonymous visitor. The report does not describe any specific tool versions.
3. The endpoint that triggered the SSRF workflow
The harness found a URL-processing endpoint:
GET /check?url=<URL>
Line by line: GET is the type of request your browser makes when you simply open a page. /check is the path, the door on the server. ?url= starts the parameter named url, and <URL> is the placeholder where a real address would go. So the whole thing means: "please check this address for me".
The important property was that the supplied URL was processed on the server side. In other words, when you hand this endpoint an address, the server itself goes and visits it. That makes the endpoint a potential SSRF sink, meaning a place where SSRF can happen. A sink is like a drain: whatever you pour in goes somewhere, and here it goes into the server's own network.
The hypothesis was:
User-controlled URL
↓
Server-side network request
↓
Potential SSRF
Line by line: the visitor controls the address, the server makes the network request, and therefore the visitor may be able to steer the server's network traffic. That is the definition of SSRF.
4. First test: localhost
The first test targeted the loopback interface, the computer's own address. The application responded with:
Localhost URLs are not allowed
This is a refusal. The server is saying: you asked me to visit my own address, and I will not do that. A conventional scanner would treat this as a dead end and move on.
The harness classified the response differently. It noticed that the application was not simply rejecting URLs in general; it was specifically performing SSRF-related security validation. The message mentions localhost by name, which means somebody wrote code to detect that case. That tells you a guard exists, and guards can have gaps.
That produced a second hypothesis: there is an SSRF filter, so can the request lifecycle cause the application to make a destination change after validation? In everyday terms: the bouncer checks your ticket at the door, but what if you change your ticket after you are inside?
5. Mapping the SSRF protection
The harness then tested the edges of the filter to learn its rules. A private address such as:
[redacted]
was rejected with:
Private or reserved IP addresses are not allowed
Private addresses are ranges of addresses reserved for use inside private networks, not on the public internet. [redacted] is one of them. The message shows the filter knows about these ranges too.
The cloud metadata address:
[redacted]
was also rejected. This address is special in cloud environments and can expose sensitive machine information, so blocking it is standard practice.
Alternative representations of localhost were tested as well. For example:
2130706433
and:
0x7f000001
were rejected as alternative IP notation. Here is why these exist: an IP address like [redacted] is really just a number written in four parts. The same number can be written as one big decimal number, or in hexadecimal (base 16, the 0x prefix), and some software will happily accept those forms. A lazy filter that only looks for the text [redacted] would miss them. This filter did not miss them.
This was valuable because the harness had now learned something about the application's security model. It was not a simple yes or no. It appeared to be performing destination-aware SSRF filtering, meaning it looks at where the request would actually go and decides based on that.
6. The important hypothesis
At this point the interesting question became: does the application re-run the SSRF validation if the destination changes? HTTP redirects are perfect for testing this assumption:
Request Public URL
|
v
HTTP 302
|
v
Request [redacted]
Line by line: the server is asked to visit a public address. That address answers with a 302, which means "go to this other place instead". The other place is [redacted], the server's own loopback. The first destination is public and the second is internal. If the filter only evaluates the first request, the security boundary can be bypassed.
This is the same idea as a delivery: the guard checks the parcel's label at the gate, the parcel is allowed in, and then someone inside relabels it and sends it to a restricted room. If nobody rechecks the label, the parcel arrives where it should not.
7. Redirect-based SSRF testing
The harness used a publicly reachable redirector, meaning a service on the internet whose only job is to answer with a redirect. It produced a response equivalent to:
Line by line: HTTP/1.1 is the version of the web protocol being used. 302 Found is the status code meaning "the thing you asked for is temporarily elsewhere". Location: http://[redacted] is the header that says exactly where to go next. So the whole response means: "nothing here, please fetch http://[redacted] instead".
The important point was that the initial URL itself was public. Therefore:
Initial URL
↓
Public
↓
Passes validation
Line by line: the address the attacker supplies is a normal public address, so the filter sees nothing wrong and lets it through. The server then received the Location header pointing at the loopback address. The critical question was whether the server validated the new URL. The observed behaviour showed that it followed the redirect and reached the loopback destination.
8. Detecting the internal request
The harness observed a significant change in the application's response. The evidence indicated:
serverIpAddress = [redacted]
Line by line: the application reported, in its own response, the IP address of the server it had contacted. That value was [redacted], the loopback address. This is the application telling on itself: it says the destination of the request was its own machine. That turned the test from interesting redirect behaviour into a confirmed server-side internal request.
The attack chain was:
External attacker
|
v
Public URL
|
v
302 Redirect
|
v
Vulnerable URL fetcher
|
v
127.0.0.1:8080
Line by line: an attacker outside the network supplies a public URL. That URL answers with a redirect. The vulnerable fetcher, the part of the application that goes and gets URLs, follows the redirect. It ends up at [redacted]:8080, a service on the server's own machine, door 8080. The attacker never touched that service directly; the server did it for them.
The harness flagged the behaviour as a likely SSRF filter bypass. The researcher then manually validated the finding and its scope, meaning a human repeated the steps and checked how far the bug really went.
9. Proving the internal service
After the initial detection, the researcher wanted to know whether the loopback access was actually useful. A request to:
[redacted]:8080
produced:
HTTP 406
Line by line: [redacted]:8080 is the server's own machine on port 8080. HTTP 406 is a real answer from a real service. A 406 means the service understood the request but could not respond in the form requested. The key point is not the number itself; it is that something answered at all. A machine with nothing listening on a port does not send back a polite status code.
The researcher then compared that with ports that produced:
Connection refused by host
Line by line: "connection refused" means the machine was reachable but nothing was listening on that door. It is the network equivalent of knocking on a door and hearing nobody inside.
This created a clear distinction:
Open/reachable service
↓
HTTP response
versus:
Unavailable service
↓
Connection refused
Line by line: if a port is open, you get an HTTP response. If it is closed, you get a refusal. By comparing the two, the attacker can tell which doors are open without ever being inside the building. This made the SSRF usable as a limited internal port-discovery oracle. An oracle here means a source of yes/no answers: ask about a port, and the response tells you whether it is open.
10. Path-level reconnaissance
The same behaviour could test paths on reachable HTTP services. For example:
[redacted]:8080/
and:
[redacted]:8080/actuator/health
produced different application behaviour. Line by line: the first is the root of the service, the front page. The second is a specific path called /actuator/health, which is a common endpoint that some Java applications expose to report whether they are healthy. The two produced different results, which means the attacker can learn not only that a service exists but also which pages it has.
This demonstrated that the primitive, meaning the basic capability the bug gives you, was not limited to determining whether a port was open. It could also provide information about HTTP paths exposed by localhost services:
SSRF
↓
[redacted]:8080
↓
Path
↓
HTTP response
↓
Reconnaissance signal
Line by line: use the SSRF to reach the local service, choose a path, observe the response, and treat the difference as a signal about what exists. Reconnaissance means gathering information about a target before doing anything else, like studying a building's floor plan.
11. Differential testing
One of the techniques built into the hunting workflow is differential analysis. Instead of asking "does this request return something interesting?", the system compares related requests. For example:
Control:
Public URL → Public destination
versus:
Test:
Public URL → [redacted]
Line by line: the control is a normal request where a public URL leads to a public destination. The test is the same kind of request, but the public URL redirects to loopback. Comparing the two removes guesswork: if the control reports an external address and the test reports [redacted], the difference is caused by the redirect, not by chance.
The application reported the destination IP associated with the request. For the public control, it reported the external destination. For the redirect test, [redacted] was observed. This greatly increased confidence that the server, not the client, was making the internal request. That distinction matters: if your own browser made the request, there is no bug. If the server made it, the server can reach things you cannot.
12. Testing the boundaries
After confirming SSRF, the researcher did not assume that every internal destination was reachable. The next stage was scope determination, meaning working out exactly how much the bug allows. The testing established:
| Target | Result |
|---|---|
[redacted] |
Reached |
[redacted]:8080 |
HTTP response |
| Other tested localhost ports | Depending on service state |
[redacted] |
Blocked |
[redacted] |
Blocked |
[redacted] |
Blocked |
| Arbitrary internal response body | Not demonstrated |
Line by line: the loopback address was reached. Port 8080 answered with an HTTP response. Other localhost ports behaved according to whether a service was listening. The private address [redacted] and another private address [redacted] were blocked. The cloud metadata address was blocked. And the researcher could not show that arbitrary internal response bodies, meaning the full contents of internal pages, could be read back.
This distinction is important. The confirmed vulnerability was specifically a loopback SSRF filter bypass, not unrestricted access to the entire internal network. Saying "the whole internal network is compromised" would have been false, and false claims get reports rejected.
13. Cloud metadata testing
Cloud metadata endpoints are an obvious SSRF target. The researcher tested:
[redacted]
through the redirect path. Line by line: instead of asking the server to visit the metadata address directly, which the filter blocks, the researcher used a public URL that redirects to it, hoping the redirect would slip past the check the same way the loopback redirect did.
The request did not successfully reach the metadata service. The existing protection continued to prevent access. No credentials were obtained. This was an important negative result. A good bug bounty report should document not only what works, but also what does not, because it tells the vendor exactly where the risk stops.
14. No arbitrary response-body disclosure
The researcher also investigated whether the SSRF could be turned into a generic internal HTTP response reader, meaning a way to fetch and read any internal page in full. It could not be demonstrated. The application processed specific RDAP-related response fields rather than exposing arbitrary response bodies. In plain words: the application did not hand back whole pages from the internal service; it only pulled out certain fields related to address registration lookups. So the researcher did not claim full arbitrary internal response disclosure.
Instead, the confirmed impact remained:
Unauthenticated SSRF
+
Loopback access
+
Port probing
+
Path probing
+
Status-based reconnaissance
Line by line: the bug worked without any login (unauthenticated), it reached the server's own loopback, it allowed checking which ports were open, it allowed checking which paths existed, and it allowed drawing conclusions from status codes. That is a real but bounded impact, and describing it accurately is part of doing the job well.
15. What the harness did versus what the researcher verified
The autonomous system was responsible for identifying and prioritising the suspicious behaviour. The final security conclusion was manually verified. That distinction matters. The workflow looked like:
Autonomous discovery
↓
Interesting behavior
↓
Automated evidence collection
↓
Candidate vulnerability
↓
Manual reproduction
↓
Manual scope testing
↓
Final report
Line by line: the tool found something odd, saved proof, and proposed it as a candidate. A human then reproduced it, tested how far it went, and wrote the report. The researcher does not consider an automated alert by itself to be a vulnerability report. Automation should reduce the search space; human validation should establish the actual security impact. The comparison is a smoke alarm versus a firefighter: the alarm points you at a room, but somebody has to go and confirm there is a fire.
16. The root cause
The underlying issue was an incomplete SSRF validation boundary. The application correctly validated the initial destination:
Initial URL
|
v
Resolve
|
v
Validate IP
|
v
Allowed
|
v
Request
Line by line: the application takes the URL, resolves it (turns the name into an IP address, the way a phone book turns a name into a number), validates that IP against its block list, allows it if it passes, and then makes the request. That part is correct.
But after the server received a redirect:
Initial URL
|
v
Validation ✓
|
v
Request
|
v
302 Redirect
|
v
New URL
|
X
Validation not consistently applied
|
v
127.0.0.1
Line by line: the first URL is validated and passes. The request is made. The destination answers with a 302 redirect. A new URL appears. At this point the validation is not consistently applied, marked with an X. The request goes to [redacted] anyway.
The security control protected the initial destination but failed to protect the subsequent redirected destination. The report describes the validation as not consistently applied after the redirect; the exact implementation is not shown. A hop here means one step in a chain of redirects.
The existing defences did stop direct loopback, private and reserved addresses, alternate IP notations, and metadata access through the redirect. They did not stop a destination change introduced by a redirect.
17. Impact
An unauthenticated attacker could make the server issue requests to its own loopback interface by supplying a public URL that redirects to [redacted]. This bypassed the anti-SSRF filter and allowed internal port enumeration, internal HTTP service probing, and path/status-based reconnaissance against localhost services. A reachable service on [redacted]:8080 returned HTTP 406, while unavailable ports returned Connection refused by host, giving a clear oracle.
The impact was bounded: private addresses such as [redacted] and [redacted] remained blocked, the metadata address [redacted] was not reached through the redirect, no credentials were obtained, and arbitrary internal response bodies were not demonstrated. That last point is a principle worth remembering: prove the bug safely, then stop. There is no need to break into the internal service to show that you could.
18. Fix
The remediation guidance it describes is implied by the root cause: the SSRF validation must apply to every network connection made as a result of the supplied URL, not only the first one. The report frames the general principle as testing whether a security control remains valid throughout the entire execution flow.
In everyday terms: the bouncer must check every door the parcel passes through, not just the front gate.
19. Variants to test
The same pattern applies wherever a security control makes an assumption about state that later changes. Concrete things to try on other targets:
- Redirect chains. Supply a public URL that redirects through several public hops before landing on an internal address. A positive result is the application reporting or reaching the final internal destination, showing that validation is not repeated at each hop.
- Redirect status codes and methods. Try 301, 302, 303, 307 and 308, and both GET and POST entry points. A positive result is any status or method where the redirected internal request succeeds while the direct request is blocked.
- DNS rebinding. Use a hostname that resolves to a public address during validation and to
[redacted]when the request is made. A positive result is the server reaching loopback despite the hostname passing the filter. - Alternate loopback notations through the redirect. Point the redirect at
2130706433,0x7f000001,0177.0.0.1or[::1]. A positive result is any notation that reaches loopback after the redirect even though it is rejected directly. - Parser transformations. Use URLs with userinfo, encoded characters or unusual schemes that a parser may normalise differently between the validator and the fetcher. A positive result is a destination the validator sees as public but the fetcher resolves internally.
- Secondary requests. Look for callbacks, background jobs, retries and protocol upgrades that re-use a previously validated URL. A positive result is an internal request triggered by a later stage that never re-checks the destination.
- Port and path oracles. Once loopback is reachable, compare responses for open and closed ports and for different paths such as
/and/actuator/health. A positive result is a consistent difference between reachable and unreachable services, or between existing and missing paths.
A blocked payload is information: it tells you a control exists. The useful next question is what that control assumes, and whether a state change such as a redirect can invalidate the assumption.
Glossary
- 302 Found: an HTTP status code meaning the requested resource is temporarily at another address, given in the
Locationheader. - 406: an HTTP status code meaning the server cannot produce a response matching what the request asked for.
- API: a way for one program to talk to another over the network, passing requests and receiving structured answers.
- Attack surface: all the endpoints, parameters and features a website exposes to visitors, and therefore all the places an attacker can try.
- Autonomous harness: a self-built set of scripts that finds, tests and prioritises possible vulnerabilities with little human input.
- Baseline request: a normal, harmless request sent first so later results can be compared against it.
- Bounty: money paid by a company to a researcher who reports a security bug responsibly.
- Bypass: getting past a security check without breaking it, by giving it input it does not recognise as dangerous.
- Cloud metadata address: a special address inside cloud environments,
[redacted], that can expose information about the machine, sometimes including credentials. - Connection refused: the response when a machine is reachable but nothing is listening on the requested port.
- Control request: a request used for comparison, where the expected normal behaviour should occur.
- Differential analysis: comparing two related requests and drawing conclusions from the difference between their responses.
- DNS rebinding: a technique where a hostname resolves to one address during a check and a different address when the request is actually made.
- Endpoint: one specific address on a server that performs one specific job.
- Filter: a check in an application that inspects input and blocks what it considers dangerous.
- GET: the HTTP method used when a browser simply requests a page or resource.
- Header: an extra line of information attached to an HTTP request or response, separate from the main content.
- Hop: one step in a chain of redirects.
- HTTP: the protocol browsers and servers use to exchange requests and responses.
- HTTP status code: a three-digit number in a response saying how the request went, such as 200, 302, 406.
- IP address: a numeric address identifying a machine on a network, such as
[redacted]. - Location header: the header in a redirect response that says where to go next.
- Loopback / localhost: the special address
[redacted]that a computer uses to refer to itself. - Oracle: any observable difference in responses that lets an attacker answer a yes/no question about something they cannot see directly.
- Parameter: an extra piece of information attached to a URL, usually after a question mark, such as
?url=. - Parser: the part of software that reads and interprets a URL or other input.
- Payload: a test value sent to an application to see how it reacts.
- Port: a numbered door on a computer, allowing several services to run on one machine.
- Primitive: the basic capability a vulnerability gives an attacker, before it is built into anything larger.
- Private address: an IP address reserved for use inside private networks, such as
[redacted]or[redacted]. - RDAP: a standard protocol for looking up registration information about internet addresses.
- Reconnaissance: gathering information about a target before acting on it.
- Redirect: an instruction from a server telling the client to fetch a different address instead.
- Redirect chain: a sequence of redirects, each leading to the next.
- Reserved address: an IP address set aside for special purposes and not used for normal public traffic.
- Resolve: turning a hostname into an IP address, the way a phone book turns a name into a number.
- Root cause: the underlying reason a vulnerability exists, as opposed to its visible symptoms.
- Scope determination: working out exactly which targets and actions a vulnerability allows.
- Server: a computer that stores a website and answers requests from visitors.
- Server-side: happening on the server rather than in the visitor's browser.
- Sink: a place in an application where attacker-controlled input ends up being used in a dangerous operation.
- SSRF (Server-Side Request Forgery): a bug where an attacker can make a server send a request to an address of the attacker's choosing.
- State transition: a change from one situation to another, such as moving from an initial URL to a redirected one.
- Unauthenticated: done without logging in or presenting any credentials.
- URL: a web address identifying where to go and what to ask for.
- Userinfo: the optional username and password portion that can appear before the host in some URLs.
- Validation: checking input against rules before acting on it.
- Vulnerability: a weakness in software that an attacker can use to make it behave in unintended ways.