The research demonstrates how attackers can take over subdomains when DNS records still point to unused AWS Elastic IP addresses. Researchers enumerated subdomains in public bug-bounty scopes, then repeatedly allocated and released AWS addresses across regions, checking each one against their targets’ DNS records. In 48 hours, they cycled through 450,000 unique addresses - about 0.56% of AWS’s published EC2 address space - before AWS blocked the account. They found 28 live takeovers, at an estimated cost of roughly $3 per valid finding. Five affected subdomains belonged to the US Treasury: ftp.treasury.gov, irssearch.treasury.gov, pcp.treasury.gov, rdgw.treasury.gov, and ww5.treasury.gov.
Control of a matching address lets an attacker serve content on the affected subdomain and obtain a trusted TLS certificate, making phishing or credential collection appear legitimate. The researchers also warn that old automated connections could expose credentials and that cookies scoped to a parent domain may be sent to a hijacked subdomain. They reported the findings through the relevant disclosure programs, and affected organizations fixed the records. AWS restricted the testing account but allowed Elastic IPs to be transferred to another account in the same organization; it said it has no plans to change its controls, viewing the issue as a customer DNS problem. The researchers argue that monthly allocation limits and organization-level abuse restrictions would make large-scale exploitation harder, and urge organizations to remove dangling DNS records.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.