What problem does it solve?
Server-side template injection (SSTI) is a high-severity vulnerability that can lead to unauthenticated remote code execution, but manual detection across multiple template engines is time-consuming and error-prone. This Skill automates the full SSTI hunting workflow from detection to RCE escalation for all major template engines.
Core Features & Use Cases
- Multi-Engine Fingerprinting: Automatically identifies Jinja2, Twig, Freemarker, ERB, Velocity, Thymeleaf, and Smarty via differential math expression probes.
- End-to-End Escalation: Provides engine-specific RCE payloads, blind out-of-band detection methods, and bypass techniques for WAFs, sandboxes, and character filters.
- Attack Surface Mapping: Includes common sink patterns for email templates, CMS preview features, PDF generators, and error pages to speed up initial reconnaissance.
- Use Case: Use this Skill during a red team engagement to test an e-commerce platform's order confirmation email template or a CMS page builder for SSTI flaws that can be chained to full server compromise.
Quick Start
Use the hunt-ssti skill to test all user-controlled input fields on the target web application for server-side template injection vulnerabilities and escalate any confirmed findings to remote code execution.