Skip to content
SSRF Disclosed report Intermediate

Exposed proxy allows to access internal reddit domains

An exposed proxy server allowed requests to be forwarded to internal Reddit domains by setting a custom Host header. An attacker could use this to reach internal services that are not meant to be publicly accessible.

la_revoltage Follow

Originally disclosed on HackerOne

Bounty$7,500 High View original
  • Triaged in 17 hours
  • Fixed in 21 hours
  • Paid in 19 hours
  • Disclosed after 25 days

Summary:

Proxy at https://52.90.28.77:30920 allows to access internal domains

Steps To Reproduce:

To reproduce, simply use this curl command

curl --insecure https://52.90.28.77:30920/reddit --header "Host: █████████"

Supporting Material

snoo.dev is obviously an internal domains used by employees: https://search.censys.io/search?resource=certificates&q=snoo.dev

It is also references in the GitHub a few times: https://github.com/search?q=org%3Areddit%20snoo.dev&type=code

Impact

Attacker can access internal domains

The original report as published on HackerOne, by la_revoltage. 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. 4 min read.

What the report shows

The target is a proxy listening on https://[redacted]:30920 that allows access to internal domains. The researcher reported that the proxy allows access to internal domains when the Host header is set to an internal name, under the asset *.reddit.com as an improper access control issue.

The reproduction is a single request. The path segment /reddit is passed to the proxy, and the Host header carries the internal hostname, which is redacted in the published report:

Bash
curl --insecure https://[redacted]:30920/reddit --header "Host: █████████"

The --insecure flag tells curl not to validate the TLS certificate. The report does not explain why the flag was needed.

To support the claim that the redacted hostname belongs to an internal domain, the researcher points to snoo.dev as a domain used by employees, citing a Censys certificate search and GitHub code search results scoped to the Reddit organisation:

Text
https://search.censys.io/search?resource=certificates&q=snoo.dev
https://github.com/search?q=org%3Areddit%20snoo.dev&type=code

The impact section is one sentence: an attacker can access internal domains. The report gives no response bodies, no list of reachable services, and no evidence of what the internal domains returned. The platform records the severity as high, the weakness as improper access control (generic), a bounty of 7,500 USD and disclosure on 24 February 2025. No CVSS score is given, and the report does not describe a fix.

Root cause

A forward or reverse proxy that resolves and connects to whatever hostname arrives in that header becomes an open relay into any network it can reach, including internal-only zones.

Impact

As the report puts it, an attacker can access internal domains. In practice that means a party on the internet can use the proxy to reach internal domains that are not meant to be publicly routable. The report does not enumerate which internal services were reachable or what data they exposed, so the demonstrated impact stops at reachability of internal names.

How this kind of bug works

HTTP/1.1 requires clients to send a Host header so that one IP address can serve many sites. Proxies use that header for routing: a reverse proxy picks a backend by vhost, and a forward proxy uses the request target or the header to decide where to connect. If the routing decision trusts the header and the proxy has network reach into private address space, the header becomes an attacker-controlled pointer into the internal network. The same class of issue appears as SSRF when the destination is taken from a URL parameter, and as host header injection when the value is reflected into links or password reset emails. Here the mechanism is the routing decision itself.

Defences are allowlists and network segmentation. The proxy should only forward to a fixed set of upstreams, matched exactly, and should reject unknown Host values with a 4xx response rather than attempting a connection. The proxy host itself should not have routes into management or internal-only networks beyond the specific backends it serves, so that even a routing mistake does not expose more than one service.

How to test for it

Look for hosts that behave like proxies: non-standard high ports, responses that echo the requested host, TLS certificates that do not match the address, or a Via header. Certificate transparency and code search can surface internal naming conventions, as the researcher did with Censys and GitHub.

  1. Send a normal request to the listener and note the default response and any Server, Via or certificate details.
  2. Repeat the request with the Host header set to a name you control, and check whether the response reflects it or whether an out-of-band interaction arrives at your listener.
  3. Repeat with internal-looking names discovered during recon, and compare status codes, body sizes and error text against the baseline.
  4. Try absolute-form request targets and path-based routing variants, since proxies differ in which part of the request they use.

