Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Domain takeover via wix.com #231

Open
kenziy opened this issue Aug 20, 2021 · 16 comments
Open

Domain takeover via wix.com #231

kenziy opened this issue Aug 20, 2021 · 16 comments

Comments

@kenziy
Copy link

kenziy commented Aug 20, 2021

Service name

https://www.wix.com/

Proof

Screenshot from 2021-08-20 11-48-00

#Fingerprint
Looks Like This Domain Isn't Connected To A Website Yet!

#Steps

  1. Register to wix
  2. Create a new site
  3. Publish > Connect your own customized domain (Need premium account)
    Screenshot from 2021-08-20 12-11-21
  4. Add the vulnerable domain
  5. Publish

#NOTE for subdomains
"You cannot connect a subdomain in your Wix account if the main domain is in a different Wix account. You must create the subdomain in the same Wix account as the main domain."
https://support.wix.com/en/article/connecting-a-subdomain-to-a-site-in-your-wix-account

Cheers
Kenziy

@kenziy kenziy changed the title Subdomain takeover via wix.com Domain takeover via wix.com Aug 20, 2021
@pdelteil
Copy link
Contributor

This is an edge case. It would only work if the account was deleted.

I still have a premium account if someone wants to test the take over.

@pdelteil
Copy link
Contributor

More info: https://hackerone.com/reports/1256389

@monizb
Copy link

monizb commented Dec 18, 2021

Wix.com - not Vulnerable #245

Can I please have your account for a test?

@pdelteil
Copy link
Contributor

I can confirm this takeover still works. It's an edge case since there are conditions that allow the subdomain to be register in another account.

I did the take over on a particular subdomain and only worked, all the others (same program) didn't work.

@akincibor
Copy link

Hi,

It's possible even if the root domain is in another account. When you publish your site and have a premium account, go to connect a domain.

Then choose I'm looking for a subdomain :

0d55e7b6-7b7d-44b4-9d96-007cabe1fb74

When you enter your subdomain, you will have some step to complete like connect to your root domain account and add DNS/CNAME but they are already done by the target team.

Capture d’écran 2022-03-23 à 15 44 06

So just go at the end and click verify.

Capture d’écran 2022-03-23 à 15 38 46

Even after that, you will maybe see nothing but just go to https://manage.wix.com/account/domains and you will see that verification passed but it's again under check. I think the wix support team double check manually to validate ? You will have your response after 48 hours.

Capture d’écran 2022-03-23 à 15 53 35

I think if we can impersonate the target, or maybe due to wix support mistakes, you can takeover the subdomain even if the main domain is in a different account.

@mazin208
Copy link

Does anyone has a premium account I can check with please?

@cyb3rsalih
Copy link

It doesn't work, If another account have the domain

@mazin208
Copy link

How can I know if another account has the domain without having premium account 😅💔

@cyb3rsalih
Copy link

How can I know if another account has the domain without having premium account 😅💔

you have to buy 🤷‍♂️ You can request refund after trying. The monthly package is not so expensive i think :)

@trilokdhaked
Copy link

please provide wix-takeover bug report format .

@vionde
Copy link

vionde commented Apr 24, 2023

I tried this rn and got domain connected to different account. Despite having a moneyback opportunity, I copied some endpoints that can show is domain available or not. I do my tests against root domain, so for subdomain it may vary. You can use it even without premium plan

I show JSON body for domain google.net as example

POST /_serverless/premium-domains-serverless/domain-search/domain-data HTTP/1.1
Host: manage.wix.com
Cookie: <COOKIES>

{"parsedDomain":{"input":"google.net","main":"google.net","tld":"net","sld":"google","subdomain":null,"isValidTld":true,"formattedInput":"google.net"}}

JSON body variables pretty obviously, so you can try for subdomain, just insert your parts of the domain

@waelahmed-dev
Copy link

waelahmed-dev commented Aug 12, 2023

Can anyone help me for testing takeover with premium account? my twitter: @waeldevx

@sam5epi0l
Copy link

Anyone have premium account? my twitter: @sam5epi0l

@N-N33
Copy link

N-N33 commented Jun 24, 2024

If anyone can share their wix premium so I can test a particular subdomain for takeover I'm willing to split the bounty if I get any.

Send me what ever platform username you want me to reach you at.

@uzielShemesh
Copy link

Hi are this still work for subdomains?

@utatau
Copy link

utatau commented Dec 13, 2024

hi, does anyone have a premium account? if yes please contact me
Instagram: @mhrdkaa._

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

15 participants