Re:SQL Injection Vulnerability in Ruby on Rails; affects all...
by untog on Wednesday January 02, 2013 @08:04PM
(#5000449)
Er, why can't the ORM use paramaterised queries?
[ Parent
| on HN ]
Re:SQL Injection Vulnerability in Ruby on Rails; affects all...
by jeltz on Wednesday January 02, 2013 @08:44PM
(#5000615)
The problem is that ORMs like ActiveRecord really are just domain specific languages for building queries. If these DSLs use inband are carelessly constructed (e.g. they use some form of inband signaling) you can do the injection attack against the actual ORM code and make it build queries the author of the code did not intend.
Re:SQL Injection Vulnerability in Ruby on Rails; affects all...
by sontek on Wednesday January 02, 2013 @09:36PM
(#5000775)
http://sqlalchemy.org/ is an ORM and does not have these security issues. So it can be done.
Re:SQL Injection Vulnerability in Ruby on Rails; affects all...
by qxcv on Thursday January 03, 2013 @04:05AM
(#5001518)
Searching for "sqlalchemy sql injection" brings up this: https://bugzilla.redhat.com/show_bug.cgi?id=783305