Skip to content
Access control Write-up Intermediate

Unauthenticated Access to GCP Dataproc Can Lead to Data Leak

The Apache Hadoop web interfaces on a Google Cloud Dataproc cluster (YARN ResourceManager and HDFS NameNode) lack authentication, so anyone who can reach them can access the Hadoop Distributed File System. An attacker with a foothold on another Compute Engine instance in the same VPC can tunnel to these interfaces and read, modify or delete data.

Roi Nisimi Follow

Published on orca.security

The Orca Research Pod has made an important discovery that puts Google Cloud Dataproc clusters at risk for data theft, manipulation or loss. This is due to a lack of security controls of the underlying Open Source Software (OSS) managed solution which allows an attacker with knowledge of the Dataproc IP address to…

Roi Nisimi, on orca.security

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

Root cause

Likely the open-source Hadoop web interfaces were designed without authentication, and Google's managed Dataproc service did not add any access control, leaving them exposed to anyone who can reach the network.

Impact

An attacker could read, modify or delete sensitive data on the Hadoop Distributed File System, and the issue remains unfixed, so organisations must mitigate it themselves.

What the attacker needed

A compromised Compute Engine instance; Dataproc cluster on the same VPC; network reachability to ports 8088 and 9870

The fix

The design flaw has not been fixed; organisations should create a dedicated VPC network with restrictive firewall rules, avoid deploying other services on the same network, and migrate clusters off the default VPC.

How it was found

  1. Compromise an internet-facing Compute Engine instance in the organisation's cloud environment.
  2. From that instance, scan for the Dataproc ports 8088 and 9870 on the internal network.
  3. Tunnel through the compromised machine to reach the YARN and HDFS web interfaces.
  4. Use the YARN endpoint to create applications, submit jobs and perform Cloud Storage operations.
  5. Use the HDFS endpoint to browse the storage file system and access sensitive data.

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 Dataproc is a service that runs Hadoop and Spark clusters for big data. The web pages that manage these clusters have no login, so if someone can reach them over the network they can see and change all the stored data. The report shows how an attacker who already controls one cloud server can use it to reach these unprotected pages.

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 Roi Nisimi

View all

3 more disclosed reports, best first.

More from Google (GCP)

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.