Skip to content

Room for Escape: Scribbling Outside the Lines of Template Security

Oleksandr MiroshAlvaro Muñoz

Alvaro Muñoz and Oleksandr Mirosh uncover server-side template injection (SSTI) RCE vulnerabilities across leading enterprise Content Management Systems.

Summary

Server-Side Template Engines in Enterprise CMS

Modern Content Management Systems (CMS) rely heavily on template engines (such as Freemarker, Velocity, and Twig) to dynamically render user-customized web content.

The Evolution of Server-Side Template Injection (SSTI)

Alvaro Muñoz and Oleksandr Mirosh explore the mechanics of SSTI, analyzing how template engines expose internal programming language reflection and class loaders.

Bypassing Template Sandboxes to Achieve RCE

Dissecting popular enterprise CMS platforms reveals novel sandbox bypass techniques, allowing attackers to invoke native operating system commands through template directives.

Hardening Template Engines and Defenses

The researchers release open-source security guidelines and secure configuration baselines for developers to sandbox template execution safely.

Related talks