Skip to content
Access control Write-up Intermediate

Fixing a Google Vulnerability

A user with limited permissions could create a Dataproc cluster and automatically receive a service account with project editor role, allowing privilege escalation. The same pattern existed in several other GCP APIs, and an attacker could use it to gain broad control over a GCP project.

Dylan Ayrey Follow

Published on security.love

This post details the journey it took to get Google issue numbers 134447889 and 155544987 closed out and resolved.

I (@InsecureNature), Allison Donovan (@matter_of_cat), on security.love

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 with limited permissions could escalate to project editor, and combined with other techniques could completely compromise most GCP organisations; the issue was eventually fixed after public disclosure pressure, but similar issues in other APIs remained unresolved.

What the attacker needed

A user with dataproc.clusters.create permission; access to GCP project

The fix

The issue was fixed after a 90-day public disclosure notice, when Google sent an email to customers using the affected APIs; the text does not detail the technical fix.

How it was found

  1. Have a user with the dataproc.clusters.create permission.
  2. Create a Dataproc cluster without specifying a service account.
  3. The cluster is assigned a default service account with project editor role.
  4. Use the cluster's identity to access resources with project editor permissions.

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.

In cloud platforms, permissions decide what you can do. A user who was only allowed to create a certain type of cluster could end up with much more power because the cluster came with a service account that had editor rights. This let them do far more than they should have been able to.

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