Blogs / Articles / Writeups / Presentations:
https://hackerone.com/reports/134321arrow-up-right
Airbnb - Ruby on Rails String Interpolation led to Remote Code Executionbuer.hausarrow-up-right
https://rhys.io/post/rce-in-ruby-using-mustache-templatesarrow-up-right
https://robertheaton.com/2013/07/22/how-to-hack-a-rails-app-using-its-secret-token/arrow-up-right
https://chybeta.github.io/2019/03/16/Analysis-for%E3%80%90CVE-2019-5418%E3%80%91File-Content-Disclosure-on-Rails/arrow-up-right
https://t.co/XmASzMEMAb?amp=1arrow-up-right
https://edoverflow.com/2017/ruby-resolv-bug/arrow-up-right
https://www.slideshare.net/Railwaymen_org/ror-workshop-web-applications-hacking-ruby-on-rails-examplearrow-up-right
https://twitter.com/_devalias/status/1194461246394753025arrow-up-right
https://blog.heroku.com/rails-asset-pipeline-vulnerability#:~:text=Released%20in%20CVE%2D2018%2D3760,set%20to%20compile%20at%20runtime.&text=If%20Sprockets%20can't%20find,asset%20that%20matches%20the%20request.arrow-up-right
Cheatsheet:
https://github.com/brunofacca/zen-rails-security-checklistarrow-up-right
https://github.com/edwardqiu/awesome-rails-securityarrow-up-right
Labs:
https://twitter.com/PentesterLab/status/1174476446376398848arrow-up-righth arrow-up-right
https://towardsdatascience.com/building-a-vulnerable-rails-application-for-learning-2a1de8cf98d5arrow-up-right
Twitter Threads:
https://twitter.com/orange_8361/status/817658441598574592arrow-up-right
https://twitter.com/chybeta/status/1106752671057395712arrow-up-right
https://twitter.com/_devalias/status/1173806552723050497arrow-up-right
https://twitter.com/_ayoubfathi_/status/1108341801193213952arrow-up-right
https://twitter.com/intigriti/status/1177178910397796353arrow-up-right
https://twitter.com/ph0rensic/status/1151640168417374208arrow-up-right
https://twitter.com/Wh11teW0lf/status/1062043483786149888arrow-up-right
https://twitter.com/search?q=CVE-2019-5418&src=typed_queryarrow-up-right
https://twitter.com/s0md3v/status/1177183347887312897arrow-up-right
https://twitter.com/Wesecureapp_RD/status/1171726890857459712arrow-up-right
When auditing Ruby on Rails apps, always search for .js.erb views files. There is a stupid pattern called "Server-generated JavaScript Responses" which is a way to bypass SOP and inject content via JavaScript files (just like JSONP) which leads to XSSI.arrow-up-right
CSRF using PUT , DELETE is possible in ruby on rails frameworks if you see a hidden field called _method in the request (if it dont exist try to add it) set its value to PUT or DELETE and then submit a GET or POST request it will override the HTTP Verb and success the attack .arrow-up-right
API TIP: 4/31- Testing a Ruby on Rails App & noticed an HTTP parameter containing a URL? Developers sometimes use "Kernel#open" function to access URLs == Game Over. Just send a pipe as the first character and then a shell command (Command Injection by design)arrow-up-right
https://twitter.com/m4ll0k2/status/1112119619396030466arrow-up-right
https://github.com/mpgn/CVE-2019-5418arrow-up-right
Last updated 4 years ago