Domain pointing to vimeo portfolio are prone to takeover using on-demand.
Vimeo allowed custom domains to be claimed for on-demand pages without checking whether the same domain was already claimed for a portfolio. An attacker could therefore take over a domain or subdomain that was already pointing to Vimeo for a portfolio by claiming it through the on-demand feature.
Originally disclosed on HackerOne
- Triaged in 39 hours
- Fixed in 20 days
- Paid in 21 days
- Disclosed after 32 days
Summary by the program
We thank @bugdiscloseguys for finding this issue. We were only checking \ on-demand to on-demand, but not on-demand to portfolio.
Summary by the researcher
Vimeo offers service for pro users to add custom domain under portfolios so that portfolios can be hosted on your (sub)Domain, However Vimeo offers same feature for on-demand pages which required same CNAME entry as portfolios, No cross verification was done if the domain is added in portfolio before or not and hence an attacker could have used on-demand page to takeover a (sub)Domain pointing to Vimeo regardless of its been already claimed.
In case you're wondering about CNAME entry, It is vimeopro.com, If not claimed you can takeover. Another vector for subdomain takeover, I found few!
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the two features that allow custom domain claims (portfolios and on-demand) did not share a check to prevent the same domain from being claimed twice.
Impact
An attacker could take over a domain or subdomain already pointing to Vimeo for a portfolio.
What the attacker needed
Victim has a domain pointing to Vimeo; attacker has a Vimeo account
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 report has not been written yet. The Original tab links to the source.
When you point a domain at a service like Vimeo, the service must remember who owns that domain. Here, two different Vimeo features (portfolios and on-demand pages) both let people claim custom domains, but they did not check with each other. So someone else could claim a domain that was already in use and take it over.
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.