A positive result is a response that clearly originates from a different backend than the baseline, or an out-of-band callback proving the proxy made a connection on your behalf. Common false positives are a generic error page returned for every unknown host, a wildcard vhost that serves the same content for any name, and DNS-only resolution with no actual connection. Confirm with a controlled hostname before claiming internal access, and keep the proof to a harmless endpoint.

How it is fixed

Enforce an exact allowlist of upstream hosts and reject anything else before a connection is attempted. Do not derive the upstream from user input at all where a static mapping will do. Place the proxy in a network segment that can only reach its intended backends, and require authentication on any proxy that must remain internet-facing. Review TLS configuration so the listener presents a certificate valid for the names it serves.

Hunting notes

This bug class hides in forgotten infrastructure: staging proxies, egress gateways, debugging tools and load balancers on high ports that were never decommissioned. Recon signals include internal domain names appearing in certificate transparency logs, in public code repositories, in JavaScript bundles and in error messages. When you find one, prove reachability with a request to a benign internal endpoint and show the response, or use an out-of-band interaction you control, so the program can see the pivot without you touching sensitive data.

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

A proxy is a computer that sits between you and other computers and passes your requests along. When a proxy is reachable from the open internet and will forward requests to places the public is not supposed to reach, that is a problem. The danger starts when a proxy is reachable from the open internet and will forward requests to places the public is not supposed to reach.

This report is about exactly that. A proxy was listening at https://[redacted]:30920, an address anyone on the internet could connect to. The researcher reported that by setting the Host header to an internal name, the proxy allowed access to internal domains. Internal domains are names that only exist inside a company's private network, like rooms in a building that have no door onto the street. The proxy, in effect, could open a door to internal names.

The report was filed against Reddit's *.reddit.com asset as an improper access control issue. The platform records it as high severity, with a bounty of 7,500 USD, disclosed on 24 February 2025. No CVSS score is given, and the report does not describe a fix.

What the report shows

The whole reproduction is one command. The path segment /reddit is passed to the proxy, and the Host header carries the internal hostname, which is redacted in the published report:

Bash
curl --insecure https://[redacted]:30920/reddit --header "Host: █████████"

Line by line:

  • curl is a command-line tool for sending web requests. It is the browser's engine without the window.
  • --insecure tells curl not to check the TLS certificate. A TLS certificate is the digital ID a server shows to prove it is who it claims to be; browsers check it and warn you when it does not match. The report does not explain why the flag was needed.
  • https://[redacted]:30920 is the proxy's address and port. A port is like a numbered door on a single building address; 30920 is the port the proxy listens on.
  • /reddit is the path, the part of a URL after the address that names what you want.
  • --header "Host: █████████" adds a Host header. The Host header is how a browser tells a server which website it wants, because one address can host many sites. Here the researcher set it to an internal name instead of the proxy's own name.

Why this matters: the report says an attacker can access internal domains through the proxy. The header becomes a pointer into the private network, and the person holding it chooses where it points.

To support the claim that the redacted name is an internal domain, the researcher points to snoo.dev as a domain used by employees, citing a certificate search and a code search scoped to the Reddit organisation:

Text
https://search.censys.io/search?resource=certificates&q=snoo.dev
https://github.com/search?q=org%3Areddit%20snoo.dev&type=code

Certificate transparency is a public log of issued TLS certificates; searching it for a name shows whether certificates for that name have been issued. Code search shows whether employees typed the name into their repositories. Neither proves the proxy reaches it, but together they make the internal name plausible.

The impact section is one sentence: an attacker can access internal domains. The report gives no response bodies, no list of reachable services and no evidence of what the internal domains returned, so the demonstrated impact stops at reachability of internal names.

In general, how this kind of bug works

