Flywheel Subdomain Takeover
A subdomain with a DNS A record pointing to Flywheel's managed WordPress platform could be claimed by anyone who signed up and added that subdomain to a new site. An attacker could then serve their own content on the victim's subdomain, enabling phishing, malicious JavaScript, defacement, and possibly cookie theft.
Published on smaranchand.com.np
Flywheel is managed WordPress hosting built for designers and creative agencies to build, scale, and manage hundreds of WordPress sites with ease. One can set up a WordPress site in less than two minutes without any complex configuration.
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 the hosting platform allowed any account to attach an unclaimed subdomain to a new site without verifying that the requester owned the domain.
Impact
An attacker could take over the subdomain, publish arbitrary content, run malicious JavaScript in visitors' browsers, phish for credentials, deface the site, and potentially steal cookies scoped to the parent domain, escalating to account takeover.
What the attacker needed
A paid Flywheel account; the target subdomain still points to Flywheel; the subdomain is unclaimed on Flywheel
The fix
The DNS entry for the subdomain should be removed if it is no longer in use.
How it was found
- Notice the subdomain resolves to Flywheel and shows the default 404 landing page.
- Create a Flywheel account and purchase a plan.
- Create a simple WordPress site.
- Add the vulnerable subdomain to the WordPress site.
- Confirm the subdomain now serves the attacker's site.
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 name like blog.example.com that belongs to a domain. If its DNS record still points at a hosting service but nobody has claimed that name on the service, another person can sign up and claim it. That lets them control what visitors see at the victim's subdomain.
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.