dxa4481 / gcploit

These are tools we released with our 2020 defcon/blackhat talk https://www.youtube.com/watch?v=Ml09R38jpok
https://www.youtube.com/watch?v=Ml09R38jpok
GNU General Public License v3.0
161 stars 26 forks source link

Dataflow exploit #12

Open 4ndygu opened 3 years ago

4ndygu commented 3 years ago

More just leaving this here for historical purposes, as it has a dependency on the Compute PR.

This PR takes advantage of the worker_harness_container_image parameter for Dataflow, assuming that a user has the user_runner_v2 parameter open. Because the container image is uncontrolled, a user can push to an arbitrary Docker container which reaches out to the Metadata service and pushes the relevant credentials to an attacker's GCS bucket of choice.