Skip to content
SSRF Disclosed report Beginner

External service interaction (HTTP)

The reporter claimed that a URL on a deprecated test resource allowed an attacker to make the application contact arbitrary external services over DNS and HTTP. The program confirmed the resource was overlooked but said it was out of scope and not related to AWS services.

hesham_elsheme Follow

Originally disclosed on HackerOne

High 8.2 View original
  • Fixed in 4 days
  • Disclosed after 14 days

Summary by the program

Thank you for bringing this issue to our attention. Upon review, we identified that the related infrastructure was previously deprecated, and it seems that this particular test resource was unintentionally overlooked during the process.

While the finding is outside the scope of the program (not related to AWS Software or Services), we appreciate the report and will proceed to close the report as resolved.

Thanks again for your report and for helping us protect our customers! Please feel free to reach out if you have any further questions or concerns.

The report

There is External service interaction ( DNS and HTTP ) vulnerability in url : ████ in this video ██████████

Impact

The External Service Interaction arise when it is possible for a attacker to induce application to interact with the arbitrary external service such as DNS HTTP etc. The External Service Interaction can is not limited to HTTP,HTTPS or DNS, you can lead to FTP, SMTP etc. Such weakness can lead to DDoS attack. The External Service Interaction can lead to OS Command Injection, DOS Attack, DDOS Attack or Code Manipulation

The original report as published on HackerOne, by hesham_elsheme. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 3 min read.

Context

The target was a host under the wildcard asset *.aws.dev, part of the AWS VDP on HackerOne. The report describes an external service interaction issue, covering both DNS and HTTP, on a single URL. The URL itself is redacted in the disclosed text, so the specific host and path cannot be given here.

External service interaction is the class of bug where an application can be induced to make a request to a destination the attacker chooses. The report frames it broadly: the interaction is not limited to HTTP, HTTPS or DNS, and the same behaviour could in principle reach FTP, SMTP and similar protocols.

Setup

No accounts, roles, tooling versions or preconditions are described. The researcher presents the finding as a URL plus a video demonstrating it. The video is referenced in the report but is not reproduced here.

Finding it

The researcher identified a URL, redacted in the disclosed text, where the application could be made to interact with an arbitrary external service, over both DNS and HTTP. The report gives no detail on how the URL was discovered, what parameter or feature triggered the interaction, or what the application normally does with that input.

Exploitation

The report does not include the individual requests, payloads or responses. What it provides is the affected URL, redacted, and a reference to a video showing the interaction:

The demonstration is contained in the video, which is not available in the disclosed text, so the exact steps, the outbound requests observed and the responses returned cannot be reconstructed from the report alone.

Root cause

The report does not analyse the underlying code or configuration. The program's summary states that the related infrastructure had previously been deprecated and that this particular test resource was unintentionally overlooked during that process. In other words, the behaviour came from a leftover test resource rather than from a live AWS software or service, which is also why the program classified the finding as outside scope.

Impact

The report lists the following consequences of external service interaction:

  • interaction with arbitrary external services such as DNS and HTTP, and potentially FTP, SMTP and others;
  • DDoS attack;
  • OS command injection;
  • DoS attack;
  • code manipulation.

These are stated as possibilities the weakness can lead to, not as outcomes demonstrated on this target. The report does not show any of them being achieved.

Fix

The program's resolution was to close the report as resolved after determining that the infrastructure was deprecated and the test resource had been overlooked. No code change, configuration change or patch is described.

Variants to test

Because the report gives no request detail, the variants below are generic directions rather than things confirmed on this target:

  1. Any parameter that takes a URL, hostname or callback address: supply a collaborator or canary domain and watch for DNS lookups and HTTP requests arriving from the target's infrastructure.
  2. Features that fetch remote content, such as link previews, importers, webhooks and image or document processors: point them at a controlled host and check whether the request originates from the server rather than the client.
  3. Deprecated or forgotten test hosts on wildcard scopes: enumerate them and check whether they still resolve and still process input, since overlooked resources are exactly what this report turned on.
  4. Non-HTTP protocols: where the application lets you choose a scheme, try ftp:// or smtp:// style destinations and see whether the server attempts the connection.

A positive result is an inbound DNS query or HTTP request to your controlled host that you did not trigger from your own browser, ideally with the source attributable to the target's infrastructure.

Hunting notes

On wildcard scopes like *.aws.dev, deprecated and test resources are worth attention: they may sit outside the current service boundary but still be reachable and still process attacker input. The signal to look for is server-side resolution of a hostname you control, visible as a DNS hit or an HTTP request in your interaction logs. In this case the program closed the report as resolved and out of scope, on the grounds that the resource was deprecated and overlooked; the report itself does not document the interaction beyond the URL and the video.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 10 min read.

What happened, in plain words

A security researcher found a web address that behaved in an unexpected way. When the application behind that address was given something to do, it could be made to reach out to another computer on the internet, one chosen by the person sending the request. That kind of behaviour is called an external service interaction, and it can happen over two common ways of talking between computers: DNS and HTTP.

