# Domain Takeover of Reddit.ru via DNS Hijacking

Reddit.ru's authoritative nameservers pointed to Reg.ru but the hosted zone was deleted, letting anyone recreate it and fully control the domain's DNS.

- Payout: $500
- Severity: medium
- Program: Reddit
- Found by: indianajson
- Disclosed: 2021-10-21
- Write-up quality: 6/10
- Original: https://hackerone.com/reports/1226891
- Library page: https://bugbountylibrary.com/r/h1%3A1226891
- Tags: area:cloud domain:infra impact:ato impact:integrity kind:bounty platform:hackerone sev:medium tech:email technique:recon vuln:access-control vuln:misconfiguration vuln:subdomain-takeover

**Target:** DNS zone for reddit.ru at registrar/nameserver provider Reg.ru
**Root cause:** Domain delegated to Reg.ru nameservers at the registrar, but the corresponding hosted zone in Reg.ru was deleted, leaving an orphaned delegation that any Reg.ru account holder could claim.
**Steps:**
1. `whois reddit.ru` shows Reddit ownership and Reg.ru nameservers as authority
2. `dig A reddit.ru` returns SERVFAIL, indicating the authoritative zone is missing
3. Log into Reg.ru and create a new hosted zone for reddit.ru (unclaimed)
4. Add a TXT record `"faberge@wearehackerone"` to prove control
5. `dig TXT reddit.ru` confirms the injected record is served
**How found:** Reviewed WHOIS for Reddit-owned domains, noticed Reg.ru listed as authority, then ran DIG and observed SERVFAIL — a signal that the delegated zone no longer exists and is claimable.
**Exploitation:** Attacker registers the orphaned zone at Reg.ru, gaining full DNS control: can point A/MX records to attacker infrastructure, host phishing clones (e.g. Modlishka) of Reddit for Russian users, and mint @reddit.ru email addresses for spam/phishing with high sender reputation.
**Escalation:** Chained DNS control into credential phishing via Modlishka and email spoofing leveraging the reputable domain; also brand damage on a primary ccTLD.
**Insight:** For every domain a target owns, check WHOIS nameservers then DIG for SERVFAIL/NXDOMAIN on the apex: an authoritative delegation to a provider with no matching hosted zone is a claimable dangling zone, not just a subdomain takeover.

## Proof of concept (copied exactly from the original report)

**TXT record proving domain takeover**

```
reddit.ru.		86400	IN	TXT	"faberge@wearehackerone"
```

