Skip to content
Access control Write-up Beginner

Authorization bypass in Google’s ticketing system (Google-GUTS)

The Google-GUTS ticketing system had no authorization checks, so anyone could update any ticket by emailing a sequential ticket ID. An attacker could modify other suppliers' bank details and personal data to steal bug bounty payouts.

Zohar Shacha Follow

Published on ehpus.com

Bounty$1,337 View original

One of the first things you need to do when reporting bugs to Google under their VRP program is set up your ‘Supplier’ account. It’s something you do just once, before the first bounty is paid, and it is within this process that you set up your bank account and all other personal data that will be used for all future…

Zohar Shacha, on ehpus.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.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 7 min read.

Context

Google runs a Vulnerability Reward Program (VRP). Before a researcher can be paid, they must register as a supplier: a one-off process in which the researcher provides their bank account and other personal data that will be used for all future payouts. The registration is handled through a ticketing system called Google-GUTS.

The flow is email-driven. The researcher submits a Supplier Enrollment Form, receives an automated confirmation email, forwards that confirmation to a Google VRP address, and then receives an automated email from [redacted] telling them a ticket has been created in Google-GUTS. From then on, the ticket is updated by replying to that email, by either the researcher or Google's team. Because these tickets carry banking details and other personal data, the integrity of who may update them matters.

Setup

No special tooling is needed. The only preconditions are:

  1. A Google VRP supplier account, created through the Supplier Enrollment Form at https://services.google.com/sup******t/*** (partially redacted at Google's request).
  2. Two email accounts, so that one can act as the legitimate supplier and the other as the attacker. The report uses [redacted] and [redacted] as placeholders.
  3. The addresses involved in the flow: the VRP intake address ****[redacted] and the ticketing system's address [redacted].

The researcher and a colleague, Moti Harmatz, both started receiving their first Google bug bounty rewards early in 2019 and set up supplier accounts around the same time. Talking through the financial side of the process is what led them to look closely at it.

Finding it

What looked loose was the handover between step 2 and step 3 of the enrolment process. You send an email to one account (****[redacted]), and the result is an email from a different system, Google-GUTS, represented by a different account ([redacted]), notifying you that a ticket exists. You then update that ticket simply by replying to the email.

Two questions follow from a security perspective:

  1. How is authorisation handled? Does Google-GUTS hold a whitelist of email addresses allowed to update tickets?
  2. Since every update is just an email sent to [redacted], how does Google-GUTS know which ticket the sender is trying to update?

The answer to the second question is simpler than expected: the system distinguishes tickets by an 8-number ticket ID supplied in the email subject, in the form t/XXXXXXXX. Those IDs are sequential, so they can easily be found by an attacker.

The answer to the first question is that there is no authorisation mechanism at all. Anyone can update any ticket with a simple email.

Exploitation

The researcher reported the following recreation steps word for word.

Step 1: create a ticket as the victim

With account1 (say [redacted]), send an email to ****[redacted].

Step 2: capture the ticket ID

Alice receives an email from Google-GUTS ([redacted]) saying a new ticket was created. The subject contains the ticket ID in the form t/XXXXXXXX, eight numbers.

Step 3: update the victim's ticket from a different account

With account2 (say [redacted]), send an email to [redacted] with the ticket ID at the beginning of the subject and a body of your choice. The report's example body asks for bank account details to be sent to Bob's address, along with other PII.

The only part that binds the email to a ticket is the t/XXXXXXXX prefix in the subject. Nothing in the message ties the sender to the ticket owner.

Step 4: observe the result

Alice's ticket is updated, and Alice receives an email from [redacted] saying the ticket was updated, containing Bob's request.

The report went on to explain that the IDs are simple increments and can easily be found by an attacker, and that these tickets tend to hold very sensitive data. It also gave an attack scenario in which one hunter updates another hunter's bank account in order to steal the bounties.

Root cause

Google-GUTS identifies the ticket to update solely from an 8-digit sequential ID placed in the email subject, and it performs no check that the sender of the email is the supplier who owns that ticket. There is no whitelist of authorised addresses and no other authorisation mechanism, so any sender can address [redacted] with a guessed or enumerated ID and have their message appended to someone else's ticket.

Because the IDs are sequential, the missing authorisation is compounded by trivial enumeration: an attacker does not need to know a victim's ID in advance.

Why did existing defences not stop it? The report does not describe any defence that was in place at the time of the report. Google's later statement says that updates to supplier records go through a multi-step automated and human-review process after a request from external partners, and that Google has automated and manual verification mechanisms to mitigate risk in financial requests. Those are compensating controls around the financial side, not an authorisation check on ticket updates.

