Skip to content
SSRF Disclosed report Intermediate

connect.8x8.com: Blind SSRF via /api/v2/chats/image-check allows for Internal Ports scan

The 8x8 Connect application had a blind server-side request forgery (SSRF) vulnerability in the ChatApps module's image-check API endpoint. An attacker could supply a URL pointing to internal addresses, potentially enabling internal port scanning.

yassinek3ch Follow

Originally disclosed on HackerOne

  • Triaged in under an hour
  • Fixed in 3 months
  • Paid in 28 hours
  • Disclosed after 3 months

Summary by the program

@yassinek3ch reported to us a Blind SSRF in the 8x8 Connect application, in the ChatApps module, which potentially could have allowed for internal port scans. The vulnerable API path was /api/v2/chats/image-check via the url JSON parameter.

Example:

POST /api/v2/chats/image-check HTTP/1.1
Host: connect.8x8.com
… …
Content-Type: application/json
Content-Length: 41

{"url":"http://127.0.0.1:/?a=a.png"}

We ultimately retired the entire API path, which resolved the issue.

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

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 5 min read.

What the report shows

The target is the 8x8 Connect application at connect.8x8.com, specifically the ChatApps module. The researcher, yassinek3ch, found a blind server-side request forgery (SSRF) in an API endpoint that fetches an image from a URL supplied by the caller.

The vulnerable path was /api/v2/chats/image-check, and the input that reached the server-side fetch was the url parameter in a JSON body. The report gives this example request:

HTTP
POST /api/v2/chats/image-check HTTP/1.1
Host: connect.8x8.com
… …
Content-Type: application/json
Content-Length: 41

{"url":"http://[redacted]:/?a=a.png"}

The payload points the fetch at the loopback address, [redacted], with a trailing colon and a query string ending in .png. The payload ends in a query string ending in .png, consistent with an image-check feature that expects image URLs. The loopback address is what turns a plain fetch into an SSRF probe, because it asks the server to talk to itself rather than to an external host.

The report describes the issue as blind, meaning the response did not return the fetched content to the attacker. The signal available to the researcher was therefore indirect, and the report frames the practical consequence as the potential for internal port scans: by varying the target port on the loopback address, an attacker could try to learn which internal services respond. The report does not include the responses observed, the ports tested, or any timing data.

The program's summary states that the entire API path was retired, which resolved the issue. Severity is recorded as medium. No CVSS score and no bounty amount are given.

Root cause

The report does not describe the underlying implementation or why the fetch was not restricted. An image-check feature only needs to confirm that a URL resolves to a valid image, but the implementation appears to have performed the fetch from the server's own network position, with no allowlist of permitted hosts and no block on loopback, private or link-local addresses.

Impact

Because the request originates from the 8x8 Connect infrastructure, the attacker's reach is the server's network position, not their own. The report's stated concern is internal port scanning: probing loopback and internal addresses to map which services are listening. The report hedges this as a potential, and it does not demonstrate access to any internal service, retrieval of cloud metadata, or exfiltration of data. The report's stated concern is the potential for internal port scans.

How this kind of bug works

SSRF arises whenever an application fetches a resource on behalf of the user and lets the user choose the destination. The server sits inside a trusted network segment, often with access to loopback services, internal APIs, cloud metadata endpoints and administrative interfaces that are unreachable from the internet. When the application passes a user-controlled URL to an HTTP client, that client inherits the server's network privileges.

Blind SSRF is the variant where the response body is not reflected. The attacker still controls the destination, so they can observe side effects: differences in response time, differences in error messages, out-of-band callbacks to a host they control, or state changes on the target. Port scanning works because a connection to a closed port fails fast while an open port may hang, reset differently, or produce a distinct error.

Defences work at several layers. Resolving the hostname and rejecting private, loopback, link-local and metadata ranges before connecting stops the simplest payloads. Network egress controls and a proxy that enforces an allowlist stop the rest. Disabling redirects, or re-validating the destination after each redirect, closes the common bypass where a public URL redirects to an internal one.

How to test for it

  1. Find features that fetch remote content: image or avatar import, URL previews, PDF or screenshot generation, webhook test buttons, feed readers, file importers, and any parameter whose value looks like a URL.
  2. Send a URL pointing at a host you control and watch for a callback. A hit confirms the server made the request and gives you a channel for further probing.
  3. Replace the host with loopback and private ranges, varying the port. Compare response times and error messages between a port you know is closed and one that may be open.
  4. Try bypasses if validation rejects the obvious payloads: alternative loopback notations, DNS names that resolve to internal addresses, and public URLs that redirect internally.
  5. Check whether the response leaks anything: fetched content, status codes, content length, or error text naming the internal host.

