Server-side
Server-Side Request Forgery (SSRF)
SSRF forces the server to make HTTP requests to attacker-controlled or internal destinations, exposing internal services and cloud metadata.
- 190 payloads
- 3 files
- README on GitHub
Payloads are read from main at 35c1f2b (committed 22 Nov 2026). Project version 1.0.2.
These payloads are for authorized testing only: systems you own, authorized bug bounty programs, or controlled lab environments. Unauthorized testing is illegal.
Payload files
Use the arrow keys to move between payloads. Press Enter or C to copy the focused payload.
ssrf-payloads.txt
66 payloads · 2.8 KBLoading payloads for SSRF…
What it is#
Server-Side Request Forgery (SSRF) is a vulnerability that allows an attacker to induce the server to make HTTP requests to an arbitrary destination: internal services, cloud metadata endpoints, or external systems. In cloud environments, SSRF is particularly severe as it commonly exposes AWS/GCP/Azure metadata credentials that grant broad cloud access.
Attack vectors#
- URL parameters for loading remote resources
- File upload by URL (avatar, image import)
- Webhook endpoint configuration fields
- PDF generators with URL input
- API integrations with user-supplied callback URLs
- Image proxy services
Testing methodology#
- Submit http://127.0.0.1/ to test access to localhost
- Try http://169.254.169.254/latest/meta-data/ for AWS metadata
- Test internal network ranges: http://192.168.0.1, http://10.0.0.1
- Use DNS rebinding or out-of-band callbacks for blind SSRF detection
- Test URI scheme variations: file://, gopher://, dict://
Indicators of vulnerability#
- Response contains internal service content or cloud metadata
- DNS/HTTP request received on attacker-controlled server for blind SSRF
- Different response for internal vs external URLs
- Cloud credentials (access keys, tokens) in response
Detection guidance#
Block outbound requests to RFC 1918 and link-local address ranges. Use a cloud metadata protection mechanism. Monitor for requests to 169.254.169.254.
Mitigation and remediation#
- Validate and allowlist target URLs against permitted external domains
- Block requests to RFC 1918 ranges, loopback, and link-local addresses
- Use a dedicated network policy to restrict outbound server requests
- Disable unnecessary URI schemes (file://, gopher://, dict://)
- In cloud environments, use IMDSv2 (requiring PUT requests with tokens) to prevent SSRF metadata access
References#
Responsible Use
All content in this reference is for authorized security testing only. Use only on systems you own or have explicit written permission to test.
- Systems and applications you own
- Authorized penetration testing engagements
- Bug bounty programs with defined scope
- Educational lab environments (DVWA, WebGoat, HackTheBox)