Skip to content

In-depth lesson · Blind SSRF

Root causes

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

Back to the lesson 1 to 23 of 23
  1. The allow-list check searched for the permitted domain as a substring anywhere in the URL instead of comparing the parsed host.

    Seen in 2 reports
  2. The import endpoint did not validate or restrict the user-supplied source URL before fetching it.

    Seen in 2 reports
  3. A URL built from the untrusted Host header was passed into an outbound request without validating the host.

    Seen in 1 report
  4. Validation was applied to only part of the input, so a newline split the value and the server fetched the chosen address.

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

    Seen in 1 report
  6. The AWS region parameter was not validated, so it could contain arbitrary hostnames used to build the S3 endpoint.

    Seen in 1 report
  7. Default routing exposed every public controller method and its parameters without an allow-list or input validation.

    Seen in 1 report
  8. The client used the raw HTTP library instead of the SSRF-protected helper.

    Seen in 1 report
  9. A URL parsing differential between the validator and the git client let the client interpret the host differently.

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

    Seen in 1 report
  11. The lint endpoint was reachable without authentication and fetched remote includes without restricting destinations.

    Seen in 1 report
  12. The mirror fetch followed redirects without re-checking the destination against the internal-address blocklist.

    Seen in 1 report
  13. The JSON schema validator resolved external references through open-uri, allowing local file reads and server-side requests.

    Seen in 1 report
  14. The detect host keys function did not apply the SSRF protection used by the main mirroring feature.

    Seen in 1 report
  15. The hostname was checked against a blocklist before resolution but not re-checked after DNS resolution.

    Seen in 1 report
  16. DNS verification of the supplied parameter was insufficient and could be bypassed.

    Seen in 1 report
  17. The preview endpoint did not validate or restrict the target URL.

    Seen in 1 report
  18. The source parameter was not restricted to an allow-list of trusted servers before outbound GET requests.

    Seen in 1 report
  19. The image library auto-detected input type and treated user strings as URLs or filesystem paths.

    Seen in 1 report
  20. User-controlled URLs were passed to an HTTP client without validation and raw request errors were exposed.

    Seen in 1 report
  21. The url parameter was passed directly to a server-side HTTP client without restricting the destination.

    Seen in 1 report
  22. Carriage return and line feed characters were not stripped from user-supplied webhook header names.

    Seen in 1 report
  23. The analytics code called the HTTP helper with local requests allowed and stored full error responses in logs.

    Seen in 1 report