agentleFS
NoorQureshiNoorQureshi/SploitAgent/skills/web/web-ssrf/SKILL.md

web-ssrf

Skill26 starsChanged 50 days agoMITView on GitHub

Discover and escalate Server-Side Request Forgery. Load when the app fetches a URL you influence: webhooks, "import from URL", link/image preview, PDF/HTML render, avatar-by-URL, URL health-checks, XML/SVG parsers. Signals: params like url=, uri=, dest=, callback=, image=, feed=, or a request that reaches out on your behalf.

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    No response body ≠ no vuln: timing and OOB confirm blind SSRF.

    line 48

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Server-Side Request Forgery (SSRF)

When it applies

The server makes an outbound request to a destination you control or influence. Even a "blind" fetch (no response shown) is useful if you can see the callback and reach internal services.

Why it works

The request originates from inside the trust boundary, so it bypasses network ACLs and hits things you can't reach directly: cloud metadata, internal admin panels, databases, other microservices — often unauthenticated because they "only accept internal traffic".

Method

  1. Confirm with an out-of-band beacon: point the param at your interactsh/Collaborator host and watch for the DNS/HTTP hit. DNS-only hit = blind SSRF (still valuable).
  2. Map internal reach: try http://127.0.0.1:<port>/, http://localhost, and the cloud metadata IP 169.254.169.254. Fuzz ports to find live internal services.
  3. Escalate by target:
    • Cloud metadata → steal IAM creds (see cloud-imds-ssrf).
    • Internal line-protocol service (Redis/6379, memcached) → RCE via gopher:// (see web-ssrf-gopher-redis-rce).
    • Internal HTTP admin → hit unauthenticated actions.
  4. Bypass filters blocking localhost/private IPs: decimal/octal/hex IPs (http://2130706433/), [::], 127.0.0.1.nip.io, DNS-rebinding, @-tricks (http://expected.com@attacker.com), and redirect chains (allowed host 302s to internal).

Gotchas

  • Allowlist on scheme/host is often only on the first request — a 30x redirect slips past.
  • SSRF via SVG/<image>/PDF renderers and via Location/webhook retries is easy to miss.
  • No response body ≠ no vuln: timing and OOB confirm blind SSRF.

Verify success

OOB callback from the target's egress IP, or a response revealing an internal-only resource (metadata JSON, an internal 200/redirect you shouldn't reach).

References

PortSwigger SSRF labs; Orange Tsai "A New Era of SSRF".

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.