Skip to content
Access control Write-up Intermediate

I got emails — G Suite Vulnerability

G Suite allowed setting up email routing for a domain without verifying domain ownership, so an attacker could receive emails sent to any address at that domain. This could lead to interception of sensitive communications.

Rojan Rijal Follow

Published on medium.com

After recent finding about Uber and SendGrid bug, I decided to check other third party applications that were also used for similar cases. During the investigation, some third party applications were found to be vulnerable including G Suite.

Rojan Rijal, 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

Impact

An attacker could receive emails sent to any address at a domain they do not own, potentially intercepting sensitive information.

What the attacker needed

A G Suite signup; target domain uses G Suite for email

The fix

The issue was fixed by Google so that using Gmail's advanced settings without a verified domain now shows an error.

How it was found

  1. Sign up for G Suite using a domain you do not own.
  2. Go to Gmail Advanced settings and open the Default Routing tab.
  3. Set up a routing rule to forward emails to your private email address.
  4. Send a test email to an address at the domain and confirm it arrives at your private email.

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 sign up for a service like G Suite, you normally have to prove you own the domain before you can use it. Here, the attacker could skip that proof and still set up email forwarding, meaning any email sent to that domain could be redirected to the attacker's inbox.

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 Rojan Rijal

View all

20 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.