Becoming A Super Admin In Someone Elses Gsuite Organization And Taking It Over

 Hello All!

Long time since I have posted here :)

As most of you know I am planning on writing up a lot of my research I have done through Microsoft Bug Bounty program over the years. Still trying to figure out exactly the best approach and reports to writeup. However in the mean time I will be providing some of my research from Google over the years.

Microsoft and Google were the 2 main programs I hunted on over the years and Googles program resulted in some fruitful research as well :)

So as a result today I present how it was possible to add yourself as a Gsuite Super Admin to someone else's Gsuite account.

Note: This issue was fixed back in 2018.


So for those that do not know Gusite is a suite of products offered by Google for organizations and education institutions for example. It is similar to Microsofts offering of O365. Now in Gsuite the main admins of the organization are super admins. They are exactly what they sound like. Have Super Admin privileges over everything. They can create group, manage users, change users passwords, manage everything. Now it is important to really not have that many super admins in a org as the more super admins you have the higher chances you have of a super admin account being compromised.

What if though you could create a super admin account in anyone's Gsuite organization?

What if you could just add yourself to any Gsuite organization and make yourself a super admin?

And this is where the journey begins.

You see Google has a feature called It is simply a registrar hosted and run by Google. Now on it they have a feature that lets you create a Gsuite subscription and you can manage it within So after you create your gsuite subscription through it is now managed through that. So you can manage users, add super admins, manage payment methods, etc.

I believe you should probably know where this issue is heading now ;)

So when adding a user to your gsuite organization through a process is started and multiple requests are ran. The way it works is add a user as admin through, a request is sent to add user, the payment portal opens up for you to pay for this new user you are adding. If you examined the requests and put the correct IDs this would let you add any admin to any gsuite organization.

 Here is a example image of how managing a gsuite org from looks like.

So once on your domain on when adding a admin to your gsuite account there are 3 requests that ran.

First request was:

POST /batchrpc HTTP/1.1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0
Accept: */*


Second request was:

POST /batchrpc HTTP/1.1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0
Accept: */*


Third request was:

POST /batchrpc HTTP/1.1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0
Accept: */*


So as you can see these 3 requests were adding a user with the name 1337baby to the to that gsuite organization.

So in the POC we are adding a user to the amazingpotato gsuite org that I do not have access too.

Now there are 2 things needed to do this.

First you need the domain of the gsuite org which is

And then the ID of the gsuite organization you are targeting which in this case was


So in order to do this simply take the following requests linked above and first replace the domain with as your domain.

Now the user id part can be tricky. Basically in the request one area either has the user id of the domain/gsuite owner and then the user id of the user actually making the purchase.


So in this part for example this ID 5895212 which can be replaced too the other gsuite org ID you are targeting so the request would look like this


Now remember that would just be the first request.

You would need to replace ALL 3 for this to work.

So those other 2 requests mentioned above, (second and third request), you would also need to replace and put the right information for those also.

After you put the right Ids a popup would come up saying buy this user for

After purchasing the super admin gets added to their org and the password for the account is sent to your email.

Here is a video showing this.


Popular posts from this blog

Gsuite Hangouts Chat 5k IDOR