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

Lab: Basic server-side template injection (code context)

PRACTITIONER

This lab is vulnerable to server-side template injection due to the way it unsafely uses a Tornado template. To solve the lab, review the Tornado documentation to discover how to execute arbitrary code, then delete the morale.txt file from Carlos's home directory.

You can access your own account with following credentials:

  • username = wiener
  • password = peter

Tip: Take a closer look at the "preferred name" functionality.