Skip to content
Subdomain takeover Write-up Intermediate

Authentication bypass on SSO ubnt.com via Subdomain takeover of ping.ubnt.com

A subdomain was vulnerable to takeover via Amazon CloudFront, and because session cookies were shared across all subdomains, an attacker could use the taken-over subdomain to obtain a valid session cookie and bypass the single sign-on authentication.

Arne Swinnen Follow

Published on arneswinnen.net

Bounty$500 View original

I publicly disclosed a vulnerability that I responsibly disclosed to Ubiquity via the HackerOne platform. It concerned a subdomain takeover issue via Amazon Cloudfront (ping.ubnt.com) in combination with shared session cookies between subdomains on .ubnt.com, which ultimately lead to a complete Authentication Bypass…

Arne Swinnen, on arneswinnen.net

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 DNS record pointing to an unclaimed CloudFront distribution, combined with session cookies scoped to the parent domain, allowing cookie theft or injection from a controlled subdomain.

Impact

An attacker could bypass the single sign-on authentication.

What the attacker needed

Dangling DNS record for a subdomain; shared session cookies across subdomains

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 company points a subdomain to a service like CloudFront but later stops using it without removing the DNS record. Anyone who claims that service can then control the subdomain. Here, because login cookies were shared across all subdomains, controlling one subdomain let the attacker get a cookie that worked on the main login system.

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 Arne Swinnen

View all

6 more disclosed reports, best first.

More from Ubiquity Networks

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.