Langsung ke konten
Skillpedia
Keamanan5.4k Β· #14936

hunt-ssrf

Fungsinya

Skill ini menguji server-side request forgery, yaitu ketika penyerang membuat server mengambil alamat yang seharusnya tidak dijangkau. Skill ini untuk pengujian resmi fitur yang mengambil URL, pratinjau, atau impor.

Kapan dipakai

  • βœ“Saat sebuah fitur mengambil alamat web yang Anda berikan, seperti pratinjau tautan atau impor file.
  • βœ“Saat aplikasi berjalan di cloud dan mungkin bisa menjangkau layanan metadata-nya.
  • βœ“Ketika layanan internal mungkin bisa dijangkau melalui server aplikasi.

Link skill

https://github.com/elementalsouls/Claude-BugHunter/blob/main/skills/hunt-ssrf/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/elementalsouls/Claude-BugHunter/blob/main/skills/hunt-ssrf/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œFitur pratinjau tautan kami mengambil URL. Bisakah Anda memeriksa apakah fitur itu bisa menjangkau alamat internal dalam pengujian resmi kami?”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent mengirim URL yang mengarah ke server uji milik Anda dan ke alamat internal, lalu memeriksa respons dan callback. Permintaan buta dikonfirmasi dengan callback sebelum dilaporkan.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Crown Jewel Targets

SSRF is highest-value when the target runs on cloud infrastructure (AWS, GCP, Azure) where metadata services expose credentials, or when the server sits inside a complex internal network (Kubernetes clusters, microservice meshes, internal APIs). Priority targets:

  • Cloud-hosted SaaS products (GCP metadata at 169.254.169.254 or metadata.google.internal, AWS IMDSv1)
  • Kubernetes/orchestration platforms β€” aggregated API servers, metrics-server, kubelet endpoints expose privileged cluster operations
  • Internal developer tooling β€” CI/CD, workflow orchestration (Flyte, Argo), admin panels not exposed externally
  • Link preview / URL fetching features β€” Reddit-style preview APIs, Slack-style unfurling, media processors
  • Dataset/file import pipelines β€” anything that fetches remote URLs on behalf of a user
  • Enterprise self-hosted software (GitHub Enterprise, GitLab) β€” SSRF frequently chains to RCE via internal services

Payouts are highest when SSRF reaches: cloud credentials β†’ account takeover, internal admin APIs β†’ data exfil, or chains to RCE.


OOB-Or-It-Didn't-Happen Gate (Read First)

Claims of blind SSRF require an out-of-band (OOB) confirmation. Always. No exceptions.

OOB means: a Burp Collaborator domain, an interactsh-client listener, a canarytoken, or any DNS+HTTP receiver you control that confirms the server actually made an outbound network connection on your behalf.

What is NOT confirmation of SSRF

  • The server echoing your URL back in an error message. Example: "The Web application at http://evil.example.com/x could not be found" β€” this is the server formatting your input into an error string, NOT making an outbound HTTP request. The error came from string formatting, not from network failure.
  • The server returning a different status code for an external URL vs localhost. Different error responses can come from URL-scheme validators, not from actual fetching.
  • A delayed response when the URL is sent. Delay can come from DNS resolution attempts within the parser, not from completed HTTP fetches.

What IS confirmation of SSRF

  • A DNS lookup for your unique Collaborator subdomain appears in the OOB listener.
  • An HTTP request to your Collaborator HTTP endpoint with the server's source IP and User-Agent.
  • For SSRF in JavaScript-execution contexts (PDF renderers, headless browsers), a fetch from the server to your callback URL.

Default workflow

  1. Plant the Collaborator payload first. Sub-tagging (dlsrcurl.<collab>, import.<collab>) only works if your listener actually reports the queried subdomain back to you β€” verify that before relying on it. Burp's get_collaborator_interactions keys results by payload ID, not by subdomain, so several sub-tags generated from one payload are indistinguishable in the output. When that is the case, generate a fresh payload per candidate parameter and send exactly one request per payload.
  2. Send the request to the target endpoint.
  3. Wait 30–120 seconds, then poll the OOB listener.
  4. Only after a confirmed callback do you claim SSRF.
  5. If zero callbacks across all sub-tagged sinks: SSRF claims must be retracted, even if error messages echo URLs.

Lesson from a authorized engagement: SharePoint's /_layouts/15/download.aspx?SourceUrl= returned 500 with the title "The Web application at <attacker-URL> could not be found". Initial scan flagged this as SSRF (server clearly processed the URL). 38 Collaborator-tagged payloads across 12+ URL-accepting parameters yielded zero DNS or HTTP interactions. The "echo" was client-side error-string formatting; the server never made an outbound HTTP request. The path is actually an SP-internal SPFile/SPWebApplication resolver, not a generic URL fetcher. Reporting this as SSRF would have been N/A'd at triage.

Attribute the callback to ONE parameter before reporting

A callback proves the server made a request. It does not tell you which parameter caused it, and the fix depends entirely on that.

BAD   β€” four candidate fields, one payload, fired in one batch
        -> callbacks arrive, attribution impossible, retest required

GOOD  β€” fresh payload per field, one request each, poll between
        url      -> callbacks    <- this is the sink
        apiUrl   -> none
        endpoint -> none
        target   -> none

Run the negative control. A parameter that produces *

Pertanyaan umum

Mengapa callback diperlukan?

Menurut skill ini, kasus buta harus dikonfirmasi lewat callback di luar jalur utama, sehingga dugaan tidak dilaporkan sebagai temuan.

Mengapa metadata cloud penting?

Menurut skill ini, layanan metadata bisa mengungkap kredensial cloud, yang bisa berujung pada pengambilalihan akun.

Apakah trik DNS juga dicakup?

Ya. Skill ini menyebut DNS rebinding sebagai salah satu cara melewati filter alamat.

Detail

Deskripsi asli dari pembuat

Hunting skill for ssrf vulnerabilities. Built from 15 public bug bounty reports including AWS metadata SSRF (HackerOne $25k Analytics PDF, Shopify Exchange $25k, Capital One 106M-record breach, Dropbox/HelloSign $4,913), GCP metadata SSRF (Snapchat $4k), Azure IMDS SSRF (Azure DevOps $15k chain, ChatGPT Custom Actions MSRC), DNS rebinding SSRF (Concrete CMS, GitLab UrlBlocker), gopher-protocol-to-Redis-RCE (Yahoo Mail $15k), link-preview SSRF (Reddit Matrix $6k), and headless-browser PDF-generator SSRF chains. Use when hunting SSRF on any target β€” OOB Collaborator confirmation mandatory for bl

repo: elementalsouls/Claude-BugHunter

Popularitas

Bintang GitHub
5.4k
Peringkat
#14936
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa