Premium Challenge labbeginnerred teamAWS
Privilege Escalation via IAM Versions
Find a way to exploit IAM policy versions in order to be able to access an S3 bucket containing sensitive data. You’ve successfully captured the flag when you’ve exfiltrated the sensitive data by downloading it and submitting the IP address of the first row entry.
- No step-by-step guide
- Capture the flag
- Terminal in the browser

Scenario
This lab has been misconfigured, so exploit it with iam:SetDefaultPolicyVersion to grant yourself S3 permissions.
This is a challenge lab: we do not give you the answers or step-by-step guidance, just some tips and tricks. Good luck, have fun, and capture the flag!
How this challenge works
- No step-by-step guide. You get the goal and the access. The path is yours to find.
- 2 check questions. Confirm you are on the right track as you go.
- 1 flag to capture. Submit it in the lab to finish.
What you will practice
- Configure the AWS CLI with the credentials the lab gives you.
- Inspect your IAM user's permissions to find the risky action.
- Roll the policy default onto a hidden version that grants S3 read access.
- Read and download the sensitive data from the private S3 bucket.
- Submit the flag you find in the downloaded data.