A positive result is a callback from the target's infrastructure, or a reproducible timing or error difference tied to the destination you chose. Common false positives include client-side fetches (the browser, not the server, made the request), cached responses, and generic error pages that look different for unrelated reasons. Confirm with repeated tests and a controlled comparison.

How it is fixed

Resolve the hostname first and reject loopback, private, link-local and cloud metadata addresses. Enforce an allowlist of permitted destinations where the feature allows it. Route outbound fetches through a proxy with egress filtering. Disable or re-validate redirects. Return generic errors so internal topology is not disclosed. In this case the program removed the API path entirely.

Hunting notes

SSRF hides in any server-side fetch: image and document processing, link unfurling, integrations that accept a URL to pull data from, and admin tooling that tests connectivity. Recon signals include parameters named url, uri, src, image, callback, webhook, feed and host, and features that mention importing or previewing remote content. Endpoints that accept JSON bodies with a URL field are worth trying directly.

To get a report accepted, show the request and the evidence that the server, not your browser, made the call. A callback to your own listener is the strongest proof. If the bug is blind, document the timing or error differences carefully and explain what internal reach they imply. Keep the demonstration minimal and avoid touching internal services beyond what is needed to prove the point.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 7 min read.

What happened, in plain words

8x8 Connect is a web application at connect.8x8.com. One of its parts, the ChatApps module, lets users work with chat integrations. A researcher named yassinek3ch found a security flaw in one of its API endpoints, a piece of the application that other software talks to directly rather than through a normal web page.

The flaw is a server-side request forgery, or SSRF. To understand it, start with what a request is: when you open a web page, your browser sends a request to a server, and the server sends back a response. In an SSRF, the attacker does not make the request from their own computer. Instead, they trick the server into making a request on their behalf, to a destination the attacker chooses. The server then acts as a middleman, and it can reach places the attacker cannot.

The feature involved was an image check. The vulnerable path was /api/v2/chats/image-check, and the address to fetch was passed in a field called url inside a JSON body. JSON is a simple text format for structured data, made of names and values in curly brackets.

The report gives this example request:

HTTP
POST /api/v2/chats/image-check HTTP/1.1
Host: connect.8x8.com
… …
Content-Type: application/json
Content-Length: 41

{"url":"http://[redacted]:/?a=a.png"}

Line by line:

  • POST /api/v2/chats/image-check HTTP/1.1 says the request is a POST (a request that sends data to the server) aimed at that path, using version 1.1 of the HTTP protocol, the language browsers and servers use to talk.
  • Host: connect.8x8.com names the website the request is for. One server can host many sites, so this line tells it which one.
  • … … stands for header lines the report left out.
  • Content-Type: application/json tells the server the body is JSON, so it should be read as structured data.
  • Content-Length: 41 says the body is 41 bytes long.
  • The blank line separates the headers from the body.
  • {"url":"http://[redacted]:/?a=a.png"} is the body: a single field, url, whose value is the address the server is asked to fetch.

The interesting part is the address itself. [redacted] is the loopback address, a special address that always means "this same machine". When a program connects to it, it is talking to itself, not to the internet. So the payload asks the 8x8 server to fetch an image from the server's own machine. The trailing :/?a=a.png adds a colon and a query string ending in .png. The .png ending is consistent with an image-check feature that expects image addresses.

This is why the bug matters. The server sits inside 8x8's own network, where it can reach internal services that outsiders cannot. The report frames the practical consequence as the potential for internal port scans. A port is a numbered channel on a machine; different services listen on different numbers. Trying many ports to see what is open is called a port scan.

The report calls the SSRF blind. That means the server did not send the fetched content back to the attacker. The attacker gets no direct view of the answer, only indirect signals. The report frames the practical consequence as the potential for internal port scans, and it does not include the responses observed, the ports tested, or any timing data.

The program's summary says the entire API path was retired, which resolved the issue. Severity is recorded as medium. No CVSS score and no bounty amount are given.

In general, how this kind of bug works

SSRF appears whenever an application fetches something on the user's behalf and lets the user choose where to fetch it from. The server is inside a trusted network, often able to reach internal APIs, administrative interfaces and cloud metadata endpoints that are unreachable from the internet. When the application hands a user-controlled address to its own fetching code, that code inherits the server's network position. A useful comparison: a receptionist who will phone any number a visitor gives them can be used to call the staff-only back office.