Impact

An attacker who can send email can update arbitrary tickets in Google-GUTS, including other suppliers' tickets, and can therefore attempt to change other suppliers' data. The report's concrete scenario is a hunter updating another hunter's bank account details in order to steal their bounty payouts, and its proof of concept asks for bank account details to be sent to the attacker's address along with other PII. The tickets hold very sensitive data, which is what makes the missing check serious.

The report does not claim that a payout was actually diverted. Google's response stresses that supplier record changes go through automated and human review after an external request, which limits, but does not remove, the risk.

Fix

The report does not describe a specific code change. Google's published response says the company is working to further improve the restrictions on the ability for outside parties to update interactions, to further reduce risk in this space, in response to the vulnerabilities highlighted. It also states that updates to supplier records go through a multi-step automated and human-review process after a request from external partners.

The researcher's reading is that a straightforward technological fix is not easy given the legitimate product requirements, so the risk is handled through non-technological compensating controls.

Variants to test

  1. Email-to-ticket gateways elsewhere. Find any system where replying to an email updates a record (support desks, procurement, finance onboarding). Send an update from an unrelated mailbox quoting another record's ID. A positive result is the record being updated and the owner being notified of your content.
  2. Sequential or guessable record IDs in subjects. Where the ID is the only routing key, enumerate neighbouring IDs from your own record and try to update them. A positive result is any successful update to a record you do not own.
  3. Missing sender binding. Check whether the gateway validates the From address, a DKIM signature, or a per-ticket secret in the reply address. A positive result is acceptance of an update from an address never associated with the ticket.
  4. Spoofed sender. If the gateway does check the From header, try sending from an address that matches the victim's but is not authenticated. A positive result is the update being accepted despite failing sender authentication.
  5. Sensitive-field changes. Target the fields that matter financially (bank account, payout address, contact details) rather than free-text comments. A positive result is a change request reaching the review queue attributed to the wrong party.

Timeline

Date Event
03/06/2019 Issue reported to Google
03/06/2019 Google marked the issue as 'intended behaviour'
03/27/2019 Last email exchange with the Google team, when the researcher decided to let the issue go
11/01/2019 Following the ESCAL8 convention, the ticket was reopened
11/05/2019 Bug accepted by Google
11/19/2019 Reward (1337$) issued

Between the report and the acceptance, the researcher was invited to Google's ESCAL8 event in London. There, over coffee, he met the engineer he had discussed the ticketing bug with months earlier; the engineer remembered the ticket, considered it a vulnerability too, and suggested reopening it. More than eight months after the original report, the reopened ticket was accepted within a few days and a bounty was paid.

Google's team also asked for some parts of the post to be censored and supplied this comment:

Thank you once again for partnering with Google and sharing your report on potential vulnerabilities in our ticketing systems.

While Google has a robust set of automated and manual verification mechanisms in place to mitigate risk in financial requests, we are continuously evaluating our workflows to identify improvements to ensure user safety and data privacy.

With regard to vulnerabilities in our finance operations, updates to our supplier records go through a multi-step automated and human-review process post a request from external partners. In addition, we are working to further improve the restrictions on the ability for outside parties to update interactions to further reduce risk in this space in response to the vulnerabilities highlighted.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 10 min read.

What happened, in plain words

Google pays people who find security bugs in its products. That scheme is called a Vulnerability Reward Program, or VRP. Before Google can send you money, you have to register as a "supplier": you fill in a form with your bank account and other personal details, and those details are used for every future payout. You do this once.

The registration is handled by a ticketing system called Google-GUTS. A ticketing system is software that keeps a numbered record, a "ticket", for each request or conversation, so that support staff and customers can add messages to it over time. Think of it like a shared notebook page per request: everyone involved writes on the same page, and the page has a number so people can find it again.

The whole process runs on email. You submit a form, you get a confirmation email, you forward that confirmation to a Google address, and then a machine emails you to say a ticket has been created for you. From then on, you update the ticket simply by replying to that email. Google's staff do the same from their side.

Because those tickets contain bank details and personal data, it matters a great deal who is allowed to add messages to them. That is the question this story is about: the system did not check who was writing.

The setup you need to follow along

You do not need any special tools. You need:

  1. A Google VRP supplier account, created through the Supplier Enrollment Form at https://services.google.com/sup******t/***. Parts of that address are hidden with asterisks at Google's request.
  2. Two email accounts. One plays the honest supplier, the other plays the attacker. The report uses [redacted] and [redacted] as stand-ins.
  3. The two email addresses in the flow: the VRP intake address ****[redacted] and the ticketing system's address [redacted].

