GCPGoat(ine) GCP CTF solution Module 1-Path 2(SSRF, source code review, privilege escalation)

n00πŸ”‘
5 min readDec 25, 2022

Hi readers, here we will be deploying and solving GCPGoat module 1 challenge.

We will be going through the second path in this walkthrough, as shown in the diagram below.

https://github.com/ine-labs/GCPGoat

Video Walkthrough:

https://www.youtube.com/watch?v=fyCtrM3eCd8

https://www.youtube.com/watch?v=dtLg4Z8bHNk

Prerequisites-

a. Admin access in the GCP account(You can create a new free tier account)

b. Already installed terraform

Deploying challenge-

  1. Clone the project-
git clone https://github.com/ine-labs/GCPGoat

2. Install gcloud cli if not already installed

a. Follow the detailed steps from the official documentation below-

b. Initialize or reinitialize gcloud

gcloud init
# "gcloud init --help" for more info

--

--