CWE entry / Template Injection

CWE-1336

Improper Neutralization of Special Elements Used in a Template Engine

Within this archive, CWE-1336 is assigned when externally influenced content is processed as template source and a controlled expression is evaluated by the template engine. Mere storage, reflection, or HTML rendering is not sufficient.

Archive connections

Connected case files

01 record
CASE-007 WEBVERSE
Primary weakness

Nolic

Authenticated Smarty SSTI to OS Command Execution

A public backup exposed an administrator SHA-256 digest. After recovering the password offline, I reproduced the Smarty SSTI and operating-system command execution in Caido and from the terminal. The original draft was restored after every test.