hn.today

Taking over US Treasury subdomains for $3 each

intruder.io244 points50 comments
Screenshot of Taking over US Treasury subdomains for $3 each

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.

Read on intruder.io50 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Security

Defang Security Incident

Defang Security Incident

An attacker compromised Defang’s build system on November 12, copied production credentials, and downloaded its main database; exposed data included portal users’ names, email addresses, and account details. Defang replaced the credentials and notified affected users, while urging users of its GitHub App to check their repositories and cloud accounts. (defang.io)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.