A deliberately vulnerable CI/CD environment by Cider Security: eleven challenges against real Jenkins, Gitea and GitLab pipelines, covering the OWASP Top 10 CI/CD risks such as poisoned pipeline execution, dependency chain abuse and pipeline-based access controls.
Not started·Docker·commit 6f247e9·x86_64 · aarch64·Secret
Objectives
10 required
One-shot by default: solve each challenge from its prompt alone.
Opening guided steps or hints is recorded. A solve without them counts as stronger evidence for your skills.
Challenge 01
White Rabbit
Use your access to the Wonderland/white-rabbit repository in Gitea to steal the flag1 secret from the Jenkins credential store.
Challenge 02
Caterpillar
With read access only to Wonderland/caterpillar, steal the flag2 secret from the Jenkins credential store.
Challenge 03
Mad Hatter
The Jenkinsfile of Wonderland/mad-hatter is protected. Use your access to the repository to steal the flag3 secret.
Challenge 04
Duchess
Find the PyPI token left somewhere in the Wonderland/duchess repository.
Challenge 05
Cheshire Cat
All jobs run on dedicated agents. Use your access to Wonderland/cheshire-cat to run code on the Jenkins controller itself and read flag5.txt from its file system.
Challenge 06
Twiddledum
Flag 6 is waiting in the twiddledum pipeline. Get it.
Challenge 07
Dodo
The Dodo pipeline scans your changes. Make its S3 bucket publicly readable without getting caught, and collect your prize in the job's console output.
Challenge 08
Hearts
Get the flag8 credential, a System credential stored on Jenkins. The Hearts pipeline is a place to start.
Challenge 09
Dormouse
Hack the Dormouse pipeline and steal flag 9.
Challenge 10
Mock Turtle
Find a way to push to the main branch of the mock-turtle repository, then steal the flag10 secret from the Jenkins credential store.
Challenge 11Optional
Gryphon
In GitLab, find where the FLAG11 variable is used and steal it. Upstream's CTFd did not list this challenge.
Your accounts
Service
Username
Password
Jenkins
alice
alice
Gitea
thealice
thealice
GitLab
alice
ali12345
Each service has its own account: Gitea's user is thealice (not alice), and GitLab's password
is ali12345 (not alice). The machines' addresses (jenkins-server, gitea, gitlab)
are on the lab page once it's running; GitLab takes 10 to 15 minutes to come up on first start.
Clone Gitea's private repositories over HTTP, e.g.
git clone http://thealice:thealice@<gitea address>/Wonderland/white-rabbit.git. When you fork a
repository, keep its name. Each challenge stands on its own; no challenge needs the Jenkins or Gitea
admin accounts or a CVE.