Skip to content

In-depth lesson · SSRF

Tips for beginners

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 14 of 14
  1. When you find SSRF, demonstrate impact by reading internal files, scanning internal ports, or accessing metadata. Avoid reporting SSRF with no impact, such as a blind request to an external server you control without showing internal access. The evidence emphasises impact through metadata, file read, and port scanning.

    Seen in 7 reports
  2. Use DNS rebinding when the application resolves the hostname twice or pins the resolved address. The evidence shows DNS rebinding was used to bypass filters and reach internal hosts.

    Seen in 7 reports
  3. Start by looking for features that make outbound requests: URL imports, webhook configurations, link previews, PDF generation, image fetch from URL, and integrations. Use a listener you control to confirm blind SSRF. The evidence shows many reports where hunters confirmed SSRF with a listener.

    Seen in 6 reports
  4. Test for SSRF in import features: repository import, content import, SAML metadata import, and attribute cleaner. The evidence includes multiple reports of SSRF via import functionality.

    Seen in 6 reports
  5. Try to bypass filters using common techniques: redirects, IPv6-mapped addresses, NAT64 prefixes, percent-encoded IPv4, DNS rebinding, and parser differentials. The evidence shows these bypasses were successful in many reports.

    Seen in 5 reports
  6. Check for redirect handling: if the application follows redirects, try redirecting to an internal address. Also test for protocol switching, such as redirecting to gopher or file. The evidence includes reports where redirects were used to bypass protections.

    Seen in 5 reports
  7. Test less obvious features: meme creation, avatar upload by URL, analytics dashboards, and third-party integrations. The evidence includes SSRF in these areas.

    Seen in 5 reports
  8. Pay attention to error messages: they can reveal whether a connection succeeded or leak internal information. The evidence shows reports where error messages were used to confirm SSRF or scan ports.

    Seen in 5 reports
  9. Do not assume that a feature is safe because it uses a URL parser or a library; test for parser differentials and inconsistencies. The evidence includes reports where parser differences led to SSRF.

    Seen in 5 reports
  10. Test for cloud metadata access by pointing the feature at the metadata endpoint. If you can read instance data, that is a strong impact. The evidence includes multiple reports where SSRF reached cloud metadata.

    Seen in 4 reports
  11. Test for SSRF in file upload and rendering features: SVG files, PDF generators, video files with HLS directives, and image processors. The evidence includes SSRF via SVG, PDF, and video.

    Seen in 4 reports
  12. Look for URL validation that is done on the raw string rather than the parsed host, or that uses substring matching. Try adding the allowed domain as a query parameter or using a hostname that starts with the allowed domain. The evidence shows these bypasses.

    Seen in 3 reports
  13. Be careful about scope: ensure the feature and the target are in scope. Reporting an out-of-scope SSRF or one that only reaches an external server you control may be rejected. The evidence includes reports where SSRF was found on less obvious subdomains, so recon is important.

    Seen in 2 reports
  14. If you find a blind SSRF, try to escalate by chaining with other vulnerabilities such as open redirects or file uploads. The evidence includes reports where SSRF was chained with other weaknesses.

    Seen in 2 reports