LIT-CTF 2025 WriteUp
The LIT-CTF 2025 competition featured a diverse set of challenges spanning multiple categories, including web exploitation, cryptography, reverse engineering, and forensics. Each task was carefully designed to test not only technical proficiency but also creativity and problem-solving under pressure.
1) Web challenge: web/group chat 2 | 49 solves / 198 points
In this challenge we are given a “main.py” file that we can run it on our local machine. And we examine the source code:

The application is vulnerable because it uses render_template_string with untrusted user input. Chat messages are concatenated into an HTML string and then passed to Jinja2, which interprets any template syntax like {{ … }}.
