1. Web Security Academy
  2. Server-side template injection
  3. Exploiting
  4. Lab

Lab: Server-side template injection in a sandboxed environment

EXPERT

This lab uses the Freemarker template engine. It is vulnerable to server-side template injection due to its poorly implemented sandbox. To solve the lab, break out of the sandbox to read the file my_password.txt from Carlos's home directory. Then submit the contents of the file.

You can access your own account with the following credentials:

  • username = content-manager
  • password = C0nt3ntM4n4g3r
Try Burp Suite for Free

Find server-side template injection vulnerabilities using Burp Suite

Try for free