Re:SQL Injection Vulnerability in Ruby on Rails; affects all...
by Xylakant on Thursday January 03, 2013 @03:08AM
(#5001424)
No, the guy showed a way to to sql injections by using a forged session. The problem is that the sql injection requires a hash with symbols as key and params are stored in HashWithIndifferentAccess which should not symbolize the keys. So to exploit the SQL injection you need a vector that allows you to inject symbolized keys. It might be possible to corrupt the params hash, but I can't think of any at the moment. However, the session can contain any ruby object and thus is a possible vector.
[ Parent
| on HN ]
There are no comments on this comment yet.