The researcher and a colleague, Moti Harmatz, both started receiving their first Google bug bounty rewards early in 2019, so they set up supplier accounts around the same time. Talking through the money side of the process is what made them look at it closely.

Finding the problem

What looked loose was the handover between step 2 and step 3 of the enrolment process. You send an email to one account (****[redacted]), and what comes back is an email from a different system, Google-GUTS, represented by a different account ([redacted]), telling you a ticket exists. You then update that ticket just by replying to the email.

Two security questions follow.

  1. How is authorisation handled? Authorisation means deciding whether the person making a request is allowed to make it, like a bouncer checking your name is on the guest list. Does Google-GUTS keep a whitelist, a list of approved email addresses, of people allowed to update tickets?
  2. Every update is just an email sent to [redacted]. So how does Google-GUTS know which ticket the sender is trying to update?

The answer to the second question is simpler than you might expect. The system tells tickets apart by an 8-number ticket ID given in the email subject, in the form t/XXXXXXXX. Those IDs are sequential: they go up by one each time. That makes them trivial to guess, because an attacker can simply try the numbers next to their own.

The answer to the first question is that there is no authorisation mechanism at all. Anyone can update any ticket with a simple email.

Exploiting it

The researcher reported the following recreation steps word for word.

Step 1: create a ticket as the victim

With account1 (say [redacted]), send an email to ****[redacted].

Why: this is the normal first move of an honest supplier. It creates a real ticket in Google-GUTS, owned by Alice, which is the thing the attacker will later tamper with.

Step 2: capture the ticket ID

Alice receives an email from Google-GUTS ([redacted]) saying a new ticket was created. The subject contains the ticket ID in the form t/XXXXXXXX, eight numbers.

Why: the ID is the only thing the system uses to find the right ticket. Once you know it, you know the address of the notebook page.

Step 3: update the victim's ticket from a different account

With account2 (say [redacted]), send an email to [redacted] with the ticket ID at the beginning of the subject and a body of your choice. The report's example body asks for bank account details to be sent to Bob's address, along with other PII. PII stands for personally identifiable information: data that identifies a real person, such as a name, address or bank account number.

Line by line:

  • To: [redacted] is the address of the ticketing system. Every update, from anyone, goes to this same mailbox.
  • Subject: t/XXXXXXXX is the only part that ties the email to a ticket. The eight X characters stand for the eight digits of the victim's ticket ID.
  • The blank line separates the headers (the addressing information) from the body, the actual message text.
  • The body is whatever the attacker wants to say. In the report's example it is a request to send bank account details to Bob's address, plus other personal data.

Nothing in the message ties the sender to the ticket owner. There is no password, no secret code, no check that Bob is Alice.

Step 4: observe the result

Alice's ticket is updated, and Alice receives an email from [redacted] saying the ticket was updated, containing Bob's request.

The report went on to explain that the IDs are simple increments and can easily be found by an attacker, and that these tickets tend to hold very sensitive data. It also gave an attack scenario in which one hunter updates another hunter's bank account in order to steal the bounties.

Why it worked

Google-GUTS decides which ticket to update using only an 8-digit sequential ID placed in the email subject. It never checks that the sender of the email is the supplier who owns that ticket. There is no whitelist of authorised addresses and no other authorisation mechanism, so any sender can write to [redacted] with a guessed or enumerated ID and have their message added to someone else's ticket. "Enumerated" here means walking through the numbers one by one.

Because the IDs are sequential, the missing check is made worse by how easy they are to guess: an attacker does not need to know a victim's ID in advance.

Why did existing defences not stop it? The report does not describe any defence that was in place at the time. Google's later statement says that updates to supplier records go through a multi-step automated and human-review process after a request from external partners, and that Google has automated and manual verification mechanisms to mitigate risk in financial requests. Those are compensating controls around the financial side, not an authorisation check on ticket updates. A compensating control is an extra safeguard added elsewhere because the main one is missing, like a second lock on the front door when the first one is broken.

What an attacker could do

Anyone who can send email can update arbitrary tickets in Google-GUTS, including other suppliers' tickets, and can therefore try to change other suppliers' data. The report's concrete scenario is a hunter updating another hunter's bank account details in order to steal their bounty payouts. Its proof of concept asks for bank account details to be sent to the attacker's address along with other PII. The tickets hold very sensitive data, which is what makes the missing check serious.

