▹ Watch me Live on Twitch every Monday and Thursday! - https://twitch.tv/garr_7
Portswigger Web Security Academy Server-Side Template Injection (SSTI) Lab: Basic server-side template injection (code context) - https://portswigger.net/web-security/server-side-template-injection/exploiting/lab-server-side-template-injection-basic-code-context
Additional References for Further Exploration:
My SSTI Explanation Vid - https://youtu.be/QLqHMMcBXuQ
HackTricks SSTI Cheat Sheet - https://book.hacktricks.xyz/pentesting-web/ssti-server-side-template-injection
Awesome In-Depth SSTI Breakdown by PwnFunction - https://youtu.be/SN6EVIG4c-0
------------------------------------------------------------------------------
In this series, we take a look at Web Security Academy's Server-Side Template Injection (SSTI) labs and break them down. The goal is to break down the concepts to not only get to the solution, but talk about methodology and the mental steps we take in order to discover these vulnerabilities in the wild.
Timestamps:
0:00 Intro
0:12 Lab Start: Mapping the Application
0:58 Using Hacktricks to Fuzz Comments (Failed)
1:48 Two Ways to Enumerate Templating Engine
2:32 Searching Hacktricks for Tornado Payloads
3:44 Fixing the Error In Our Payload
4:34 Final Payload
4:48 Recap & Takeaway
5:11 Outro
------------------------------------------------------------------------------
Music:
“Lovely City”
Produced by Calum Bowen
https://youtu.be/ZGdyS2FDm2U
“Snickers”
Produced by Epidemic Sound / Damma Beatz
https://youtu.be/CHZzUYcASDQ
“Ikebaby”
Produced by Robotprins
https://youtu.be/APAekwchpkE