Skip to content
Access control Write-up Intermediate

How i was able to hack over 10 million websites using BAC : broken access controle .

A web hosting platform's AI website builder did not properly check which account owned a domain, so a user could change the domain name in a request to another account's domain and then edit that domain's settings. The author claims this gave control over any website on the platform.

zack0x01_ Follow

Published on medium.com

Hey awesome hackers, I’m Zack0x01, and today I’m excited to tell you about an amazing discovery I made while searching for bugs. Get ready for a thrilling story about a popular web hosting platform with 10 million websites.

zack0x01, on medium.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 platform trusted the domain name supplied in the request without verifying that the logged-in user owned that domain.

Impact

An attacker could take control of another account's domain settings and upload new pages, potentially affecting any website on the platform.

What the attacker needed

Two accounts on the platform; two registered domains; Burp Suite with match and replace

How it was found

  1. Create two accounts and register two different domains, one for each account.
  2. Use the AI website builder to start editing the first account's landing page.
  3. Turn on Burp Suite match and replace to swap the first domain name for the second domain name in requests.
  4. Finish customising the page, then stop Burp Suite.
  5. Visit the second account's domain and observe that its settings can be edited.

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.

Broken access control means the website lets you do things you should not be allowed to do, like editing someone else's account. Here, the author changed the domain name in their request to another person's domain and the platform did not check that they owned it. This let them change settings on a website that was not theirs.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by zack0x01_

View all

4 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.