Skip to content

In-depth lesson · SSRF

Bypasses and variations

Every point the SSRF reports back under this heading, best-backed first, each with the reports it is seen in.

Back to the lesson 1 to 20 of 20
  1. Bypass SSRF filters with redirects, IPv6-mapped addresses, NAT64 prefixes, percent-encoded IPv4 or DNS rebinding.

    Seen in 3 reports
  2. Bypass internal SSRF protection on slash commands by redirecting to an internal address.

    Seen in 2 reports
  3. Use DNS rebinding to bypass an SSRF filter and reach an internal host.

    Seen in 2 reports
  4. Bypass an SSRF blacklist by using the IPv6 unspecified address as the hostname to reach loopback services.

    Seen in 1 report
  5. Bypass an IP blacklist on callback URLs with DNS rebinding so the second resolution lands on a private address.

    Seen in 1 report
  6. Use a redirect from an attacker-controlled file to switch the fetch to gopher or ftp.

    Seen in 1 report
  7. Bypass extension validation by naming an SVG file with a .png extension and setting the part content type to SVG.

    Seen in 1 report
  8. Use a URL redirect to beat an SSRF filter and scan internal ports blindly.

    Seen in 1 report
  9. Find an additional bypass that lets an SSRF reach internal netblocks despite the filter.

    Seen in 1 report
  10. Use a CI/CD pipeline for an external repository to reach private ranges such as 10.x that the webhook check blocks.

    Seen in 1 report
  11. Bypass instance metadata service protections to reach metadata through an SSRF.

    Seen in 1 report
  12. Bypass redirect blocking by using an HTTP 303 redirect to reach internal addresses.

    Seen in 1 report
  13. Bypass URL validation by splitting the value with a newline character.

    Seen in 1 report
  14. Bypass a URL blocker validation to achieve full SSRF.

    Seen in 1 report
  15. Bypass an SSRF filter by embedding an IPv4 address inside an IPv6 address.

    Seen in 1 report
  16. Bypass DNS rebinding protection by using a domain whose resolution initially fails, then test the webhook to reach the metadata endpoint.

    Seen in 1 report
  17. Find a bypass for an earlier blind SSRF fix by varying the URL handling.

    Seen in 1 report
  18. An anti-SSRF filter that only checked IPv4 addresses was bypassed with an IPv6 address mapped to IPv4.

    Seen in 1 report
  19. A prefix-only hostname check was bypassed with a hostname that begins with the trusted hostname and continues with an attacker domain.

    Seen in 1 report
  20. The URL parser was tricked with an embedded @ so the request went to an attacker-chosen host.

    Seen in 1 report