Skip to content
RCE Write-up Advanced

4 Google Cloud Shell bugs explained – bug #1

The Python language server in Google Cloud Shell could be exploited to achieve remote code execution. An attacker could run arbitrary code in the victim's Cloud Shell environment.

[email protected] Follow

Published on offensi.com

Google Cloud Shell provides users with a feature called “Open In Cloud Shell”. By using this feature, users can create a link that automatically opens Cloud Shell and clones a Git repository hosted on either Github or Bitbucket.

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

What the attacker needed

Victim uses Cloud Shell

The fix

The vulnerability was patched by Google.

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.

Google Cloud Shell is a browser-based terminal for managing cloud resources. A bug in its Python language server allowed an attacker to run their own commands on the victim's Cloud Shell instance, which is like getting control of the victim's computer in the cloud.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by [email protected]

View all

3 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.