Skip to content
Subdomain takeover Write-up Beginner

API DOCS takeover on Readme.io

A subdomain of a private bug bounty target pointed via CNAME to a Readme.io documentation host, and the Readme.io project behind it was unclaimed. An attacker could register a Readme.io account, create a project and claim the custom domain, taking over the documentation subdomain.

Oktavandi Follow

Published on telegra.ph

i've been invited in some private bugbounty program on bugcrowd platform and the scope is limited, i mean no wildcard subdomain allowed for submission report but if found something-something good, " Just reach out to [email protected] " - Policy

Oktavandi (@0ktavandi), on telegra.ph

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

Likely a dangling CNAME record left pointing at a Readme.io project that was never claimed or was released, letting anyone claim the custom domain.

What the attacker needed

Dangling CNAME to Readme.io; free Readme.io account

How it was found

  1. Enumerate subdomains of the target with a subdomain enumeration tool.
  2. Check the results and find hosts whose CNAME points to a third-party service.
  3. Confirm the dangling CNAME with a DNS lookup.
  4. Create an account on the third-party service and create a project.
  5. Add the victim subdomain as a custom domain in the project settings and save.

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 subdomain takeover happens when a site points a name at an outside service, but nobody has claimed that name on the service. Anyone who signs up there can claim it and serve their own content under the victim's domain. Here the outside service was Readme.io, a documentation host.

What is Subdomain takeover?

A company's DNS still points at a cloud service it no longer uses, so anyone can claim it and serve content on the company's domain.

More by Oktavandi

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Subdomain takeover

The lesson behind this report.

A company's DNS still points at a cloud service it no longer uses, so anyone can claim it and serve content on the company's domain.