The researcher reported it to the AWS vulnerability disclosure programme (VDP) on HackerOne, a platform where security researchers report bugs to companies. The programme looked at it and replied that the infrastructure involved had already been retired (deprecated), and that this particular test resource had been missed during the clean-up. Because the resource was not part of AWS software or services, the programme treated the finding as outside its scope, but still closed the report as resolved and thanked the researcher.

The report itself is short. It gives a web address, which is blacked out in the public version, and points to a video showing the behaviour. The video is not included in the disclosed text, so the exact steps cannot be reconstructed from what is written. What follows explains the concepts behind the report, in the order the technical version covers them.

Context

The report concerns a single URL, redacted in the disclosed text. A wildcard asset is a way of saying "anything ending in this pattern counts as part of the programme". The * stands for any name in front, so something.aws.dev, test.aws.dev and so on all fall under it. Programmes use wildcards because they cannot list every host by hand, and because forgotten hosts are exactly where bugs tend to hide.

The report describes an external service interaction issue, covering both DNS and HTTP, on a single URL. The URL is redacted in the disclosed text, so the specific host and path cannot be given here.

External service interaction is the class of bug where an application can be induced to make a request to a destination the attacker chooses. A simple comparison: imagine a receptionist who will phone any number a visitor writes on a form. Normally the visitor writes their own number. If they can write someone else's number instead, the receptionist will call that person, and the person receiving the call sees a call coming from the company, not from the visitor. The application here is the receptionist, and the attacker controls the number.

The report frames the issue broadly: the interaction is not limited to HTTP, HTTPS or DNS, and the same behaviour could in principle reach FTP, SMTP and similar protocols. These are all ways computers talk to each other. HTTP and HTTPS carry web pages, DNS turns names like example.com into the numeric addresses computers use, FTP moves files, and SMTP sends email. If an application will connect to an address you supply, the protocol it uses depends on what the application supports.

Setup

No accounts, roles, tooling versions or preconditions are described. The researcher presents the finding as a URL plus a video demonstrating it. The video is referenced in the report but is not reproduced here.

In other words, there is no recipe to follow: no mention of which tool was used, which login was needed, or which settings had to be in place. The report is a pointer to a demonstration, not a step-by-step guide.

Finding it

The researcher identified a URL, redacted in the disclosed text, where the application could be made to interact with an arbitrary external service, over both DNS and HTTP. The report gives no detail on how the URL was discovered, what parameter or feature triggered the interaction, or what the application normally does with that input.

A parameter is the part of a web address that carries information, usually after a ?. For example, in https://example.com/page?name=alice, the parameter is name and its value is alice. Many features take a value like this and then do something with it: fetch a picture, look up a link, send a notification. If one of those features accepts a full address instead of a simple value, and the server follows it, that is where this class of bug appears. The report does not say which parameter or feature was involved here.

Exploitation

The report does not include the individual requests, payloads or responses. What it provides is the affected URL, redacted, and a reference to a video showing the interaction:

This block is the affected URL with the identifying parts blacked out. The four solid blocks stand in for characters that were removed before publication, so the host and path cannot be read. There is nothing to decode: the redaction is deliberate, to avoid pointing readers at a live resource.

The demonstration is contained in the video, which is not available in the disclosed text, so the exact steps, the outbound requests observed and the responses returned cannot be reconstructed from the report alone. "Outbound" means requests leaving the target's server towards somewhere else, as opposed to requests arriving at it from a browser.

Root cause

The report does not analyse the underlying code or configuration. The program's summary states that the related infrastructure had previously been deprecated and that this particular test resource was unintentionally overlooked during that process. In other words, the behaviour came from a leftover test resource rather than from a live AWS software or service, which is also why the program classified the finding as outside scope.

"Deprecated" means something is no longer maintained and is meant to be switched off or replaced. When a company retires a set of servers, it usually works through a list and shuts each one down. If one entry on the list is missed, that machine can stay reachable long after everyone believes it is gone. Nobody is watching it, nobody patches it, and it may still run old code that accepts input. That is the situation the programme describes here.

Impact

The report lists the following consequences of external service interaction:

  • interaction with arbitrary external services such as DNS and HTTP, and potentially FTP, SMTP and others;
  • DDoS attack;
  • OS command injection;
  • DoS attack;
  • code manipulation.

These are stated as possibilities the weakness can lead to, not as outcomes demonstrated on this target. The report does not show any of them being achieved.

A few of those terms deserve a plain explanation. A DoS (denial of service) attack is an attempt to make a service unavailable, for example by flooding it with work. A DDoS is the same idea carried out from many machines at once. OS command injection means tricking an application into running commands on the underlying operating system, as if someone typed them into a terminal. Code manipulation means changing code or its behaviour without permission. The report lists these as things the weakness can lead to in general, not as things that happened on this host.

Fix

