Re:MongoDB remote command execution vulnerability: nightmare...
by cheald on Wednesday March 27, 2013 @04:35PM
(#5451865)
Per usual, even if you're using something that isn't Mongo, it's good practice to explicitly cast your untrusted params before passing them to a query.
For completeness' sake, here's a similar exploit vector in ActiveRecord: https://groups.google.com/forum/?fromgroups=#!topic/rubyonra...