Rails Security
Posted by Bart ten Brinke Thu, 20 Sep 2007 17:30:54 GMT
After a security presentation at RailsConfEurope 2007, I found a lot was missing, so I made this. I didn’t finish it in time for reject conf, so I posted it here. Now it's time for me to go on vacation! See you next week!

the presentation @ railsconf missed a lot of topics indeed! Expected more out of it.... maybe next year :)
In addition to what Bart said/presented, make sure you don't trust strip_links() and strip_tags(). http://dev.rubyonrails.org/ticket/8877
Typo on slide 3: Person.find(:first, :conditions => "name = ?", [name]) should be Person.find(:first, :conditions => ["name = ?", name])
Thanks. You can go on reading at http://www.rorsecurity.info
Thanks Joseph, I fixed it.
I created a Rails security cheatsheet as a follow-up. http://www.rorsecurity.info/2007/09/24/ruby-on-rails-security-cheatsheet/
Tnx Heiko, it looks great :)
The to_json XSS exploit is finally fixed in rails 1.2.4 :)!