Skip to content

In-depth lesson · DNS rebinding

Root causes

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

Back to the lesson 1 to 8 of 8
  1. The IP blacklist was applied at the first resolution step, but the outbound proxy resolved the name again without the same checks.

    Seen in 1 report
  2. DNS rebinding protection was skipped when the domain initially failed to resolve, so a later resolution to an internal address was accepted.

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

    Seen in 1 report
  4. The IP allowlist check ran before the hostname was replaced with the resolved IP, so allowing one address let other local addresses through.

    Seen in 1 report
  5. The rebinding protection relied on a hostname whitelist that included a name not always present in the hosts file, so it could be resolved via attacker-controlled DNS.

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

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

    Seen in 1 report
  8. The local HTTP and WebSocket server lacked authentication and origin validation, allowing cross-origin browser requests.

    Seen in 1 report