AWS EIP Flaw Lets Attackers Hijack US Treasury Subdomains for $3
Researchers discovered a systematic way to claim AWS Elastic IP addresses that have dangling DNS records pointing to them, gaining control over subdomains at scale. By automating the process of allocating and releasing EIPs across multiple regions and gradually increasing their quota from 5 to 25 addresses per region, they were able to cycle through 450,000 unique IPs in 48 hours before AWS restricted their account. The technique cost only $3 per successful takeover.
During their limited 48-hour run targeting organizations in public bug bounty programs, the researchers claimed 28 live EIP addresses that matched dangling DNS records, including five US Treasury subdomains: ftp.treasury.gov, irssearch.treasury.gov, pcp.treasury.gov, rdgw.treasury.gov, and ww5.treasury.gov. This represented less than 1% of the publicly available AWS EIP space, suggesting hundreds or thousands of vulnerable records likely exist. When AWS blocked their original account, they circumvented the restriction by transferring the IPs to a new account within the same AWS organization, which faced no verification requirements.
The implications are severe. An attacker controlling a hijacked .gov subdomain can serve convincing phishing sites backed by valid TLS certificates, intercept cookies scoped to the parent domain, or capture credentials from legacy systems still pointing to the old IP. AWS told the researchers it has no plans to implement stronger controls, leaving the vulnerability open to attackers who could deploy multiple accounts to systematically sweep the IP space in weeks rather than months.
Read the full article
Continue reading at Hacker News →This is an AI-generated summary. Read the original for the full story.