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.
-
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
-
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
-
The import endpoint fetched arbitrary user-supplied URLs without validating the destination or blocking link-local and metadata addresses.
-
The IP allowlist check ran before the hostname was replaced with the resolved IP, so allowing one address let other local addresses through.
-
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
-
The hostname was checked against a blocklist before resolution but not re-checked after DNS resolution.
Seen in 1 report
-
The local server did not validate the Origin header or enforce CORS, so it trusted requests from any page resolving to loopback.
-
The local HTTP and WebSocket server lacked authentication and origin validation, allowing cross-origin browser requests.