A vulnerability has been reported in Ruby on Rails, which can be exploited by malicious people to conduct cross-site scripting attacks.
Certain input passed to the translate helper method is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
Successful exploitation requires that rails_xss plugin is used.
The vulnerability is reported in versions prior to 3.0.11 and 3.1.2
Solution: Update to version 3.0.11 or 3.1.2.
Provided and/or discovered by: The vendor credits Sergey Nartimov.
Original Advisory: http://weblog.rubyonrails.org/2011/11/18/rails-3-1-2-has-been-released
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 Translate Helper Method Cross-Site Scripting Vulnerability
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.