4.1. Scenario 1
First setup the Scenario (it will take a while):
bash <(curl -sL https://kubernetes-security.songlaa.com/ctf/1/1setup.sh)
You were given rights to execute containers on a CI/CD Pipeline. Of course you tried to create a reverse-shell and succeeded. Now on to more!
Task 4.1.1: Disclose information from other Pods
Find ways to break out of your pod. Can you find a file with a flag containing the text “songlaa” on another pod?
Task 4.1.2: Cleanup
Exit the container if you are still inside:
exit
Then remove the resources:
bash <(curl -sL https://kubernetes-security.songlaa.com/ctf/1/1cleanup.sh)