The report does not claim that a payout was actually diverted. Google's response stresses that supplier record changes go through automated and human review after an external request, which limits, but does not remove, the risk.

The fix

The report does not describe a specific code change. Google's published response says the company is working to further improve the restrictions on the ability for outside parties to update interactions, to further reduce risk in this space, in response to the vulnerabilities highlighted. It also states that updates to supplier records go through a multi-step automated and human-review process after a request from external partners.

The researcher's reading is that a straightforward technological fix is not easy given the legitimate product requirements, so the risk is handled through non-technological compensating controls.

Similar things to test elsewhere

  1. Email-to-ticket gateways elsewhere. Find any system where replying to an email updates a record, such as support desks, procurement or finance onboarding. Send an update from an unrelated mailbox quoting another record's ID. A positive result is the record being updated and the owner being notified of your content.
  2. Sequential or guessable record IDs in subjects. Where the ID is the only routing key, try the neighbouring IDs from your own record and attempt to update them. A positive result is any successful update to a record you do not own.
  3. Missing sender binding. Check whether the gateway validates the From address, a DKIM signature, or a per-ticket secret in the reply address. DKIM is an email signature that lets a receiving server check a message really came from the domain it claims. A positive result is acceptance of an update from an address never associated with the ticket.
  4. Spoofed sender. If the gateway does check the From header, try sending from an address that matches the victim's but is not authenticated. A positive result is the update being accepted despite failing sender authentication.
  5. Sensitive-field changes. Target the fields that matter financially, such as bank account, payout address and contact details, rather than free-text comments. A positive result is a change request reaching the review queue attributed to the wrong party.

Timeline

Date Event
03/06/2019 Issue reported to Google
03/06/2019 Google marked the issue as 'intended behaviour'
03/27/2019 Last email exchange with the Google team, when the researcher decided to let the issue go
11/01/2019 Following the ESCAL8 convention, the ticket was reopened
11/05/2019 Bug accepted by Google
11/19/2019 Reward (1337$) issued

Between the report and the acceptance, the researcher was invited to Google's ESCAL8 event in London. There, over coffee, he met the engineer he had discussed the ticketing bug with months earlier. The engineer remembered the ticket, considered it a vulnerability too, and suggested reopening it. More than eight months after the original report, the reopened ticket was accepted within a few days and a bounty was paid.

Google's team also asked for some parts of the post to be censored and supplied this comment:

Thank you once again for partnering with Google and sharing your report on potential vulnerabilities in our ticketing systems.

While Google has a robust set of automated and manual verification mechanisms in place to mitigate risk in financial requests, we are continuously evaluating our workflows to identify improvements to ensure user safety and data privacy.

With regard to vulnerabilities in our finance operations, updates to our supplier records go through a multi-step automated and human-review process post a request from external partners. In addition, we are working to further improve the restrictions on the ability for outside parties to update interactions to further reduce risk in this space in response to the vulnerabilities highlighted.

Glossary

  • Vulnerability Reward Program (VRP): a scheme where a company pays researchers for reporting security bugs.
  • Supplier account: the registration a researcher completes so Google can pay them, holding bank and personal details.
  • Ticketing system: software that keeps a numbered record for each request, which people add messages to over time.
  • Google-GUTS: the name of Google's ticketing system used for supplier registration.
  • Ticket: one numbered record in a ticketing system, here created and updated by email.
  • Ticket ID: the 8-digit number in the email subject, in the form t/XXXXXXXX, that tells the system which ticket to update.
  • Sequential ID: an identifier that goes up by one each time, making it easy to guess the next or previous ones.
  • Enumerate: to walk through a series of values, such as ticket numbers, one by one.
  • Authorisation: deciding whether the person making a request is allowed to make it.
  • Whitelist: a list of approved items, here email addresses allowed to update tickets.
  • Authentication: proving who you are, for example by logging in or by an email signature.
  • Compensating control: an extra safeguard added elsewhere because the main protection is missing.
  • PII (personally identifiable information): data that identifies a real person, such as a name, address or bank account number.
  • DKIM: an email signature that lets a receiving server check a message really came from the domain it claims.
  • From header: the part of an email that says who sent it, which can be forged if not authenticated.
  • Proof of concept (PoC): a small, repeatable demonstration that a bug is real.
  • Intended behaviour: a label meaning the company considers the observed behaviour to be how the system is meant to work, not a bug.
  • ESCAL8: a Google event in London for bug bounty researchers, where the researcher met the engineer again.

More by Zohar Shacha

View all

4 more disclosed reports, best first.

More from Google

View all

The newest disclosed reports for this program.

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.