HTTP/1.1 requires clients to send a Host header so that one IP address can serve many sites. Proxies use that header for routing: a reverse proxy picks a backend by vhost, and a forward proxy uses the request target or the header to decide where to connect. If the routing decision trusts the header and the proxy has network reach into private address space, the header becomes an attacker-controlled pointer into the internal network. The same class of issue appears as SSRF when the destination is taken from a URL parameter, and as host header injection when the value is reflected into links or password reset emails. Here the mechanism is the routing decision itself.

Defences are allowlists and network segmentation. The proxy should only forward to a fixed set of upstreams, matched exactly, and should reject unknown Host values with a 4xx response rather than attempting a connection. The proxy host itself should not have routes into management or internal-only networks beyond the specific backends it serves, so that even a routing mistake does not expose more than one service.

How to test for it

Look for hosts that behave like proxies: non-standard high ports, responses that echo the requested host, TLS certificates that do not match the address, or a Via header. Certificate transparency and service-scan data (Censys, Shodan) surface such listeners, and internal naming conventions often leak through public certificate searches and code search on the organisation's repositories.

  1. Send a normal request to the listener and note the default response and any Server, Via or certificate details.
  2. Repeat the request with the Host header set to a name you control, and check whether the response reflects it or whether an out-of-band interaction arrives at your listener.
  3. Repeat with internal-looking names discovered during recon, and compare status codes, body sizes and error text against the baseline.
  4. Try absolute-form request targets and path-based routing variants, since proxies differ in which part of the request they use.

A positive result is a response that clearly originates from a different backend than the baseline, or an out-of-band callback proving the proxy made a connection on your behalf. Common false positives are a generic error page returned for every unknown host, a wildcard vhost that serves the same content for any name, and DNS-only resolution with no actual connection. Confirm with a controlled hostname before claiming internal access, and keep the proof to a harmless endpoint.

How it is fixed

Enforce an exact allowlist of upstream hosts and reject anything else before a connection is attempted. Do not derive the upstream from user input at all where a static mapping will do. Place the proxy in a network segment that can only reach its intended backends, and require authentication on any proxy that must remain internet-facing. Review TLS configuration so the listener presents a certificate valid for the names it serves.

Hunting notes

This bug class hides in forgotten infrastructure: staging proxies, egress gateways, debugging tools and load balancers on high ports that were never decommissioned. Recon signals include internal domain names appearing in certificate transparency logs, in public code repositories, in JavaScript bundles and in error messages. When you find one, prove reachability with a request to a benign internal endpoint and show the response, or use an out-of-band interaction you control, so the program can see the pivot without you touching sensitive data.

Glossary

  • Proxy: a computer that forwards requests between a client and another server on the client's behalf.
  • Reverse proxy: a proxy that sits in front of servers and routes incoming requests to the right backend.
  • Forward proxy: a proxy that clients use to reach destinations on their behalf.
  • Host header: the part of an HTTP request that names which website the client wants.
  • Vhost: a virtual host, one of several websites served from the same address, told apart by the Host header.
  • Internal domain: a hostname that only resolves inside a private network and is not meant to be reachable from the internet.
  • TLS certificate: a server's digital ID, checked by browsers to confirm the server is who it claims to be.
  • Port: a numbered endpoint on a machine that a service listens on.
  • curl: a command-line tool for sending web requests.
  • Certificate transparency: a public log of issued TLS certificates that anyone can search.
  • SSRF: server-side request forgery, where an attacker makes a server send a request to a destination of the attacker's choosing.
  • Host header injection: abusing a client-supplied Host value that a server trusts or reflects.
  • Allowlist: a list of things that are permitted, with everything else rejected.
  • Network segmentation: splitting a network into zones so that a compromise in one zone cannot reach the others.
  • Out-of-band interaction: a signal, such as a request arriving at a server you control, that proves a target made a connection.
  • False positive: a result that looks like a vulnerability but is not one.
  • CVSS: a standard scoring system for rating the severity of a vulnerability.

More by la_revoltage

View all

2 more disclosed reports, best first.

More from Reddit

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.