Skip to content

In-depth lesson · SSRF

Root causes

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 47 of 47
  1. URL validation was done by string prefix or before DNS resolution rather than on the resolved destination.

    Seen in 3 reports
  2. SSRF filters only handled IPv4, missed IPv6-mapped or NAT64 addresses, or did not normalise representations.

    Seen in 2 reports
  3. The feature fetched arbitrary user-supplied URLs without blocking internal or link-local addresses.

    Seen in 1 report
  4. The blacklist was checked at first resolution while the outbound proxy resolved the host again without applying the same restriction.

    Seen in 1 report
  5. The application fetched a user-controlled URL without validating or restricting the destination.

    Seen in 1 report
  6. The image fetcher accepted arbitrary URL schemes and followed redirects without restricting destinations.

    Seen in 1 report
  7. The upload handler trusted the filename extension and processed the file with an SVG-capable parser before checking the real type.

    Seen in 1 report
  8. The screenshot service fetched user-controlled URLs without restricting metadata endpoints, and instances lacked metadata concealment.

    Seen in 1 report
  9. Source-code scraping was enabled so the error service fetched URLs supplied in the filename field.

    Seen in 1 report
  10. The allow-list check searched for the permitted domain as a substring anywhere in the URL instead of parsing the host.

    Seen in 1 report
  11. The application validated the initial URL but not the final destination after following redirects.

    Seen in 1 report
  12. The reverse proxy built an upstream URL from the untrusted Host header without validating it against an allowlist.

    Seen in 1 report
  13. A URL built from the untrusted Host header was passed into an outbound HTTP request without validating the host.

    Seen in 1 report
  14. The metadata import fetched any user-supplied URL without restricting destinations to public addresses.

    Seen in 1 report
  15. The webhook handler blocked most redirects but allowed HTTP 303 redirects.

    Seen in 1 report
  16. The URL allow-list check was done on the raw string rather than the parsed host.

    Seen in 1 report
  17. The integration's HTTP client followed redirects without validating the destination.

    Seen in 1 report
  18. The URL parser and fetcher disagreed about where the host ends when a password contains a hash character.

    Seen in 1 report
  19. The proxy endpoint accepted any URL without validating it pointed to a public address and returned the full response.

    Seen in 1 report
  20. The TURN server did not restrict the peer address in relay requests to public destinations.

    Seen in 1 report
  21. The webhook URL was fetched without restricting requests to internal or link-local addresses.

    Seen in 1 report
  22. The import endpoint did not validate or restrict the user-supplied source URL before making a request.

    Seen in 1 report
  23. The validator fetched the supplied URL without restricting it to public addresses, and distinct errors leaked connection success.

    Seen in 1 report
  24. The notification server configuration accepted arbitrary host values without validating destinations.

    Seen in 1 report
  25. The import attribute cleaner did not strip the uploader's remote attachment URL fields, triggering remote download during import.

    Seen in 1 report
  26. The AWS region parameter was not validated and was used to construct the S3 endpoint hostname.

    Seen in 1 report
  27. The framework's default routing exposed every public controller method and its parameters without an allowlist or input validation.

    Seen in 1 report
  28. The external authorization client used the HTTP library directly instead of the SSRF-mitigated wrapper.

    Seen in 1 report
  29. The avatar hash parameter was URL-decoded before being concatenated into a URL.

    Seen in 1 report
  30. The include directive fetched remote URLs without restricting internal or link-local addresses.

    Seen in 1 report
  31. A URL parsing differential between the SSRF validator and the git client let the client reach a different host.

    Seen in 1 report
  32. The Docker client was created without a redirect policy so it followed redirects from the user-controlled daemon.

    Seen in 1 report
  33. The import URL was concatenated into a git config flag without escaping, allowing extra config keys.

    Seen in 1 report
  34. The git protocol was not covered by the URL blocker and the URL was not sanitised for carriage return and line feed characters.

    Seen in 1 report
  35. The webhook notification feature did not restrict the target URL or HTTP method.

    Seen in 1 report
  36. The import endpoint fetched arbitrary user-supplied URLs without validating the destination or blocking metadata addresses.

    Seen in 1 report
  37. An unsanitised template value was interpolated into an error string that was then rendered into a PDF, and the renderer fetched embedded resources.

    Seen in 1 report
  38. A user-controlled url parameter was passed straight to a server-side HTTP client without validating the destination.

    Seen in 1 report
  39. The query method set local requests to allowed and used a user-controlled server URL, returning full responses in errors.

    Seen in 1 report
  40. The HTTP helper was called with local requests allowed and the full error response was written to logs untrimmed.

    Seen in 1 report
  41. The proxy forwarded requests based on the Host header without restricting which hosts could be reached.

    Seen in 1 report
  42. A query parameter was passed directly into the HTTP client with no allowlist or private-address blocking.

    Seen in 1 report
  43. Carriage return and line feed characters were not stripped from user-supplied webhook header names before building the outbound request.

    Seen in 1 report
  44. The server did not validate the Origin header or enforce CORS, so it trusted requests from any page resolving to localhost.

    Seen in 1 report
  45. The webhook URL was passed to the server-side HTTP client without validation or an allowlist.

    Seen in 1 report
  46. The ClickHouse configuration omitted the remote URL allow-hosts section, which by default allows all hosts for URL functions.

    Seen in 1 report
  47. The hostname was truncated to 256 characters before being passed to address lookup, turning a long hostname into a numeric IP string.

    Seen in 1 report