Skip to content
Subdomain takeover Write-up Beginner

Taking over the Medium subdomain using Medium

A Medium subdomain had a dangling DNS record pointing to Medium's blog hosting, allowing anyone with a Medium account to claim it by adding the domain to their own blog. An attacker could take over the subdomain and serve their own content under Medium's domain.

Smaran Chand Follow

Published on smaranchand.com.np

Medium is a blog hosting platform where a user can write their ideas and share them with a mass number of people. The great thing about medium is “Simplicity” everything is made easier whether it is User Interface/Experience, system, or functions.

Smaran Chand, on smaranchand.com.np

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

Impact

An attacker could take over the subdomain and host their own content under Medium's domain, though the report notes this issue is not eligible for a bounty.

What the attacker needed

A Medium account; membership required to add a custom domain

How it was found

  1. Find a subdomain with a DNS record pointing to Medium's blog hosting but no active blog.
  2. Create or use a Medium account and add the subdomain as a custom domain for a blog.
  3. Complete the domain linking process shown by Medium.
  4. The subdomain now serves the attacker's blog content.

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 is a smaller part of a website's address, like blog.example.com. If that subdomain points to an external service but no one has claimed it there, anyone who can sign up for that service can claim the name and control what appears at that address. This is called a subdomain takeover.

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 Smaran Chand

View all

1 more disclosed report, best first.

More from Medium

View all

The newest disclosed reports for this program.

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.