Skip to content

In-depth lesson · Cloud metadata access

Root causes

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

Back to the lesson 1 to 17 of 17
  1. User-supplied URLs were fetched without blocking internal or link-local addresses.

    Seen in 6 reports
  2. The screenshot service fetched user-controlled URLs without restricting metadata endpoints, and instances lacked metadata concealment.

    Seen in 1 report
  3. The webhook handler blocked most redirects but allowed HTTP 303, so the server could be redirected to internal addresses.

    Seen in 1 report
  4. The import attribute cleaner did not strip the uploader's remote attachment URL and request header fields, so the remote download feature fired during import.

    Seen in 1 report
  5. The TURN server had no peer access control, allowing relay to arbitrary internal addresses.

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

    Seen in 1 report
  7. Uploaded files were passed to FFmpeg without restricting the protocols or file paths it could access.

    Seen in 1 report
  8. Only the initial scheme was validated, and redirects to other schemes and internal addresses were followed.

    Seen in 1 report
  9. The endpoint accepted a base64-encoded URL and fetched it without validating the scheme or destination.

    Seen in 1 report
  10. The address filter only checked localhost names, hostname-only strings and private or reserved IP ranges, missing cloud metadata hostnames.

    Seen in 1 report
  11. The url parameter was passed straight to a server-side HTTP client without blocking the metadata address.

    Seen in 1 report
  12. The PlantUML server was not configured to restrict the include directive from internal resources and local files.

    Seen in 1 report
  13. The connection test did not restrict which hosts or URLs could be contacted.

    Seen in 1 report
  14. A template value was interpolated into an error string without sanitisation and that string was passed to a PDF renderer that fetched embedded resources.

    Seen in 1 report
  15. The SSRF protection only filtered IPv4 and did not normalise or block IPv6 addresses mapped to IPv4.

    Seen in 1 report
  16. The players query parameter was passed directly into the HTTP client with no allow-list or private-address blocking.

    Seen in 1 report
  17. The private-network guard missed link-local addresses.

    Seen in 1 report