Blind SSRF is the variant where the fetched content is not shown back. The attacker still controls the destination, so they look for side effects: differences in how long a response takes, differences in error messages, or a connection arriving at a machine the attacker controls.

Defences work at several layers. Resolving the hostname first and rejecting loopback, private, link-local and metadata addresses stops the simplest payloads. Network controls that limit where the server may connect, and a proxy that enforces an allowlist of permitted destinations, stop the rest. Disabling redirects, or re-checking the destination after each redirect, closes the common bypass where a public address redirects to an internal one.

How to test for it

  1. Find features that fetch remote content: image or avatar import, link previews, PDF or screenshot generation, webhook test buttons, feed readers, file importers, and any field whose value looks like a web address.
  2. Send an address pointing at a host you control and watch for a connection. A hit confirms the server made the request and gives you a channel for further probing.
  3. Replace the host with loopback and private ranges, varying the port. Compare response times and error messages between a port you know is closed and one that may be open.
  4. Try bypasses if validation rejects the obvious payloads: alternative loopback notations, names that resolve to internal addresses, and public addresses that redirect internally.
  5. Check whether the response leaks anything: fetched content, status codes, content length, or error text naming the internal host.

A positive result is a connection from the target's infrastructure, or a reproducible timing or error difference tied to the destination you chose. Common false positives include fetches made by your browser rather than the server, cached responses, and generic error pages that differ for unrelated reasons. Confirm with repeated tests and a controlled comparison.

How it is fixed

Resolve the hostname first and reject loopback, private, link-local and cloud metadata addresses. Enforce an allowlist of permitted destinations where the feature allows it. Route outbound fetches through a proxy with egress filtering. Disable or re-validate redirects. Return generic errors so internal topology is not disclosed. In this case the program removed the API path entirely.

Hunting notes

SSRF hides in any server-side fetch: image and document processing, link unfurling, integrations that pull data from a supplied address, and admin tooling that tests connectivity. Signals include fields named url, uri, src, image, callback, webhook, feed and host, and features that mention importing or previewing remote content. Endpoints that accept JSON bodies with a URL field are worth trying directly.

To get a report accepted, show the request and the evidence that the server, not your browser, made the call. A connection to your own listener is the strongest proof. If the bug is blind, document the timing or error differences carefully and explain what internal reach they imply. Keep the demonstration minimal and avoid touching internal services beyond what is needed to prove the point.

Glossary

  • API: a defined way for software to talk to other software, usually over the web, without a human clicking through pages.
  • API endpoint: one specific address and method in an API that performs one action.
  • Blind SSRF: an SSRF where the fetched content is not returned to the attacker, so only indirect signals are available.
  • Body: the part of a request that carries data, separate from the headers.
  • Content-Type: a header saying what format the body is in, such as JSON.
  • CVSS: a standard scoring system for rating the severity of a vulnerability.
  • Egress filtering: controlling which destinations a server is allowed to connect out to.
  • Header: a line of extra information sent with a request or response, such as the host name or content type.
  • Hostname: the human-readable name of a machine on a network, such as connect.8x8.com.
  • HTTP: the protocol browsers and servers use to exchange requests and responses.
  • Image check: a feature that confirms a supplied address points at a valid image.
  • JSON: a text format for structured data, made of names and values in curly brackets.
  • Link-local address: an address used only on a local network segment, not routable across the internet.
  • Loopback address: the special address [redacted], which always means the same machine; connecting to it means talking to yourself.
  • Metadata endpoint: an internal address offered by cloud providers that returns information about the running server.
  • Port: a numbered channel on a machine; different services listen on different numbers.
  • Port scan: trying many ports to learn which services are listening.
  • POST: an HTTP method that sends data to the server.
  • Private address range: addresses reserved for internal networks and not reachable from the internet.
  • Query string: the part of a URL after a ?, carrying extra parameters.
  • Redirect: a response telling the client to go to a different address instead.
  • Request: a message a client sends to a server asking it to do something.
  • Response: the message a server sends back.
  • Server: a computer that provides services to other computers over a network.
  • SSRF (server-side request forgery): tricking a server into making a request to a destination the attacker chooses.
  • Webhook: a URL that one system calls automatically to notify another of an event.
  • Allowlist: a list of things explicitly permitted, with everything else refused.

More by yassinek3ch

View all

2 more disclosed reports, best first.

More from 8x8

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.