On Wed, 2013-01-09 at 08:58 -0800, Iain Duncan wrote:
> Just curious as to whether anyone has seen changes in interest in
> Pyramid/SQLAlchemy in the wake of the Ruby on Rails SQL injection
> vulnerability, or if anyone has any thoughts on it. Or worse, if it's
> going to tar other ORM using stacks with the same brush.
The most recent vulnerability
(
https://groups.google.com/forum/?fromgroups=#!
topic/rubyonrails-security/61bkgvnSGTQ ) might allow for SQL injection
as a side effect, but it's actually much worse than just that. It
allows for arbitrary Ruby code execution on the host. Constructing a
request that did the Ruby equivalent of "os.system('rm -rf ' +
os.path.expanduser('~'))" is possible for any unpatched host, regardless
of authentication status of the request or how carefully you had written
your own application.
So I don't think you can in any way associate this with "ORM". Maybe
past critical rails bugs were related to the ORM, this one is unrelated.
> This is pure conjecture, and should be taken with a giant grain of
> salt, but I wonder whether the monolithic, almost closed-garden nature
> of the RoR ecosystem contributed to the situation compared to the
> situation in Python. Of course that could just be a big confirmation
> bias on my part. Would welcome thoughts from those more experienced
> than me.
Only the people who added the bugs can really know.
- C