The Allowlist That Trusted a Name Instead of an Address: Bypassin
The data source connector validated a hostname's resolved IP address only at configuration time, then performed an independent DNS resolution at each scheduled fetch without re-validating the result. An attacker controlling a domain with a zero TTL could pass validation with a public IP and later have the platform's own infrastructure attempt connections to internal addresses.
An IP-based allowlist feels like one of the more solid, straightforward security controls available: a feature is restricted to only communicate with a specific, pre-approved set of destinations, checked before any connection is made. It’s a reasonable control, and it’s also one with a specific, well-understood…
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
The destination validation resolved the hostname and checked the IP only at configuration time, while each scheduled fetch performed a fresh DNS resolution without re-validating the result.
Impact
An attacker able to configure a connector could cause the platform to make scheduled outbound connection attempts against arbitrary internal addresses, providing a persistent internal network access and mapping primitive; the demonstrated attempt reached only a timeout, not a live internal service.
What the attacker needed
Ability to configure a data source connector; control of a domain's authoritative DNS; DNS provider supporting zero TTL
The fix
Pinehurst restructured the connector's validation to resolve and pin the destination address immediately before each fetch rather than relying on configuration-time validation alone.
How it was found
- Register a domain with a DNS provider that allows precise control over record TTLs.
- Configure the domain to return a harmless public IP address on the first resolution and set a zero TTL.
- Create a data source connector pointing at the attacker-controlled domain, which passes validation.
- Update the DNS record to return an internal address before the next scheduled fetch.
- Observe the connector's activity log showing a connection attempt against the internal address, with a timeout rather than a validation rejection.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
A hostname is a name like example.com that a computer looks up in the Domain Name System (DNS) to find an IP address, which is the numeric address of a server. The platform checked the address once when the connector was set up, but looked it up again later when fetching data, and the second lookup could return a different, internal address. This let an attacker make the platform try to connect to its own private network.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.