The program's resolution was to close the report as resolved after determining that the infrastructure was deprecated and the test resource had been overlooked. No code change, configuration change or patch is described.

In practice, the fix in a case like this is usually housekeeping: find the forgotten resource and switch it off, so the behaviour disappears along with it.

Variants to test

Because the report gives no request detail, the variants below are generic directions rather than things confirmed on this target:

  1. Any parameter that takes a URL, hostname or callback address: supply a collaborator or canary domain and watch for DNS lookups and HTTP requests arriving from the target's infrastructure.
  2. Features that fetch remote content, such as link previews, importers, webhooks and image or document processors: point them at a controlled host and check whether the request originates from the server rather than the client.
  3. Deprecated or forgotten test hosts on wildcard scopes: enumerate them and check whether they still resolve and still process input, since overlooked resources are exactly what this report turned on.
  4. Non-HTTP protocols: where the application lets you choose a scheme, try ftp:// or smtp:// style destinations and see whether the server attempts the connection.

A collaborator or canary domain is a domain you control and can watch. Services exist that give you a unique name and show you every DNS lookup and HTTP request that arrives at it. If you put that name into a parameter and then see a lookup arrive, and you did not trigger it from your own browser, the request came from somewhere else, most likely the target's server. That is the signal.

A webhook is a feature where one system sends a message to a URL you provide when something happens. A link preview is the little summary some apps show when you paste a URL. Both involve the server fetching an address, which is why they are worth testing. "Enumerate" simply means listing things systematically, for example trying common names under a wildcard to see which ones still answer.

A positive result is an inbound DNS query or HTTP request to your controlled host that you did not trigger from your own browser, ideally with the source attributable to the target's infrastructure.

Hunting notes

On wildcard scopes like *.aws.dev, deprecated and test resources are worth attention: they may sit outside the current service boundary but still be reachable and still process attacker input. The signal to look for is server-side resolution of a hostname you control, visible as a DNS hit or an HTTP request in your interaction logs. In this case the program closed the report as resolved and out of scope, on the grounds that the resource was deprecated and overlooked; the report itself does not document the interaction beyond the URL and the video.

"Server-side resolution" means the server, not your browser, looked up the name. Your browser resolving a name is normal and expected. The server doing it on your behalf, for a name you chose, is the finding.

Glossary

  • API: a way for one piece of software to ask another to do something, usually over the web, with defined inputs and outputs.
  • Asset: a specific system, host or address that a bug bounty or disclosure programme lists as fair game.
  • AWS VDP: Amazon Web Services' vulnerability disclosure programme, a channel for reporting security issues to AWS.
  • Canary domain: a domain you control and monitor, used to detect when a system contacts it.
  • Code manipulation: changing code or its behaviour without authorisation.
  • Collaborator: a service-provided domain that records DNS and HTTP interactions sent to it.
  • Cookie: a small piece of data a website stores in your browser so it can recognise you on later requests.
  • DDoS: a denial of service carried out from many machines at once.
  • Deprecated: no longer maintained, and intended to be replaced or switched off.
  • DNS: the system that turns names like example.com into the numeric addresses computers use.
  • DoS: an attack that aims to make a service unavailable, for example by overwhelming it.
  • Enumerate: to list things systematically, such as trying common host names under a wildcard.
  • External service interaction: a bug where an application can be made to contact a destination chosen by the attacker.
  • FTP: a protocol for transferring files between computers.
  • HackerOne: a platform where researchers report security issues to companies and programmes.
  • Host: a single machine or service reachable on a network, identified by a name or address.
  • HTTP: the protocol browsers and servers use to exchange web pages and data.
  • HTTPS: HTTP with encryption, so the traffic cannot be read or altered in transit.
  • Link preview: a summary some apps show when you paste a URL, usually fetched by the server.
  • OS command injection: tricking an application into running commands on its operating system.
  • Out of scope: outside the rules of a programme, so not eligible for its rewards or process.
  • Parameter: the part of a web address or request that carries a value, usually after a ?.
  • Payload: the specific input an attacker sends to try to trigger a bug.
  • Protocol: an agreed set of rules for how two computers exchange data.
  • Redacted: removed or blacked out before publication, usually to hide sensitive details.
  • Resolved: the state a report reaches when the programme considers it dealt with and closes it.
  • Scope: the set of systems and behaviours a programme covers.
  • Server-side: happening on the server rather than in the visitor's browser.
  • SMTP: the protocol used to send email.
  • SSRF: server-side request forgery, a bug where a server can be made to send requests to a destination the attacker chooses.
  • Token: a short piece of data used to prove identity or authorise an action, often sent with requests.
  • URL: a web address, such as https://example.com/page.
  • Vulnerability: a weakness in software or configuration that can be misused to cause harm.
  • Webhook: a feature where one system sends a message to a URL you provide when an event occurs.
  • Wildcard asset: a scope entry using * to cover every host matching a pattern, such as *.aws.dev.

More from AWS VDP

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Server-side request forgery (SSRF)

The lesson behind this report.

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.