Re:Rails 3.2.18, 4.0.5 and 4.1.1 have been released
by bdcravens on Tuesday May 06, 2014 @02:11PM
(#7706136)
This release only has one fix, but it's common to have multiple fixes. It would impractical to identify all fixes in a release title, and HN guidelines on titles are to "use the original title, unless it is misleading or linkbait"
Re:Rails 3.2.18, 4.0.5 and 4.1.1 have been released
by kevinmchugh on Tuesday May 06, 2014 @02:25PM
(#7706229)
There's also an 'Unsafe Query Risk', which is not a CVE and does not have a patch.[0]
I believe this script[1] should expose some of those dangerous columns. There's still the join alias risk, but I'm not sure, other than parsing a schema.rb, how to get at those effectively.
Re:Rails 3.2.18, 4.0.5 and 4.1.1 have been released
by Tho85 on Tuesday May 06, 2014 @03:11PM
(#7706481)
For all those who can't upgrade to the latest versions of Rails: Zweitag (my employer) maintains a Rails fork with security fixes applied to all Rails releases since 3.1.0.
A bad actor could easily modify these in a proxy etc when serving the page.
Edit: Unless the purpose isn't to prevent tampering, but for error-correction.
I believe this script[1] should expose some of those dangerous columns. There's still the join alias risk, but I'm not sure, other than parsing a schema.rb, how to get at those effectively.
[0] https://groups.google.com/forum/#!topic/rubyonrails-security...
[1] https://gist.github.com/KevinMcHugh/fab941ec3677f9a19ee0
https://github.com/zweitag/rails/branches
[1]https://groups.google.com/forum/#!topic/rubyonrails-security...