Some vulnerabilities have been reported in Ruby on Rails, which can be exploited by malicious people to conduct SQL injection attacks.
The vulnerabilities are caused due to Active Record not properly sanitising the ":offset" and ":limit" parameters before using them in SQL queries. This can be exploited to manipulate SQL queries by injecting SQL code.
The vulnerabilities are reported in versions prior to 2.1.1.
Solution: Update to version 2.1.1.
Provided and/or discovered by: Tobias Schlottke, additional research by Jonathan Weiss and Steven Bristol.
Original Advisory: Jonathan Weiss:
Ruby on Rails Ticker #288:
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to firstname.lastname@example.org
Subject: Ruby on Rails ":offset" and ":limit" SQL Injection Vulnerabilities
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.