Skip to content
Subdomain takeover Write-up Intermediate

Hijacking Over 100k GoDaddy Websites

GoDaddy's Website Builder allowed an attacker to connect any domain already pointing to GoDaddy's shared hosting to their own site without verifying ownership, overwriting the victim's configuration. An attacker could then serve malicious JavaScript or phishing content on the victim's domain, affecting over 100,000 websites.

Jonathan Cran Follow

Published on labs.ingredous.com

GoDaddy is a well-known domain registrar which also offers various complementary services such as hosting and website building. One service, in particular, is the Website Builder which allows anyone to build and publish a website regardless of their technical ability.

Jonathan Cran (@jcran), Shpend Kurtishaj (@shpendk), Maxim Gofnung, on labs.ingredous.com

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 Website Builder did not verify domain ownership before allowing a user to connect a custom domain, and the virtual hosting configuration was overwritten without validation.

Impact

An attacker could serve malicious JavaScript to access non-HttpOnly cookies scoped to the parent domain, bypass CORS whitelisting, or host phishing content; the text notes GoDaddy does not appear to allow access to server-side logs.

What the attacker needed

A GoDaddy account; target domain points to GoDaddy shared hosting; no victim interaction required

The fix

GoDaddy verified that the vulnerability has been patched.

How it was found

  1. Start the custom domain connection flow in GoDaddy Website Builder.
  2. Enter a domain that already points to GoDaddy's shared hosting IP addresses.
  3. Complete the confirmation prompts to connect the domain to the attacker's site.
  4. Visit the victim's domain and observe the attacker's website is served instead.

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.

When you build a website with GoDaddy, you can use your own domain name. The service didn't check that you actually owned the domain before letting you attach it to your site. So an attacker could type in someone else's domain, and GoDaddy would start showing the attacker's website on that domain instead of the real owner's.

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 from GoDaddy

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.